Re: [PHP] Include fails when ./ is in front of file name

2008-04-08 Thread Noah Spitzer-Williams
PROTECTED] On Mon, Apr 7, 2008 at 1:05 PM, Lester Caine [EMAIL PROTECTED] wrote: People seem to be missing the point here. These are PUBLIC applications that are failing to work for Noah. He should not need to re-write PHPMyAdmin in order to get it to work? Next people will be saying that we should

Re: [PHP] Include fails when ./ is in front of file name

2008-04-07 Thread Noah Spitzer-Williams
? Is it possible to debug this and look at the full path of file.inc.php that PHP is trying to load? Thanks! On Mon, Apr 7, 2008 at 7:36 AM, Daniel Brown [EMAIL PROTECTED] wrote: On Sun, Apr 6, 2008 at 5:17 PM, Noah Spitzer-Williams [EMAIL PROTECTED] wrote: This works: include(file.inc.php

[PHP] Include fails when ./ is in front of file name

2008-04-06 Thread Noah Spitzer-Williams
, and execute permissions given to IIS_WPG, IIS_USER, and NETWORK SERVICE PHP.ini's include path is: include_path = .;.\includes;.\pear (I've also tried include_path = .;./includes;./pear) phpinfo() works fine. Anyone have any ideas? Thanks! Noah -- PHP General Mailing List (http://www.php.net

Re: [PHP] Include fails when ./ is in front of file name

2008-04-06 Thread Noah Spitzer-Williams
statement anyways. thanks! On Sun, Apr 6, 2008 at 4:21 PM, Casey [EMAIL PROTECTED] wrote: On Sun, Apr 6, 2008 at 2:17 PM, Noah Spitzer-Williams [EMAIL PROTECTED] wrote: This works: include(file.inc.php); This doesn't: include(./file.inc.php); I can't figure it out

[PHP] PHP Startup: Unable to load dynamic library

2007-02-17 Thread Noah
dumps. any clues, Noah here they are: Feb 17 17:07:03 typhoon httpd: PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/20060613-debug/ftp.so' - Cannot open quot;/usr/local/lib/php/20060613-debug/ftp.soquot; in Unknown on line 0 Feb 17 17:07:03 typhoon httpd: PHP

[PHP] /usr/local/libexec/apache22/libphp4.so not installed

2006-05-21 Thread Noah
FreeBSD-4.11 After rebuilding php4-4.4.2_2 with Apache Module and apache-2.2.2 I no longer and finding that /usr/local/libexec/apache22/libphp4.so is getting installed. Any clues as to what I am doing wrong? I cant figure it out at the moment. --- snip --- # /usr/local/etc/rc.d/apache22.sh

[PHP] /usr/local/libexec/apache22/libphp4.so not installed

2006-05-21 Thread Noah
FreeBSD-4.11 After rebuilding php4-4.4.2_2 with Apache Module and apache-2.2.2 from /usr/ports - I no longer am finding that /usr/local/libexec/apache22/libphp4.so is getting installed. Any clues as to what I am doing wrong? I cant figure it out at the moment. --- snip --- #

Re: [PHP] /usr/local/libexec/apache22/libphp4.so not installed

2006-05-21 Thread Noah
On Mon, 22 May 2006 14:24:33 +1000, Chris wrote Noah wrote: FreeBSD-4.11 After rebuilding php4-4.4.2_2 with Apache Module and apache-2.2.2 from /usr/ports - I no longer am finding that /usr/local/libexec/apache22/libphp4.so is getting installed. Any clues as to what I am doing

[PHP] httpd: PHP Notice: Undefined index: autoplay

2006-04-14 Thread Noah
: PHP Notice: Undefined index: autoplay in /a/www/data/filname/garbled/radio.blog/index.php on line 9 --- snip --- I am not quite sure what to do to make sure things are operating properly. Might someone lend a hand here? cheers, Noah -- PHP General Mailing List (http://www.php.net

[PHP] httpd: PHP Notice: Undefined index: autoplay

2006-04-14 Thread Noah
: PHP Notice: Undefined index: autoplay in /a/www/data/filname/garbled/radio.blog/index.php on line 9 --- snip --- I am not quite sure what to do to make sure things are operating properly. Might someone lend a hand here? cheers, Noah -- PHP General Mailing List (http://www.php.net

[PHP] httpd: PHP Notice: Undefined index: autoplay

2006-04-14 Thread Noah
: PHP Notice: Undefined index: autoplay in /a/www/data/filname/garbled/radio.blog/index.php on line 9 --- snip --- I am not quite sure what to do to make sure things are operating properly. Might someone lend a hand here? cheers, Noah -- PHP General Mailing List (http://www.php.net

[PHP] a recommended FREE PHP shopping cart

2003-07-07 Thread Noah Solodky
Hello can any one recommended a FREE PHP /MYSQL shopping cart,,that they have set up themselves?? thanks so much -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] I am receiving the same posting TWICE

2003-07-07 Thread Noah Solodky
Help! I am receiving the same posting TWICE how do I configure things to just get one copy of postings?? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] strip_tags() Quandry....

2003-05-31 Thread Noah
. For the most part I intend to rely on regular expressions for this job, although I'm a little wary -- regexp syntax is tres bizarre ;--) Thanks for the clues; ultraedit.com has a great regexp tutorial Enjoy the spring/summer, --Noah - Original Message - From: Carl Furst [EMAIL PROTECTED

Re: [PHP] strip_tags() Quandry....

2003-05-30 Thread Noah
functions, let me know. --Noah - Original Message - From: CPT John W. Holmes [EMAIL PROTECTED] To: Carl Furst [EMAIL PROTECTED]; Noah [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Thursday, May 29, 2003 10:18 AM Subject: Re: [PHP] strip_tags() Quandry Yes, no problem! Glad

Re: [PHP] Performance and Function Calls

2003-03-18 Thread Noah
Thanks Jason. I was hoping that was what was happening. Happy php'ing --Noah - Original Message - From: Jason Sheets [EMAIL PROTECTED] To: Don Read [EMAIL PROTECTED] Cc: CF High [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Saturday, March 15, 2003 8:46 PM Subject: RE: [PHP] Performance

Re: [PHP] Performance and Function Calls

2003-03-18 Thread Noah
of time, not to mention having to make changes in one place; not throughout the page Alright enough blathering. Thanks again for your help, --Noah - Original Message - From: Don Read [EMAIL PROTECTED] To: CF High [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Saturday, March 15

Re: [PHP] md5 encrypt problem

2003-03-11 Thread Noah
Exactly right, John. Sorry to clutter the forum -- it was a varchar(30)! Thanks, --Noah - Original Message - From: John W. Holmes [EMAIL PROTECTED] To: 'CF High' [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Tuesday, March 11, 2003 4:06 AM Subject: RE: [PHP] md5 encrypt problem

Re: [PHP] Populate var with function output string?

2003-03-03 Thread Noah
You da man, Leif. That did the trick. Didn't try the output buffering idea. I need to look into that area. Thanks for illuminating things a bit --Noah - Original Message - From: Leif K-Brooks [EMAIL PROTECTED] To: CF High [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent

Re: [PHP] Yarrrrgggghhhhh || Simplest php question in existence........

2003-03-03 Thread Noah
You're on a roll. Any performance issues re: using fetch_row vs. fetch_array? Thanks again, --Noah - Original Message - From: Leif K-Brooks [EMAIL PROTECTED] To: CF High [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Monday, March 03, 2003 7:04 PM Subject: Re: [PHP] Yah

Re: [PHP] Output Numerical Month as String?

2003-02-25 Thread Noah
Cool. I'll check it out. Thanks! --Noah - Original Message - From: Dennis Cole [EMAIL PROTECTED] To: CF High [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Wednesday, February 14, 2001 12:21 PM Subject: RE: [PHP] Output Numerical Month as String? [code] date (F, mktime

Re: [PHP] Sitewide Header Footer Includes || Trouble with Relative Paths..........

2003-02-22 Thread Noah
snippet? Let me know. Thanks, --Noah - Original Message - From: John W. Holmes [EMAIL PROTECTED] To: 'CF High' [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Saturday, February 22, 2003 10:31 AM Subject: RE: [PHP] Sitewide Header Footer Includes || Trouble with Relative Paths

Re: [PHP] Sitewide Header Footer Includes || Trouble with Relative Paths..........

2003-02-22 Thread Noah
don't know, the $DOCUMENT_ROOT method does the trick for now Feel free to chime in anyone who has a better solution, --Noah - Original Message - From: Robert Cummings [EMAIL PROTECTED] To: CF High [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Saturday, February 22, 2003 1:22 PM

Re: [PHP] Sitewide Header Footer Includes || Trouble with Relative Paths..........

2003-02-22 Thread Noah
Thanks again John for the informative reply. Now I follow what you're doing. Get some sleep ;--) --Noah - Original Message - From: John W. Holmes [EMAIL PROTECTED] To: 'Noah' [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Saturday, February 22, 2003 1:56 PM Subject: RE: [PHP] Sitewide

Re: [PHP] Why does this happen?

2003-02-10 Thread Noah
suggested by OP (I need practice working with arrays in PHP anyway). Thanks for the informative reply, --Noah - Original Message - From: Ford, Mike [LSS] [EMAIL PROTECTED] To: 'CF High' [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Monday, February 10, 2003 5:28 AM Subject: RE: [PHP] Why does

Re: [PHP] Why does this happen?

2003-02-09 Thread Noah
Hey Ernest. This looks like the solution I'll need to make my CF interface work in PHP. I'll check it out. Thanks! --Noah - Original Message - From: Ernest E Vogelsinger [EMAIL PROTECTED] To: CF High [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Sunday, February 09, 2003 6:39 AM

Re: [PHP] Single vs. Multiple DBs || Which way to go?

2003-02-08 Thread Noah
to sifting through a 100 tables.. Thanks, --Noah - Original Message - From: John W. Holmes [EMAIL PROTECTED] To: 'CF High' [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Saturday, February 08, 2003 7:32 AM Subject: RE: [PHP] Single vs. Multiple DBs || Which way to go? I'm

Re: [PHP] Alternating Row Colors in PHP........

2003-02-08 Thread Noah
Thanks olinux. Just what I was looking for -- I'll check it out. -Noah - Original Message - From: olinux [EMAIL PROTECTED] To: CF High [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Saturday, February 08, 2003 12:45 PM Subject: Re: [PHP] Alternating Row Colors in PHP Pop

Re: [PHP] Output yyyymmdd formatted date || 20030131 to FridayJanuary 31, 2003

2003-02-08 Thread Noah
, will MySql be able to compare the strings? I stored my dates as integer fields to do such a comparison, but it looks like I need to graduate to MySql date time functions.. --Noah - Original Message - From: Michael Geier [EMAIL PROTECTED] To: CF High [EMAIL PROTECTED] Cc: [EMAIL

Re: [PHP] Output yyyymmdd formatted date || 20030131 to FridayJanuary 31, 2003

2003-02-08 Thread Noah
to be seven days older than the first part. This is where I need to use MySql's DATE_ADD, and other date manipulation functions.. Lots to learn; little time to do it. Thanks for feedback, John. --Noah - Original Message - From: John W. Holmes [EMAIL PROTECTED] To: 'Noah

Re: [PHP] Need to set default parameter || How to do in PHP?

2003-02-01 Thread Noah
Nice Phil. A little more typing than the CF version, but the more I delve into PHP, the more I realize its power and flexibility. Thanks for the speedy reply... --Noah - Original Message - From: Philip Olson [EMAIL PROTECTED] To: CF High [EMAIL PROTECTED] Cc: [EMAIL PROTECTED

Re: [PHP] Form Variables not getting passed || Apache, MySql, Win 2k Setup

2003-01-29 Thread Noah
Yup. Restarted Apache. PHP's still not evaluating the passed form vars whether register globals is set to On or Off --Noah - Original Message - From: Ernest E Vogelsinger [EMAIL PROTECTED] To: CF High [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Wednesday, January 29, 2003 2:23

Re: [PHP] Form Variables not getting passed || Apache, MySql, Win 2k Setup

2003-01-29 Thread Noah
--Noah - Original Message - From: Philip Olson [EMAIL PROTECTED] To: CF High [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Wednesday, January 29, 2003 2:23 PM Subject: Re: [PHP] Form Variables not getting passed || Apache, MySql, Win 2k Setup One too many $'s in your code, use

Re: [PHP] Form Variables not getting passed || Apache, MySql, Win 2k Setup

2003-01-29 Thread Noah
', '$blurb')); break; more code ** Let me know if you need more info, --Noah - Original Message - From: Leif K-Brooks To: Noah Cc: [EMAIL PROTECTED] Sent: Wednesday, January 29, 2003 2:19 PM Subject

Re: [PHP] Form Variables not getting passed || Apache, MySql, Win 2k Setup

2003-01-29 Thread Noah
Checked out the php.ini file. register_globals is set to On -- there is no semicolon or other character that would cause a problem. This might be a problem with the Apache, Win2k combination -- I don't know.. --Noah - Original Message - From: Ernest E Vogelsinger [EMAIL

Re: [PHP] Form Variables not getting passed || Apache, MySql, Win 2k Setup

2003-01-29 Thread Noah
H. Sounds like resorting to extract($REQUEST) might have a downside? Otherwise, I'll use it for now. Thanks, --Noah - Original Message - From: Ernest E Vogelsinger [EMAIL PROTECTED] To: Noah [EMAIL PROTECTED] Cc: Philip Olson [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent

Re: [PHP] Evaluate PHP var in stored sql statement?

2003-01-25 Thread Noah
Thanks for your help Maxim. I've got quite a bit to learn. PHP is far more challenging than Cold Fusion. --Noah - Original Message - From: Maxim Maletsky [EMAIL PROTECTED] To: Noah [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Friday, January 24, 2003 11:02 AM Subject: Re: [PHP

Re: [PHP] Switch statement || How to output html without using echo() or print()

2003-01-25 Thread Noah
language processor; thus the ?php case 1? html here ?php break; }? would display the html for each case. In any case thanks for workaround -- I would have echoed out all the html otherwise.. --Noah - Original Message - From: Johannes Schlueter [EMAIL PROTECTED] To: CF High [EMAIL

Re: [PHP] Switch statement || How to output html without using echo() or print()

2003-01-25 Thread Noah
Hey John. While your suggestion certainly will work, I'd prefer not to have an excessive number of include files to keep track of. Johannes' suggestion does the trick: Try something like ?php switch ($foo) { case 1: ? h1Hello/h1 ?php break; } ? - Original Message - From:

Re: [PHP] Evaluate PHP var in stored sql statement?

2003-01-25 Thread Noah
Hm.. Guess I'll find out as I go deeper into PHP --Noah - Original Message - From: Maxim Maletsky [EMAIL PROTECTED] To: Noah [EMAIL PROTECTED] Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Saturday, January 25, 2003 9:47 AM Subject: Re: [PHP] Evaluate PHP var in stored

Re: [PHP] Evaluate PHP var in stored sql statement?

2003-01-24 Thread Noah
without quotes? Thanks for the help... --Noah - Original Message - From: Maxim Maletsky [EMAIL PROTECTED] To: CF High [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Friday, January 24, 2003 9:59 AM Subject: Re: [PHP] Evaluate PHP var in stored sql statement? use eval() www.php.net

[PHP] How to prevent failure email from being sent?

2002-10-27 Thread Noah Spitzer-Williams
waste of space and bandwidth... is there anyway I can prevent this? If i delete the webmaster email key in php.ini will my emails not have a reply address? Thanks! - Noah [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Warning: Could not execute mail delivery program

2002-09-08 Thread Noah Spitzer-Williams
So do you think it has to be a server issue and not a code issue? My site's traffic load has increased significantly in the last week or so and that's kind of when it started happening. Could there be a resource problem? Is there any way to find out more on why it's not running? - Noah Noah

[PHP] Re: Warning: Could not execute mail delivery program

2002-09-08 Thread Noah Spitzer-Williams
. PHP_FOO=BAR). ; Note: If this directive is empty, PHP ; will let the user modify ANY environment ; variable! safe_mode_protected_env_vars = LD_LIBRARY_PATH - Noah ¡Û [EMAIL PROTECTED] wrote in message 42EOfJ$[EMAIL PROTECTED]">news:42EOfJ$[EMAIL P

[PHP] Warning: Could not execute mail delivery program

2002-09-07 Thread Noah Spitzer-Williams
PHP Warning: Could not execute mail delivery program in /htdocs/... Any suggestions on how to fix this? - Noah -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Restart process from code?

2002-07-17 Thread Noah Spitzer-Williams
Is there a way to restart a process (actually the process to handle ASP pages) from code? - Noah -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Restart process from code?

2002-07-17 Thread Noah Spitzer-Williams
But I would like to restart the process as in it's currently running and I want to end it and then start it again... - Noah - Original Message - From: John Holmes [EMAIL PROTECTED] To: 'Noah Spitzer-Williams' [EMAIL PROTECTED]; [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Wednesday

Re: [PHP] Restart process from code?

2002-07-17 Thread Noah Spitzer-Williams
How do I end the process using exec? Is there an equivalent to NET STOP? - Noah - Original Message - From: John Holmes [EMAIL PROTECTED] To: 'Noah Spitzer-Williams' [EMAIL PROTECTED]; [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Wednesday, July 17, 2002 2:28 PM Subject: RE: [PHP] Restart

[PHP] Array of COM objects doesn't work in PHP but does in ASP?

2002-05-30 Thread Noah
of the com object to access each) However i get this error: Warning: PropGet() failed: Invalid number of parameters In ASP I can do: comDeal.Bonds.Item(i) and it works fine Any suggestions? Thanks! - Noah -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit

[PHP] how to hide dbconnect file if its in published directory?

2001-07-09 Thread Noah Spitzer-Williams
them elsewhere? Thanks guys! - Noah -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]

[PHP] how to flip an image using GD?

2001-06-29 Thread Noah Spitzer-Williams
how would i flip an image horizontally using the GD library in PHP? Noah -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]

Re: [PHP] Php Files on Browser

2001-06-24 Thread Noah Spitzer-Williams
are you using http://localhost? - Noah Ted Shaw [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... G'day - Sorry for this stupid question but I'm a newby trying to install php on my win98 computer and find that neither netscape nor IE 5.5 won't open ph

[PHP] gd library on win2k?

2001-06-23 Thread Noah Spitzer-Williams
how can i install the gd library for php on win2k using iis5? - Noah -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]

[PHP] Edit A HREF links on the fly - see what i mean - important!

2001-05-21 Thread Noah Spitzer-Williams
onclick=nopop=1blah/a the problem is how can i put this onclick statement into every link on the fly without editing all my php? is there a way? is there a javascript way? thanks! - Noah -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

[PHP] Are constants more efficient than variables that never change?

2001-05-15 Thread Noah Spitzer-Williams
instead). - Noah -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]

Re: [PHP] Are constants more efficient than variables that never change?

2001-05-15 Thread Noah Spitzer-Williams
Ok, I'm only wondering this because I'm tryin to decrease the load time significantly because each page has to go through a lot of stuff before they're loaded and with the volume of hits it gets, i need anything to help out - Noah CC Zona [EMAIL PROTECTED] wrote in message 9dsm85$kgl$[EMAIL

[PHP] What's more effecient: var on every page or simple function?

2001-05-14 Thread Noah Spitzer-Williams
with the function obviously it would be used only if it were called. what's better? (myvar is a constant #) - Noah -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail

Re: [PHP] Starting PHP script with crontab

2001-05-03 Thread Noah Spitzer-Williams
is there a service on the web that can do this for you? i once found a site that would accept a url and an interval and would retrieve that url (therefore running any code you had in there) on your interval - Noah Anuradha Ratnaweera [EMAIL PROTECTED] wrote in message Pine.LNX

Re: [PHP] how to scale down image using ImageMagick?

2001-04-19 Thread Noah Spitzer-Williams
802bb0$6501a8c0@workstation7... "Noah Spitzer-Williams" [EMAIL PROTECTED] wrote: I have a bunch of pictures all in ranging filesizes and dimensions. I want to resize the ones that over 175 pixels wide to a 175 pixel wide picture however i want the height to scale down (ie. i dont wan

Re: [PHP] how to scale down image using ImageMagick?

2001-04-19 Thread Noah Spitzer-Williams
right my goal was to actually alter the file size for quicker downloads and less bandwidth. the solution was a combination of morgan's and joe's posts. thansk guys! - Noah "Morgan Curley" [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... This is

[PHP] how to scale down image using ImageMagick?

2001-04-18 Thread Noah Spitzer-Williams
this but i cant figure out how to just scale down the width: c:\progra~1\imagem~1\mogrify.exe -geometry 175x30! picture.jpeg the '!' forces those sizes to be used but obvoiusly i dont want the height to be 30. i want it to be whatever it should be so the picture doesnt look flattened. Thanks! - Noah

[PHP] is it safe to stripslashes() on all form variables?

2001-04-16 Thread Noah Spitzer-Williams
would there be any problems caused if i used the stripslashes() function on all posted variables from a form to eliminate sql query errors? - Noah -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED

Re: [PHP] is it safe to stripslashes() on all form variables?

2001-04-16 Thread Noah Spitzer-Williams
* FROM tablename WHERE name = '$name'; what if $name is \'garbage\';DROP TABLE tablename;SELECT \'something After stripslashes($name) SELECT * FROM table WHERE name = 'garbage';DROP TABLE tablename;SELECT 'something'; Regards, -- Yasuo Ohgaki ""Noah Spitzer-Williams"" [EMAI

Re: [PHP] Hello $variable, whats your name?

2001-03-22 Thread Noah Spitzer-Williams
theres even $GLOBALS() ""Data Driven Design"" [EMAIL PROTECTED] wrote in message 001301c0b347$d96ca5c0$[EMAIL PROTECTED]">news:001301c0b347$d96ca5c0$[EMAIL PROTECTED]... You can cycle through the $HTTP_POST_VARS or $HTTP_GET_VARS arrays depending on whether you use 'post' or 'get' for the

[PHP] get content type from fopening url?

2001-03-14 Thread Noah Spitzer-Williams
is there a way so that if someone submits a web url (hopefully its a picture), i can check to make sure its a valid picture? i think its something like fopen(), but i dont know far i could get thanks! - Noah -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL

[PHP] ticks wont execute file on one server, but will on another

2001-03-09 Thread noah
is there a reason why doing something like `rm test.test` would work on one server but not another? - noah -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e

[PHP] when using die(), how can i get the line number that errored?

2001-01-29 Thread Noah Spitzer-Williams
here's my code: $res = mysql_query($badsqlstatement) or die(errtrapper()); inside errtrapper(), is there a way to find out what line this error occurred? thanks!! - Noah -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e

[PHP] cookie paths are really confusing me...please help!

2001-01-21 Thread Noah Spitzer-Williams
is setting a cookie. the problem is when i goto directory 'test2' and use this same included file in the parent directory, it cant find the cookie. how should be setting this cookie?? - Noah -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

[PHP] get last directory of a full path? (parent directory)

2001-01-20 Thread Noah Spitzer-Williams
whats the easiest way to go from "/dir1/dir2/dir3/hello.php" to "dir3/" ? dirname will cut off hello.php but i want to cut dir1 and dir2 as well Thanks! - Noah -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional comm

[PHP] does chdir() change include_path on the fly? HELP

2001-01-19 Thread Noah Spitzer-Williams
will chdir() fix this? or is there another way? Thanks!! - Noah -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]

[PHP] Question about phpinfo() and XML

2001-01-12 Thread Noah Spitzer-Williams
phpinfo reports that XML is 'active' but i thought xml was a client side language? what does it have to do with the server? thanks! - Noah -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED