[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] To

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

2001-01-19 Thread Noah Spitzer-Williams
my problem is i have an include file in a parent directory which includes other files. i want these other files to be in the same directory as this parent directory file..(hope your gettin me here...). the prob is the parent directory file looks for its include files in the current directory.

[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 commands, e-mail: [EMAIL

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

2001-01-21 Thread Noah Spitzer-Williams
ok here's what i get from php.net: SetCookie()'s behavior is dependant on where it is called within the web document tree. For example, setting a cookie from a php script in a directory makes that cookie available only to other scripts in that directory and its subdirectories. However, setting a

[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,

[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

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] 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] 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] Re: Warning: Could not execute mail delivery program

2002-09-08 Thread Noah Spitzer-Williams
Spitzer-Williams [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... 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, vis

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

2002-09-08 Thread Noah Spitzer-Williams
ROTECTED]... == [EMAIL PROTECTED] (Noah Spitzer-Williams) ªº¤å³¹¤¤´£¨ì: PHP Warning: Could not execute mail delivery program in /htdocs/... Any suggestions on how to fix this? - Noah check your php.ini file. if should be safe_mode = Off -- 

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

2001-05-14 Thread Noah Spitzer-Williams
Which of the two is more efficient: # start of file.php $myvar = 3; # end file.php #start of file.php function myvar() { return 3; } #end file.php the difference between the two is the first example would set the variable on every page regardless of whether it was used whereas with the

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

2001-05-15 Thread Noah Spitzer-Williams
I may have a variable that changes page to page, but once it loads up, it never needs to be changed on that page. So my question is should i just do: define(myvar, 3); OR: $myvar = 3; does defining it make that much of a difference (if i have several of these variables that could be defined

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

2001-05-15 Thread Noah Spitzer-Williams
PROTECTED]">news:9dsm85$kgl$[EMAIL PROTECTED]... In article 9dsknt$fb1$[EMAIL PROTECTED], [EMAIL PROTECTED] (Noah Spitzer-Williams) wrote: So my question is should i just do: define(myvar, 3); OR: $myvar = 3; does defining it make that much of a difference (if i have

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

2001-05-21 Thread Noah Spitzer-Williams
hey guys, i'm working on an exit page popup but i dont want the popup to load whenever i change pages in the site, only when the user exits the site totally. now i dont think there is some sort of javascript for thsi but i have figured out a way around. for every link do this: a href=blah

[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]

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 php files

[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]

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

2001-07-09 Thread Noah Spitzer-Williams
Hey guys, I come for advice once again. Say i have a file dbconnect.inc which connects to my database. Now if this file is located in a directory accessible for to the web is there anyway that if someone types in that file i can detect it being accessed, instead of included, and redirect

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

2008-04-06 Thread Noah Spitzer-Williams
This works: include(file.inc.php); This doesn't: include(./file.inc.php); I can't figure it out! PHPMyAdmin uses ./ so it's obviously not working. Here's my environment: Win2003 Server w/ IIS 6 PHP 5.2.5 setup as ISAPI All PHP and httpdoc directories have read, write, and

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

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

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

2008-04-08 Thread Noah Spitzer-Williams
I appreciate the help guys. I don't understand what's going on. Here's what I've tried since posting: Copied over the PHP binaries and php.ini from my old server to my new one. No luck. Copied over the phpMyAdmin from my old server to my new one. No luck. I've double-checked all

[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

[PHP] how to scale down image using ImageMagick?

2001-04-18 Thread Noah Spitzer-Williams
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 want a really thin picture, i just want it to be what it would be if it were resized). i have

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
""Steve Werby"" [EMAIL PROTECTED] wrote in message 00ae01c0c848$8a802bb0$6501a8c0@workstation7">news:00ae01c0c848$8a802bb0$6501a8c0@workstation7... "Noah Spitzer-Williams" [EMAIL PROTECTED] wrote: I have a bunch of pictures all in ranging filesizes

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

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

2002-10-27 Thread Noah Spitzer-Williams
Hey guys, My service sends out emails every few days to members who wish to have stats sent to them. The problem is once an email becomes inactive, I the webmaster gets a failure email sent to me. This is starting to add up and I can get upwards of 20 of these a day. It just seems likea