IRC Networks
Irc Logs Stats
Start date: 2007-09-27 02:48:27
Last update: 2008-10-24 20:19:38
Channels: 41
Logged Lines: 6230436
Size: 1822.57 MB
Powered by
Channel Info
Network: freenodeChannel: #php |
Search in www.irclog.org
Log from #php at freenode 2006-05-11
Pages: < Prev
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
Next >
[13:43]<gzznvxzdzds>yes
[13:43]<rymrg>mrtechguy: I'm not helping you be a lazy arsehole
[13:43]<dzvnaxrud>whos thje lasy one the one asking for help or the one not giving it
[13:44]<djjsnd>ok now since my whole night is gone, you can write me a quick curl function to test a remote url is a valid image/jpeg
[13:44]<rymrg>haha, are you 12 years old?
[13:44]<djjsnd>ill give ya 5 minutes
[13:44]<aunzvd>http://photos1.blogger.com/blogger/994/593/400/newyork.jpg
[13:44]<zjw>idan: '/\<input(?:.*)value=(?:"(.+)"|\'(.+)\'|(.+))\s*.*>/iU'
[13:44]<djjsnd>while i munch my doritos
[13:44]<dzvnaxrud>nope
[13:44]<ymrg>nope, dosent works with this <input value=Submit dkhfsdkhfksd type="submit">
[13:44]<dzvnaxrud>can you buy the manual in a book
[13:45]<rymrg>idan: quote the strings
[13:45]<rymrg>idan: in HTML all attributes should be quoted
[13:45]<ymrg>sould be...:P
[13:45]<rymrg>no, you can't buy the manual in a book
[13:46]<zjw>idan: '/\<input(?:.*)value=(?:"(.+)"|\'(.+)\'|(.+))(?=\s*|>)>/iU' <-- I am sure that works now :)
[13:46]<zjw>I checked it for all possibles and seems to work nicely
[13:46]<zwjzdus>aidan: sure you can... I have mine right here :)
[13:46]<ymrg>nope :)
[13:46]<zwjzdus>even signed by rasmus :)
[13:47]<rymrg>awormus: a book with the manual included? or the actual manual
[13:47]<ymrg><input value="Submit dkhfsdkhfksd" type="submit"> this get stucked and the other one too
[13:47]<rymrg>idan: Oh I see what you're saying now
[13:47]<zwjzdus>PHP pocket reference
[13:47]<ymrg>i need it to use value=foo and value='foo' and value ="foo"
[13:48]<rymrg>awormus: okay I guess, I was more in the "php.net supplying a book" frame of mind
[13:48]<rymrg>idan: you really should be using the HTML tokenizer in libtidy
[13:49]<ymrg>row: any luck?
[13:50]<zjw>idan: just working on it
[13:50]<ymrg>tyvm (=
[13:50]<dnznvx>moosey: thanks for your time, btw
[13:52]<zjw>idan: '/\<input.*value=(?:"(.+)"|\'(.+)\'|(.+))(?=\s+.*|>)>/iU' see if you can break that ;)
[13:52]<ymrg>did:P <input value="Submit dkhfsdkhfksd" type="submit">
[13:53]<zjw>er you did?
[13:53]<ymrg>and <input value=Submit dkhfsdkhfksd type="submit">
[13:53]<ndf>TML, there?
[13:53]<zjw>god damit
[13:53]<ymrg>when value isnt at the end its really really hard..
[13:53]<zjw>idan: '/\<input.*value=(?:"(.+)"|\'(.+)\'|(.+))(?=\s+.*|>).*>/iU'
[13:53]<pnvpzjrr>*yawns*
[13:53]<zjw>that MUST WORK
[13:53]<ymrg>i am trying to figure it out my self for a while now
[13:54]<ymrg>same
[13:54]<ymrg><input value=Submit dkhfsdkhfksd type="submit">
[13:54]<ymrg>and (match 1) <input value="Submit dkhfsdkhfksd" type="submit">
[13:54]<zjw>no
[13:54]<zjw>I tested it with that
[13:54]<zjw>it works
[13:54]<ymrg>both of them?
[13:54]<zjw>oh
[13:54]<zjw>ffs
[13:54]<zjw>just wait
[13:54]<ymrg>lol k
[13:54]<zjw>you must wrap it in "" if it has spaces
[13:54]<dzvnaxrud>putting the string in quotes doesn't work
[13:54]<zjw>otherwise its not valid html
[13:55]<ymrg>but not everyone right vaild html..
[13:55]<ymrg>so value can be end at a space or at >
[13:55]<ymrg>if there are no quotes around
[13:55]<zjw>I suppose I can do it give me one sec, you are asking alot ;)
[13:55]<ymrg>if they are, so it will end in this
[13:55]<ymrg>lol i know.. ty ty ty ty ty!!
[13:57]<dzvnaxrud>heres the script with the strings in quotes
[13:57]<dzvnaxrud>http://pastebin.ca/55083
[13:57]<zjw>'/\<input.*value=(?:"(.+)"|\'(.+)\'|(.+))(?=\s+[a-z]+=|>).*>/iU' <-- try that.
[13:57]<yffusyjgynn>what is the command to run for a CRON
[13:58]<ymrg>nope..im sorry)=
[13:58]<ymrg><input value=Submit dkhfsdkhfksd type="submit">
[13:58]<zjw>WHAT
[13:58]<zjw>I am using that
[13:58]<zjw>it worked
[13:58]<zjw>:/
[13:58]<zjw>you sure
[13:58]<zjw>refresh
[13:58]<ymrg>sec i will
[13:58]<[yvzn2rf]>!tell row about enter
[13:58]<ymrg>again.. with print_r
[13:58]<zjw>yeah er my bad getting a bit er...
[13:58]<yffusyjgynn>how do I run a CRON just executing a script every 3 hours or so
[13:58]<zjw>idan: working now I take it?
[13:59]<[yvzn2rf]>illusionize: go ask around in ##linux on how to setup a CRON script
[13:59]<[yvzn2rf]>s/script/job/
[13:59]<yffusyjgynn>but this is PHP
[13:59]<yffusyjgynn>Direct Admin
[13:59]<[yvzn2rf]>illusionize: yes, but on *how* to setup a cron isn't our issue
[13:59]<[yvzn2rf]>specificly with a 3rd party script
[14:00]<yffusyjgynn>bah
[14:00]<dzvnaxrud>any ideas on what PHP is moaning about nwo
[14:00]<yffusyjgynn>useless
[14:00]<zjw>you can't setup a cron for example on windows... so its not just php now is it.
[14:00]<dzvnaxrud>now*
[14:00]<ymrg>row: thank you thank you thank you thank you!!!
[14:00]<ymrg>:)
[14:00]<zjw>:D
[14:00]<ymrg>you are greate, thanks! :)
[14:01]<[yvzn2rf]>PennStater: my mother is going to Penn State now
[14:02]<djjsnd>ugh
[14:02]<pgggsvzvgz>:)
[14:02]<dzvnaxrud>it doesn't define the vaiable if you put in + or / (%2B or &2F)







