| |
| |
| |
|
Page: 1 2 3 4 5 6 7 8 9 10 11 12 13 14
Comments:
<0> I cant still mak it work <0> make <1> what email are you trying to use? <0> test@test.com <0> just any email address <0> Your email address is not formatted correctly. <0> thats the error i get <2> what's your regex look like? <3> abcdefghijklmnopqrstuvwxyz <2> *blink* <4> absentia: somebody needs better drugs <0> if(eregi("^[a-z0-9\._-]+@+[a-z0-9\._-]+\.+[a-z]{2,3}$", $EMail_Address)) return TRUE; <5> I'm trying to create a script for a podcast, and basically, I'm trying to have php generate a RSS file. Is the proper way to do this a glorified str_replace or am I missing something more fundamental. <2> close_to_debian: What's with the + signs? <0> Stormchaser: will test for email fail if its there
<1> close_to_debian you're allowing email addresses like test@@@@@@@@domain......tld to go through <2> php -r 'var_dump(eregi("^[a-z0-9\._-]+@+[a-z0-9\._-]+\.+[a-z]{2,3}$", "test@test.mn"));' <-- works fine here. <5> Does php have any tools to help form a proper rss feed? <2> You should ditch the + after the @ <4> A blonde goes into a worldwide message center to send a message to her mother in Poland. When the man tells her that it will cost her $300, she exclaims,"I don't have any money. I'll do anything to get a message to my mother!" To that the man asks, "Anything?" And the blonde says, "Yes, anything!" With that the man says, "Follow me." He walks into the next room and tells her, "Come in and close the door." She does this and then he says, "Get on your knee <2> hum... And after the last \. as well... <6> Jymmm: Was there supposed to be something after "'Get on your knee" ? <7> ho do i write to the HTTP output GET stream <4> "Get on your knees." She does. He then says, "Take down my zipper." She does. Then he says, "Go ahead, take it out." With that, she takes it out and holds it with both hands. And then the man says somewhat impatiently, "Well, go ahead!" She then brings her mouth closer to it, and while holding it very closely to her lips, she says...... "Hello, Mom?" <5> What is the best way to take data from a db to an rss file in php? Is it just making a skeleton rss file and then looping through it and merging it into a bigger pre-defined "main" file <2> Alexi5: print_r($_GET)? <5> or is there some kind of library or object to help with it? <7> ok <6> Jymmm: Emphasis on "blonde" I suppose. <8> hmm <8> is there a $_REMOTE['CLIENT'] type varible? <8> that is what browser the user is using? <2> get_browser() you mean? <8> that <8> thank you <8> hmm <8> http://69.250.79.13/info <8> where is the php.ini by default on a linux system? <2> /usr/local/php/etc/php.ini <8> k <9> Tortel: locate php.ini <10> http://pastebin.com/584469 <--- how can i get each 3 items in a new row? <8> gah <9> DJTrey: http://pastebin.com/584472 <- like this <8> which php.ini should I edit, there are 4 <8> /etc/php5/apache2/php.ini <8> /etc/php5/apache/php.ini <8> /etc/php5/cgi/php.ini <8> /etc/php5/cli/php.ini <2> urf <8> (sorry for multi line paste) <8> :( <8> ok, ill stfu <9> Tortel: which v. of is the code running on? <8> apache 1.3 <9> well, then you go edit the /etc/php5/apache/php.ini file <8> k <10> DjViper....well that's not exactly what i was looking for....say for instance the $row[id]...i have like 30 ids...i want them to be all in a different row <10> how can i put each id into it's own row <9> DJTrey: with a loop <11> sup DjViper <9> d3vlabs :) <9> not much <11> so <11> i see u found another place for yourself <11> away from the noobieness <9> what? <10> http://pastebin.com/584469 can you add a loop in there for me please <10> DjViper <2> !+u <12> Surely you mean 'you', not 'u'? The letter 'u' is not a personal pronoun. Talking like this in ##php may get you silenced. For details, /msg php-bot aolbonics <9> DJTrey: no sorry <9> DJTrey: http://www.php.net/docs.php <9> DJTrey: http://www.w3schools.com/php/php_looping.asp <0> PHP Fatal error: Cannot redeclare cl*** date in /home/xxxxx/xxx/xxxx/lib/pear/Date.php on line 0 <0> i get this error with wiki
<0> it does not say anything exoect this <0> any ideas <0> ? <2> which PHP? <0> ? <0> PHP 4.4.2 (cli) <2> odd... I thought that was PHP5 problem <13> is there a way to get a list of all instantiated objects of a type? <0> what is the solution? <2> I'm not sure... probably says something in pear::date docs... <0> how to access the docs <13> I think I've seen something of this nature somewhere in the php.net documentation, but I'm not sure where, and I don't know where to look. <13> does anyone UNDERSTAND my question? <2> mrgenixus: no, there is no way... <13> ok, thanks <0> how to access the docs <2> via browser? <14> hey guys, is there a way to uninclude files? <13> deufo, explain what you mean <14> mrgenixus, i got 2 include files and they got 2 different functions that are both called validate <14> mrgenixus, but now i want to call both validates on a single page but php won't let me do that cuz it already declared validate already <13> you need to either name your valitade functions differently or conditionally include the files/functions <14> mrgenixus, is there a way to undeclare functions? <13> maybe, have you tried unset(validate) <14> mrgenixus, o rite, nope, i'm still a php noob :P <14> mrgenixus, thx newayz <13> i'd look in the doc at php.net to see if there's a related function if it doesn't work <13> sure <15> how about that zend framework <16> how can i use a variable (which is defined in a function before) in an other function as same value ? <15> nikhita: cl*** variables? <16> no. <15> no? <17> the Zend Framework is DOA <17> prepare to be disapointed... I've been watching discussion closely, it's an attempt to bring a broken version of rails into play <16> for eg: function func() { $var = "0";} function func2() { echo $var;} i want output should be "0" <17> nikhita, that is DUMB <17> you should do this <17> function func() { return "0"; } func2($var) { echo $var; } <17> func2(func()); <17> there ya go **** head :P <17> if you ask for globals, I'll shoot you <16> :) <13> FYI I found the answer to my question at http://us2.php.net/manual/en/language.oop.php#57666 <17> mrgenixus, yeah, singletons are messy, but doable in php4 <17> I used them in several applications <18> Anyone know of a free UML modeller? <19> yoyo <2> aidan: umbrello <19> I'm stupid right now. i'm declaring a variable down half-way down a page, and i would like to be able to check the variable's value at the top of the page. how can this be done easily? i would expect it to work just by declaring the variable where it's declared, and using it at the top of the page, but it doesn't work. <19> will i have to create a method? <19> function rather <20> Is there a variable for the domain a user went to? like the destination URL? <21> mikedub, declare the variable at the top of your page? <0> PHP Fatal error: Cannot redeclare cl*** date in /home/xxxxx/xxx/xxxx/lib/pear/Date.php on line 0 <0> i getb this error with wiki <0> should i reinstall it? <19> that'll make things more difficult <0> any idea <21> close_to_debian, upgrade your php version <0> its 4.4.2 <21> close_to_debian, your php version accidentally has a cl*** called Date, conflicts with pears <21> hmm <0> oh.. then should i downgrade it <0> to 4.4.1 <21> no, nevermind, must be something else <21> dont do that <0> mfonda: any other solution <0> mfonda: i googled but no way :( <21> close_to_debian, I don't know what the problem is, its probably two cl***es called date in two seperate projects, try dabling into the source and see if you can figure it out <0> mfonda: i saw that many of them got similar errors <22> I'm getting an error, I diffed an old copy, that is working on another server, and the code is the same. It's a "failed to open stream: Permission denied" like error. http://pastebin.com/584558 <0> mfonda: but no solution <18> Stormch[a]ser: what type of modelling do you use for mapping the links between tables in database?
Return to
#php or Go to some related
logs:
#ubuntu reconfigure Xwindows debian ubuntu #linux #perl javascript mousevent #css alpha centauri elf_get_dynamic_info #python #suse LD_PRELOAD ubuntu
|
|