Hello all
Just a query I want to ask what is meant by include files being in a folder
'outside' the web root.
For example, I use an ISP (linux box) to upload all my stuff to the site I
see "/html as the folder to store all web files. So if I go up one to "/",
is this outside the web root, or is th
There was a thread on the list regarding this. Do a search here for
'register globals on and off'. That thread should help you..
Regards
"Paradiddles" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
>
> Hey everyone!
>
> I noticed that in the older version of ph
I've read that an include file in each of your pages with the lines below
should do the trick for you with register_globals OFF..
Not sure if this is a valid way to go though...
Regards, Pat
"Davy Obdam" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Hell
Hi
I've been learning to get through sessions as it appears to be the hardest
part of PHP I've come across.
I found that includes must be stated underneath that of a session_start()
for example otherwise a warning will appear that it can't start a session
because a header has already been sent (or
Hi
I get this error in a login page I've created. I am using root for testing
purposes only on localhost, but it keeps comming up with access denied.
I am wondering if this is a Windows 2000 permissions problem or are new
users denied in MySQL? Any idea?
Regards, PJ
Warning: mysql_connect() [fu
Thanks Frank,
The
$english_format_number = number_format($number);
line works a treat.
Cheers, Pat
"Frank M. Kromann" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
>
>
> http://php.net/number_format
>
> is what you are looking for.
>
> - Frank
>
> > Hi
> >
Hi
I have a field in my MySQL database that's a decimal where I have figures of
millions without the decimal point -
i.e - 150
Is there a function in PHP to display this figure as a $ amount -
i.e - $1,500,000
I searched PHP manual without finding anything. If there is something in
the manu
Hi Ed
I have a similar probelm with resizing and cannot work it out. My phpinfo
(ver 4.3) says jpeg support enabled and put php_gd.dll in the same
directories as you.
My code is:
$imagesrc = ImageCreateFromJpeg($image);
$imagedst = ImageCreate($im_width,$im_height);
ImageCopyResized($imagedst, $i
I've asked this question a tad too soon. I see the latest version of PHP has
built in gd, so the forget what I've asked below.
Regards, Pat J.
"Pat Johnston" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Hi all
> I
Hi all
I'm using PHP 4.1.2. I want to resize jpegs on the fly, but the functions
ImageJpeg and ImageCreateFromJpeg don't work.
>From what I read I need GD and then compile it with jpeg-6b. I know nothing
about GD and its libraries nor do I have a C compiler.
There's not much in the GD manual or P
all the privilleges to connect to the db
> try to grant privilleges to ur user all over again .
>
> n there aint anythin relavet to it on the manul except fo r the grant
> privilleges section ..
>
>
> hope ive helped ..
>
> good luck
>
> toby ..
&g
Hi
I'm new at Apache, PHP, MySQL, but have been going okay on my win2000
machine. For months, it's been good.
But for reason, I get this message when I try to do stuff with mysqladmin
**
mysqladmin: connect to server at 'localhost' failed
error: 'Can't connect to MySQL server on 'localhost' (
another
field.
> Concat them when presenting to the user. Split them when the user posts a
> request. See also str_pad function
>
>
>
>
> - Original Message -
> From: "Ignatius Reilly" <[EMAIL PROTECTED]>
> To: "Win32 list PHP" <[EM
Hi
With php, just wondering if anyone knows if I can auto increment a number
that has a part string? Is it possible to code this for an ID in MySQL
database?
ie
rur01
rur02
rur03
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi
If there are problems with Apache2, then is 1.3 okay to continue using? I
mean is 2 much better?
Pat
"Erythros" <[EMAIL PROTECTED]> wrote in message
news:20021025155732.12124.qmail@;pb1.pair.com...
> this is probably the wrong place to ask but does anyone know of any
progress
> on PHP and Apa
15 matches
Mail list logo