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 permission
id tiny thing. Are my
permissions correct? 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 <[EMA
from a servicability 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");
> &g
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
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 waste
t;>news:42EOfJ$[EMAIL PROTECTED]...
> ==> [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.
>
>
- Noah
"Noah 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 Gene
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
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]&
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]>
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
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 them
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]
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
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]
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" o
te in message
9dsm85$kgl$[EMAIL 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("m
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
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 func
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.4.21.010502111
t; > > $cWidth = 175;
> > > $picture_src = "fullSize/somepic.jpg";
> > > $thumb_dest = "fthumbNail/somepic.jpg";
> > >
> > > $aImageInfo = getimagesize( $picture_src );
> > >
> > > if( $aImageInfo[0] < $cWidth ) {
> > &
01c0c848$8a802bb0$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
han the one supplied i.e. if your image is 200x50 it will scale it to
175x? but if it is 50x200 it will scale it to ?x175
if it is important you not resize based on height use identify to get the
geometry first.
morgan
At 04:27 PM 4/18/2001, Noah Spitzer-Williams wrote:
>I have a bunch of pi
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
this
example,
>
> SELECT * 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
>
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]
To
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 m
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 PR
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-m
Is there a way to remove all cookies so matter what path they were set as
long as it was from me (ex. in my parent directory). i need this because i
was screwing around with setting cookies in different paths but now i cant
get rid of one.
Thanks!
- Noah
--
PHP General Mailing List (http://w
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
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
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.
exa
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 contac
34 matches
Mail list logo