Home Page   #c  #ruby-lang  #cisco  #mysql  #apache  #javascript  #java  #perl  #php  #openmoko   Wallpapers Girl
Reliable $1 Web Hosting by 3iX

Channels


#php

28 December 2007


Total 23 pages. You are browsing page 1/23.

First :: Prev :: [1] [2] [3] [4] [5] [...] :: Next :: Last

--- Log opened Fri Dec 28 00:00:19 2007
--- Day changed Fri Dec 28 2007
00:00 <****> Deveras no no if ( preg_match("/^[a-zA-Z0-9_]+@[a-zA-Z0-9\-]+\.[a-zA-Z0-9\-\.]+$/", $arf_email) )
00:00 <****> there is a break in the ]
00:00 <****> the last one doesn't have a match
00:00 <****> is that full line ok?
00:00 <****> good night
00:00 <****> I think now it is
00:01 <****> then how do i evaluate that in the uper fucntion
00:01 <****> ekneuss what other choices do you have? I normally just see /pattern/ as the delimiter
00:01 <****> http://rafb.net/p/IPOz0Z50.html is a form I'm working on. To make something a required field, is what I've pasted what needs to change, or something else?
00:04 <****> is there a way to do a drop-down hover menu with PHP?
00:04 <****> or is that not recommended (JScript instead)
00:05 <****> Tatsh php is just server side
00:05 <****> Tatsh: PHP isn't client-side language
00:05 <****> and I don't think that you can actually make the combo box drop with php
00:05 <****> Tatsh use CSS
00:05 <****> you can select a value
00:05 <****> Acs: You. Are. Wrong.
00:05 <****> Wolfpaws php isn't just server side?
00:06 <****> deveras: i have examples using CSS but they involve javascript
00:06 <****> tatsh bad examples then loock for more
00:06 <****> [23:05] (Acs) and I don't think that you can actually make the combo box drop with php <-- should be javascript
00:06 <****> not php
00:06 <****> Wolfpaws was that what you were refering?
00:07 <****> Acs: In most cases it is, but there's a client-side inplementation as a plugin for firefox. And no, it shouldn't be used for that in the first place.
00:07 <****> i'm not sure i was clear yet
00:07 <****> dudes how do i evaluate the return? or was it only a regular expresion problem/.
00:07 <****> Wolfpaws there is??? I had no idea of that
00:07 <****> I'll google for it
00:07 <****> a menu that only appears when the mouse hovers over a certain position (the image)
00:07 <****> Acs: Unfortunately.
00:08 <****> Wolfpaws lol why unfortunately?
00:08 <****> if ( !preg_match("/^\w+@\w+\.\w{2,3}$/", $arf_email) ) return false;
00:08 <****> how do i evaluate this on the other function after i called it
00:08 <****> Acs: BEcause that should never happend?
00:08 <****> its false... is it == 0
00:08 <****>check_email($email) == false)
00:09 <****> Wolfpaws ok....
00:10 <****> Howdy, does anyone know why 144 % 32 returns 16?
00:10 <****> is it because 16 divides into 144 and 16 is the remainder?
00:11 <****> DogWater: man, you're smart.
00:11 <****> indeed
00:11 <****> Hi how can I print a variable as hex?
00:11 <****> For example 0x1 instead of 1
00:11 <****> Koper`: Just like that?
00:11 <****> Yes
00:11 <****> Well of course 0xA and not 0x10 ..
00:11 <****> (If it's 10)
00:12 <****> Wolfpaws: thanks for the frosting thick sarcasm
00:12 <****> hey i'm having troobles compiling for osx
00:12 <****> What resource would you recommend for a beginner to learn php, to quickly start putting it to practical use?
00:12 <****> when i make i get this: make: *** No rule to make target `files/php-5.2.3/sapi/apache2handler/mod_php5.c', needed by `sapi/apache2handler/mod_php5.lo'. Stop.
00:13 <****> BlueG: the best way to learn anything is to find an application or a need to know it and then build on that
00:13 <****> nombrecinq: Hummm... Are you using CVS HEAD?
00:13 <****> no
00:13 <****> BlueG: i.e. figure out what you want to use it for, and then use it to do that and learn as you go.
00:13 <****> i've complied before
00:14 <****> so it's weird that it's not working now
00:14 <****> are you in the root directory of the php src?
00:14 <****> yeah
00:14 <****> ./configure seems to work fine
00:14 <****> did the ./configure command give you errors?
00:14 <****> are you sure?
00:14 <****> none at all
00:15 <****> DogWater: that sounds like a very sensible approach... what reference should I use to find answers as I am working on the project?
00:15 <****> BlueG: php.net has a very good reference for functions...
00:15 <****> DogWater: ok, thanks
00:16 <****> hey itrebal
00:20 <****> Running PHP scripts from the command line, is there a way to prompt and wait for input?
00:21 <****> readline?
00:22 <****> BlueG: http://devzone.zend.com/node/view/id/627
00:23 <****> if writing something that requires user input, you are more than likely writing a "program" and not a "script" and therefore require the use of a "programming" language (like C/C++) rather than a "scripting" language (like PHP)
00:23 <****> but that's just my 2 cents
00:23 <****> That is wildly inaccurate
00:23 <****> lads full code: http://pastebin.com/d48b79775 please help me out . how do i evaluete on the 1st function the code from the 2nd
00:23 <****> wildly inaccurate++
00:24 <****> Hi, how i set a variable ? ex.: $name=xxx $file=file_get_contents('http://aaa.net/test.txt'); $fp=fopen('$name','w'); fputs($fp,$file); fclose($fp);
00:30 <****> how do I get PHP to report errors like "Warning: couldn't send headers....." in my web browser?
00:30 <****> !+headers
00:30 <****>) and any (X)HTML. You can also use output buffering
00:32 <****> ron_asheton: On a mildly unrelated note, you may want to consider not sending errors to the browser at all. Sending errors opens a rather large security risk for your application. Instead you may want to use a site log file
00:33 <****> jmccaffrey, that's just for local development ... I tried to change error_reporting to E_WARNING and display_errors to On, but I can't get even an error of this type (just for testing)
00:35 <****> Hmm, anyone here know of a good, free shopping cart software?
00:35 <****> Wolfpaws: readline works on on windows cmd line?
00:35 <****> Why would it not?
00:35 <****> jmccaffrey, what settings should I use to display errors?
00:35 <****> Niphyr: I have no idea. Check the manuals.
00:35 <****> Using example code works fine on my linux box but I get nothing on windows :/
00:36 <****> I couldn't see any reference on there about windows specific issues
00:38 <****> ron_asheton: One of the issues you may be facing is that the way php handles sending output (headers, html code, errors, whatever) is all uniform. You may not be seeing the error because the initial problem(you not being able to send headers) is also affecting your ability to transmit the error.
00:39 <****> ron_asheton: Try using a log file and see if you can get the error there
00:39 <****> Also enable E_ALL
00:52 <****> hi, i wonder if PHP has things called buffer overflows? or shouldnt i worry about it ? example reading file
00:54 <****> not realy
00:54 <****> Peasley: PHP does that via internal magic...
00:55 <****> hi. i have a function within a function, if i call the main function twice i will get a 'function already declared' error. can i solve this without moving the offending function out of its main function?
00:56 <****> yes
00:56 <****> err, no
00:56 <****> why do you need function inside function?


Total 23 pages. You are browsing page 1/23.

First :: Prev :: [1] [2] [3] [4] [5] [...] :: Next :: Last


Tutti i nuovi CAP Italiani. Come ottenere il database completo