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
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.
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
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
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,
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
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
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
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
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 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
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
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
--
[m[1;32m
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
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
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
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
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]
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
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]
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
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
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
? 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
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
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]
* 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
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
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
""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
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
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
32 matches
Mail list logo