Re: [PHP] defending PHP mail function

2001-10-31 Thread ReDucTor

Blankwhat os was it?!?!?
- Original Message -
From: Matthew Luchak
To: Php-General (E-mail)
Sent: Thursday, November 01, 2001 2:04 AM
Subject: [PHP] defending PHP mail function


Recently I have had to defend the use of PHP in light of a number of
screw-ups with the mail function in 4.0+.  It seems that some email
addresses will simply "not work" with mail.  I have been shopping around for
a smtp direct class ( http://www.zend.com/codex.php?id=347&single=1 ) looks
pretty good to me and was wondering if anyone has any experiences, shortcuts
etc. to this kind of problem with mail.

Matthew Luchak
Webmaster
Kaydara Inc.
[EMAIL PROTECTED]


-- 
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] defending PHP mail function

2001-10-31 Thread ReDucTor

thats wierd it added blank infront of it all...wierd

it might have been the smtp server its self that had rules or something...

- Original Message - 
From: "Matthew Luchak" <[EMAIL PROTECTED]>
To: "Php-General (E-mail)" <[EMAIL PROTECTED]>
Sent: Thursday, November 01, 2001 2:09 AM
Subject: RE: [PHP] defending PHP mail function


> WIN 2000
> 
> 
> 
> 
> Blankwhat os was it?!?!?
> 
> -- 
> 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 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] Linux Guru's

2001-06-26 Thread ReDucTor



Hey Dudes, little off the PHP Subject, but Linux I 
have "RedHat 7.1" CD Here, and i want to dual boot it with my WinXP i don't want 
to repartition my HDD, i would prefer to have a File on my hdd that has Linux on 
it, my WinXP install is on a FAT32 Partition..
   Now how can i do this? :)
 - 
James "ReDucTor" Mitchell


Re: [PHP] search for a better php source code viewer

2001-06-27 Thread ReDucTor

EditPlus is the best program EVER

I use it for every thing... :) :)
- Original Message -
From: "Patrick Calkins" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, June 27, 2001 9:45 AM
Subject: Re: [PHP] search for a better php source code viewer


> You should try EditPlus !!! I love it!
> http://www.editplus.com/
> It runs on Win95/98/2000/NT and will create a Unix/Mac/PC file. Has custom
> syntax highlighting, spell checker, integrated web browser, etc, etc. It
> handles PHP, ASP, Perl, C++, and more...
>
>
> ""scott [gts]"" <[EMAIL PROTECTED]> wrote in message
> [EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> > im a textpad fan.  (for windows)
> >  http://textpad.com/
> >
> >  it supports custom syntax hilighting,
> >  line numbers, and a ton of other features
> >  that i use :)
> >
> >
> > > > -Original Message-
> > > > From: Tyler Longren [mailto:[EMAIL PROTECTED]]
> > > > Sent: Tuesday, June 26, 2001 10:26 AM
> > > > To: [EMAIL PROTECTED]; php
> > > > Subject: Re: [PHP] search for a better php source code viewer
> > > >
> > > >
> > > > I suggest ConTEXT.  It's free, and it's for windows.
> > > > http://www.fixedsys.com/context
> > > >
> > > > And for Linux, I suggest Nedit.
> > > > http://www.nedit.org/
> > > >
> > > > Tyler
> >
> >
> > --
> > 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 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 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] Filtering out \ when a ' is user entered?

2001-06-27 Thread ReDucTor

stripslashes($string)
- Original Message - 
From: "Marcus James Christian" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, June 27, 2001 2:18 PM
Subject: [PHP] Filtering out \ when a ' is user entered?


> Hello,
> 
> I'm pretty new to PHP but all I've seen of it so far I pretty much love!
> 
> I've built a web log but when the user enters their data and they use '
> or "  (and you know they will)   php always shows it from the included
> web log as
> 
> \'  How can I filter out these backslashes so they don't appear on the
> final public viewable page?
> 
> Thanks,
> Marcus
> 
> --
> Marcus James Christian - UNLIMITED -
> Multimedia Internet Design
> http://mjchristianunlimited.com
> 
> 
> 
> -- 
> 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 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] Class/Func Librarys

2001-07-01 Thread ReDucTor

Hey,
 Just Wondering if any one knows, any sites that havea a function and/or class 
library on there site, for any thing? Might save some time if i find some functions 
and/or classes :)
 Come on might just be a function you put in a script you made, send them!!!

  - James "ReDucTor" Mitchell



Re: [PHP] Class/Func Librarys

2001-07-01 Thread ReDucTor

They need to add the header
reply-to: [EMAIL PROTECTED]
here :)
- Original Message -
From: power jessie <[EMAIL PROTECTED]>
To: ReDucTor <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Monday, July 02, 2001 4:40 PM
Subject: RE: [PHP] Class/Func Librarys


>
> try the PHP Classes Repository site on
> http://phpclasses.upperdesign.com
>
> hope that helps!
> jessie
>
> -Original Message-
> From: ReDucTor [mailto:[EMAIL PROTECTED]]
> Sent: Sunday, July 01, 2001 8:29 AM
> To: [EMAIL PROTECTED]
> Subject: [PHP] Class/Func Librarys
>
>
> Hey,
>  Just Wondering if any one knows, any sites that havea a function
> and/or class library on there site, for any thing? Might save some time if
i
> find some functions and/or classes :)
>  Come on might just be a function you put in a script you made, send
> them!!!
>
>   - James "ReDucTor" Mitchell
>


-- 
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] Class/Func Librarys

2001-07-01 Thread ReDucTor

If you view the source of this email, you will see headers.
If there is a header reply-to: it will send replys to the email address
there
so you don't need to add [EMAIL PROTECTED] to the to: or cc:
- Original Message -
From: power jessie <[EMAIL PROTECTED]>
To: ReDucTor <[EMAIL PROTECTED]>
Sent: Monday, July 02, 2001 4:49 PM
Subject: RE: [PHP] Class/Func Librarys


>
> what do you mean?
>
> -Original Message-
> From: ReDucTor [mailto:[EMAIL PROTECTED]]
> Sent: Sunday, July 01, 2001 8:40 AM
> To: power jessie
> Cc: [EMAIL PROTECTED]
> Subject: Re: [PHP] Class/Func Librarys
>
>
> They need to add the header
> reply-to: [EMAIL PROTECTED]
> here :)
> - Original Message -
> From: power jessie <[EMAIL PROTECTED]>
> To: ReDucTor <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
> Sent: Monday, July 02, 2001 4:40 PM
> Subject: RE: [PHP] Class/Func Librarys
>
>
> >
> > try the PHP Classes Repository site on
> > http://phpclasses.upperdesign.com
> >
> > hope that helps!
> > jessie
> >
> > -Original Message-
> > From: ReDucTor [mailto:[EMAIL PROTECTED]]
> > Sent: Sunday, July 01, 2001 8:29 AM
> > To: [EMAIL PROTECTED]
> > Subject: [PHP] Class/Func Librarys
> >
> >
> > Hey,
> >  Just Wondering if any one knows, any sites that havea a
function
> > and/or class library on there site, for any thing? Might save some time
if
> i
> > find some functions and/or classes :)
> >  Come on might just be a function you put in a script you made, send
> > them!!!
> >
> >   - James "ReDucTor" Mitchell
> >
>
>


-- 
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] Pricing Advice Needed

2001-07-01 Thread ReDucTor

I lost half this subject whilst i format'd
some one mind explaining what you are talking about with
your foos, bars, foobars, dofoos, etc :)
   - James "ReDucTor" Mitchell
- Original Message - 
From: Brad Hubbard <[EMAIL PROTECTED]>
To: PHP List <[EMAIL PROTECTED]>
Sent: Saturday, June 30, 2001 5:49 PM
Subject: Re: [PHP] Pricing Advice Needed


> On Fri, 29 Jun 2001 01:42, Thomas Deliduka wrote:
> > You get paid more
> > depending on your style:
> >
> > If ($foo == "bar") {
> > $dofoo = fobar($foo);
> > } else {
> > $dofoo = foobar($bar);
> > }
> >
> > Or
> > If ($foo == "bar")
> > {
> > $dofoo = fobar($foo);
> > }
> > else
> > {
> > $dofoo = foobar($bar);
> > }
> 
> if( $foo == "bar" ) $dofoo = fobar( $foo ) else $dofoo = foobar($bar);
> 
> I think I'm being exploited !   :-)
> 
> Cheers,
> Brad
> 
> -- 
> 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 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] Website dealing with PHP image generation?

2001-07-01 Thread ReDucTor

shouldn't it be
$himage= "/usr/hyrum/public_html/images/topics/hyrum.gif";
not
$himage= "usr/hyrum/public_html/images/topics/hyrum.gif";

notice the first slash
- Original Message -
From: Jeff Lewis <[EMAIL PROTECTED]>
To: Jon Yaggie <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Monday, July 02, 2001 1:48 AM
Subject: RE: [PHP] Website dealing with PHP image generation?


> I have changed it to below but still get this error "Warning: Supplied
> argument is not a valid Image resource in /home/hyrum/public_html/test.php
> on line 41" and that is the ImageCopy line:
>
> $image = ImageCreate(500, 70);
> $bg = ImageColorAllocate($image, 255, 255, 255);
> $blue = ImageColorAllocate($image, 0, 0, 255);
> $black = ImageColorAllocate($image, 0, 0, 0);
> $himage= "usr/hyrum/public_html/images/topics/hyrum.gif";
> ImageRectangle($image, 0, 0, 500, 70, $white);
> ImageString($image, 4, 0, 0, $text, $blue);
> ImageString($image, 3, 0, 20, $title1, $black);
> ImageString($image, 3, 0, 35, $title2, $black);
> ImageString($image, 3, 0, 50, $title3, $black);
> ImageCopy($image, $himage, 400, 5, 1, 60, 60, 60);
>
> ImagePNG($image, "signature.png");
> ImageDestroy($image);
>
> Jeff
>
> > -Original Message-
> > From: Jon Yaggie [mailto:[EMAIL PROTECTED]]
> > Sent: Wednesday, May 30, 2001 6:31 PM
> > To: [EMAIL PROTECTED]
> > Subject: RE: [PHP] Website dealing with PHP image generation?
> >
> >
> > Jeff,
> >
> > I am not extremely fimilar with this function.  However, I did
> > notice you are copying your image at a width and height of 1x1.
> > this is my guess as far as i know by default this pixels.  so the
> > likehood you would see an image copied at 1x1 is rather low.
> >
> > but perhaps i am complete wrong . . .let us know.
> >
> > I am creating an image on the fly based on newest entries in one my
mySQL
> > tables.  In this created image I am trying to add a small one to
> > it.  Now I
> > am TRYING to use the below code:
> >
> > $image = ImageCreate(500, 70);
> > $bg = ImageColorAllocate($image, 255, 255, 255);
> > $blue = ImageColorAllocate($image, 0, 0, 255);
> > $black = ImageColorAllocate($image, 0, 0, 0);
> > $himage= "usr/hyrum/public_html/images/topics/hyrum.gif";
> > ImageRectangle($image, 0, 0, 500, 70, $white);
> > ImageString($image, 4, 0, 0, $text, $blue);
> > ImageString($image, 3, 0, 20, $title1, $black);
> > ImageString($image, 3, 0, 35, $title2, $black);
> > ImageString($image, 3, 0, 50, $title3, $black);
> > file://ImageCopy($image, $himage, 400, 20, 1, 1, 60, 60)
> >
> > Imagepng($image, "signature.png");
> > ImageDestroy($image);
> >
> > Am I using ImageCopy incorrectly?  It doesn't put anything in the
> > new image.
> >
> >
> >
>
>
> --
> 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 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] Error Handling

2001-07-01 Thread ReDucTor

Hey,
   A Site one of my sites is hosted on(H4P), with it's php, when there is an 
error, it just doesn't display the page, any one ever had this problem? I tried it on 
another server, removed the error works on both now, but i don't want to have to 
switch just to test it, so does any one know the problem? :)
   - James "ReDucTor" Mitchell

  P.S It's not my server, I didn't make it to it :) hehe



Re: [PHP] Website dealing with PHP image generation?

2001-07-01 Thread ReDucTor

Try

$image = ImageCreate(500, 70);
$bg = ImageColorAllocate($image, 255, 255, 255);
$blue = ImageColorAllocate($image, 0, 0, 255);
$black = ImageColorAllocate($image, 0, 0, 0);
$himage=
ImageCreateFromGIF("/usr/hyrum/public_html/images/topics/hyrum.gif");
ImageRectangle($image, 0, 0, 500, 70, $white);
ImageString($image, 4, 0, 0, $text, $blue);
ImageString($image, 3, 0, 20, $title1, $black);
ImageString($image, 3, 0, 35, $title2, $black);
ImageString($image, 3, 0, 50, $title3, $black);
ImageCopy($image, $himage, 400, 5, 1, 60, 60, 60);

ImagePNG($image, "signature.png");
ImageDestroy($image);

- Original Message -
From: Jeff Lewis <[EMAIL PROTECTED]>
To: ReDucTor <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Monday, July 02, 2001 2:17 AM
Subject: RE: [PHP] Website dealing with PHP image generation?


> Tried with and without and no luck, it has me stumped :)
>
> Jeff
>
> > -Original Message-
> > From: ReDucTor [mailto:[EMAIL PROTECTED]]
> > Sent: Sunday, July 01, 2001 11:53 AM
> > To: [EMAIL PROTECTED]
> > Cc: [EMAIL PROTECTED]
> > Subject: Re: [PHP] Website dealing with PHP image generation?
> >
> >
> > shouldn't it be
> > $himage= "/usr/hyrum/public_html/images/topics/hyrum.gif";
> > not
> > $himage= "usr/hyrum/public_html/images/topics/hyrum.gif";
> >
> > notice the first slash
> > - Original Message -
> > From: Jeff Lewis <[EMAIL PROTECTED]>
> > To: Jon Yaggie <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
> > Sent: Monday, July 02, 2001 1:48 AM
> > Subject: RE: [PHP] Website dealing with PHP image generation?
> >
> >
> > > I have changed it to below but still get this error "Warning: Supplied
> > > argument is not a valid Image resource in
> > /home/hyrum/public_html/test.php
> > > on line 41" and that is the ImageCopy line:
> > >
> > > $image = ImageCreate(500, 70);
> > > $bg = ImageColorAllocate($image, 255, 255, 255);
> > > $blue = ImageColorAllocate($image, 0, 0, 255);
> > > $black = ImageColorAllocate($image, 0, 0, 0);
> > > $himage= "usr/hyrum/public_html/images/topics/hyrum.gif";
> > > ImageRectangle($image, 0, 0, 500, 70, $white);
> > > ImageString($image, 4, 0, 0, $text, $blue);
> > > ImageString($image, 3, 0, 20, $title1, $black);
> > > ImageString($image, 3, 0, 35, $title2, $black);
> > > ImageString($image, 3, 0, 50, $title3, $black);
> > > ImageCopy($image, $himage, 400, 5, 1, 60, 60, 60);
> > >
> > > ImagePNG($image, "signature.png");
> > > ImageDestroy($image);
> > >
> > > Jeff
> > >
> > > > -Original Message-
> > > > From: Jon Yaggie [mailto:[EMAIL PROTECTED]]
> > > > Sent: Wednesday, May 30, 2001 6:31 PM
> > > > To: [EMAIL PROTECTED]
> > > > Subject: RE: [PHP] Website dealing with PHP image generation?
> > > >
> > > >
> > > > Jeff,
> > > >
> > > > I am not extremely fimilar with this function.  However, I did
> > > > notice you are copying your image at a width and height of 1x1.
> > > > this is my guess as far as i know by default this pixels.  so the
> > > > likehood you would see an image copied at 1x1 is rather low.
> > > >
> > > > but perhaps i am complete wrong . . .let us know.
> > > >
> > > > I am creating an image on the fly based on newest entries in one my
> > mySQL
> > > > tables.  In this created image I am trying to add a small one to
> > > > it.  Now I
> > > > am TRYING to use the below code:
> > > >
> > > > $image = ImageCreate(500, 70);
> > > > $bg = ImageColorAllocate($image, 255, 255, 255);
> > > > $blue = ImageColorAllocate($image, 0, 0, 255);
> > > > $black = ImageColorAllocate($image, 0, 0, 0);
> > > > $himage= "usr/hyrum/public_html/images/topics/hyrum.gif";
> > > > ImageRectangle($image, 0, 0, 500, 70, $white);
> > > > ImageString($image, 4, 0, 0, $text, $blue);
> > > > ImageString($image, 3, 0, 20, $title1, $black);
> > > > ImageString($image, 3, 0, 35, $title2, $black);
> > > > ImageString($image, 3, 0, 50, $title3, $black);
> > > > file://ImageCopy($image, $himage, 400, 20, 1, 1, 60, 60)
> > > >
> > > > Imagepng($image, "signature.png");
> > > > ImageDestroy($image);
> > > >
> > > > Am I using ImageCopy incorrectly?  It doesn't put anything in the
> > > > new image.
> > > >
> > > >
> > > >
> > >
> > >
> > > --
> > > 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 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 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] Website dealing with PHP image generation?

2001-07-01 Thread ReDucTor

No Problem
- Original Message -
From: Jeff Lewis <[EMAIL PROTECTED]>
To: ReDucTor <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Monday, July 02, 2001 2:48 AM
Subject: RE: [PHP] Website dealing with PHP image generation?


> I used ImageCreateFromPNG and it worked great!  Thanks a lot!  GIF wasn't
> supported (due to GD 1.6+).
>
> Jeff
>
> > -Original Message-
> > From: ReDucTor [mailto:[EMAIL PROTECTED]]
> > Sent: Sunday, July 01, 2001 12:38 PM
> > To: [EMAIL PROTECTED]
> > Cc: [EMAIL PROTECTED]
> > Subject: Re: [PHP] Website dealing with PHP image generation?
> >
> >
> > Try
> >
> > $image = ImageCreate(500, 70);
> > $bg = ImageColorAllocate($image, 255, 255, 255);
> > $blue = ImageColorAllocate($image, 0, 0, 255);
> > $black = ImageColorAllocate($image, 0, 0, 0);
> > $himage=
> > ImageCreateFromGIF("/usr/hyrum/public_html/images/topics/hyrum.gif");
> > ImageRectangle($image, 0, 0, 500, 70, $white);
> > ImageString($image, 4, 0, 0, $text, $blue);
> > ImageString($image, 3, 0, 20, $title1, $black);
> > ImageString($image, 3, 0, 35, $title2, $black);
> > ImageString($image, 3, 0, 50, $title3, $black);
> > ImageCopy($image, $himage, 400, 5, 1, 60, 60, 60);
> >
> > ImagePNG($image, "signature.png");
> > ImageDestroy($image);
> >
> > - Original Message -
> > From: Jeff Lewis <[EMAIL PROTECTED]>
> > To: ReDucTor <[EMAIL PROTECTED]>
> > Cc: <[EMAIL PROTECTED]>
> > Sent: Monday, July 02, 2001 2:17 AM
> > Subject: RE: [PHP] Website dealing with PHP image generation?
> >
> >
> > > Tried with and without and no luck, it has me stumped :)
> > >
> > > Jeff
> > >
> > > > -Original Message-
> > > > From: ReDucTor [mailto:[EMAIL PROTECTED]]
> > > > Sent: Sunday, July 01, 2001 11:53 AM
> > > > To: [EMAIL PROTECTED]
> > > > Cc: [EMAIL PROTECTED]
> > > > Subject: Re: [PHP] Website dealing with PHP image generation?
> > > >
> > > >
> > > > shouldn't it be
> > > > $himage= "/usr/hyrum/public_html/images/topics/hyrum.gif";
> > > > not
> > > > $himage= "usr/hyrum/public_html/images/topics/hyrum.gif";
> > > >
> > > > notice the first slash
> > > > - Original Message -
> > > > From: Jeff Lewis <[EMAIL PROTECTED]>
> > > > To: Jon Yaggie <[EMAIL PROTECTED]>;
> > <[EMAIL PROTECTED]>
> > > > Sent: Monday, July 02, 2001 1:48 AM
> > > > Subject: RE: [PHP] Website dealing with PHP image generation?
> > > >
> > > >
> > > > > I have changed it to below but still get this error
> > "Warning: Supplied
> > > > > argument is not a valid Image resource in
> > > > /home/hyrum/public_html/test.php
> > > > > on line 41" and that is the ImageCopy line:
> > > > >
> > > > > $image = ImageCreate(500, 70);
> > > > > $bg = ImageColorAllocate($image, 255, 255, 255);
> > > > > $blue = ImageColorAllocate($image, 0, 0, 255);
> > > > > $black = ImageColorAllocate($image, 0, 0, 0);
> > > > > $himage= "usr/hyrum/public_html/images/topics/hyrum.gif";
> > > > > ImageRectangle($image, 0, 0, 500, 70, $white);
> > > > > ImageString($image, 4, 0, 0, $text, $blue);
> > > > > ImageString($image, 3, 0, 20, $title1, $black);
> > > > > ImageString($image, 3, 0, 35, $title2, $black);
> > > > > ImageString($image, 3, 0, 50, $title3, $black);
> > > > > ImageCopy($image, $himage, 400, 5, 1, 60, 60, 60);
> > > > >
> > > > > ImagePNG($image, "signature.png");
> > > > > ImageDestroy($image);
> > > > >
> > > > > Jeff
> > > > >
> > > > > > -Original Message-
> > > > > > From: Jon Yaggie [mailto:[EMAIL PROTECTED]]
> > > > > > Sent: Wednesday, May 30, 2001 6:31 PM
> > > > > > To: [EMAIL PROTECTED]
> > > > > > Subject: RE: [PHP] Website dealing with PHP image generation?
> > > > > >
> > > > > >
> > > > > > Jeff,
> > > > > >
> > > > > > I am not extremely fimilar with this function.  However, I did
> > > > > > notice you are copying your image at a width and height of 1x1.
&

[PHP] Quicky, I forgot a Varible ):

2001-07-01 Thread ReDucTor

Hey, I Forgot the Variable that has the current Document/script or Folder of the 
Docment/script



Re: [PHP] Quicky, I forgot a Varible ):

2001-07-01 Thread ReDucTor

$HTTP_SERVER_VARS["PATH_TRANSLATED"]
I got it :)
- Original Message - 
From: Jason Murray <[EMAIL PROTECTED]>
To: 'ReDucTor' <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Monday, July 02, 2001 2:37 PM
Subject: RE: [PHP] Quicky, I forgot a Varible ):


> > Hey, I Forgot the Variable that has the current 
> > Document/script or Folder of the Docment/script
> 
> Look at the output from phpInfo(), then - you'll find it there.
> 
> I didn't answer you because I can't figure out precisely which
> variable you want based on your question.
> 
> Jason
> 
> -- 
> 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 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] Quicky, I forgot a Varible ):

2001-07-01 Thread ReDucTor

I Just needed it to make Auto Install Script. :)

- Original Message -
From: Chris Anderson <[EMAIL PROTECTED]>
To: Jason Murray <[EMAIL PROTECTED]>; 'ReDucTor'
<[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Monday, July 02, 2001 2:51 PM
Subject: Re: [PHP] Quicky, I forgot a Varible ):


> Maybe he means $PHP_SELF?
> Then again he just kindof rambled
> - Original Message -
> From: "Jason Murray" <[EMAIL PROTECTED]>
> To: "'ReDucTor'" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
> Sent: Monday, July 02, 2001 12:37 AM
> Subject: RE: [PHP] Quicky, I forgot a Varible ):
>
>
> > > Hey, I Forgot the Variable that has the current
> > > Document/script or Folder of the Docment/script
> >
> > Look at the output from phpInfo(), then - you'll find it there.
> >
> > I didn't answer you because I can't figure out precisely which
> > variable you want based on your question.
> >
> > Jason
> >
> > --
> > 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 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 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] Can any one spot the Parse error Here

2001-07-01 Thread ReDucTor

Hey,
Right at the end i get a prase error, which i figure i have missed a
break; or a }
but i just can't seem to find it, can some one look thro it, tell me if they
spot it?

My Code:



 User : 
 Password : 
 


Post News
Edit News
Delete News
  Add User Account
  Delete User
  
  
  
  
  Username : 
  Password : 
  
   
  ".$userline[0]."";
  }
  break;
 case "post":
  ?>
  
  
  
  Title : 
  
  
  
  read())
   {
   if(is_file("./news/".$file))
   {
  $name = str_replace(".txt", "", $file);
  echo "".$name."";
   }
  }
  $dir->close();
  break;
   case "delete":
 $dir = dir("./news");
  while($file=$dir->read())
   {
  if(is_file("./news/".$file))
  {
  $name = str_replace(".txt", "", $file);
  echo "".$name."";
  }
  }
  $dir->close();
  break;
   case "process":
  switch($process){
case "adduser":
  $fp = fopen($usersfile, "w");
   for($i = 0; $i < sizeof($userslist); $i++)
   fwrite($fp, $userslist[$i]);
  fwrite($fp, "\r\n".$uname."||".$pword);
  fclose($fp);
  echo "User Added!";
  break;
 case "deluser":
  $fp = fopen($usersfile, "w");
   for($i = 0; $i < sizeof($userslist); $i++)
 {
   $userdetails = explode("||", $userslist[$i]);
   if($userdetails[0] != $uname)
   fwrite($fp, $userslist[$i]);
  }
  fclose($fp);
  echo "User Deleted!";
  break;
 case "post":
  $fp = fopen("./news".$title.".txt", "w");
fwrite($fp, $title."\r\n");
  fwrite($fp, $text);
  echo "News Posted!";
  break;
 case "view":
  $newsdata = file("./news/".$news);
 $title = rtrim($newsdata[0]);
  echo "Title: ".$title.""?>
  
  
   
   
   
  
   
   
   
  
  
  
 
   
 
Are you Sure?
  
  
  
  
  
  

I should test it every step, insted of just typing it up, then testing it
after...
   - James "ReDucTor" Mitchell


-- 
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] Can any one spot the Parse error Here

2001-07-02 Thread ReDucTor

Only typed it up in like 20 min, i normaly do that after :)
- Original Message -
From: Andrew Halliday <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, July 02, 2001 5:26 PM
Subject: Re: [PHP] Can any one spot the Parse error Here


> Brace count mismatch.
> You are missing a '}'.
> God knows where it is...inconsistent spacing and code too lengthy.
> Functionise/objectise your code!
>
> AndrewH
>
> - Original Message -
> From: "ReDucTor" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Monday, July 02, 2001 4:17 PM
> Subject: [PHP] Can any one spot the Parse error Here
>
>
> > Hey,
> > Right at the end i get a prase error, which i figure i have missed a
> > break; or a }
> > but i just can't seem to find it, can some one look thro it, tell me if
> they
> > spot it?
> >
> > My Code:
> > 
> >  >$usersfile = "users.php";
> >session_start();
> >session_register("user","pass");
> >if(isset($user))
> >$username = $user;
> >if(isset($pass))
> >$password = $pass;
> >if(!$username)
> >{
> > ?>
> > 
> >  User : 
> >  Password : 
> >  
> > 
> >  >}
> >else
> >{
> > $user = $username;
> > $pass = $password;
> > $userslist = file($usersfile);
> > for($i = 1; $i < sizeof($userslist); $i++)
> > {
> >  $userline = explode("||", $userslist[$i]);
> >  if($usersline[0] == $username)
> >  {
> >   if($password != rtrim($usersline[1]))
> >   {
> >die("Incorrect Username");
> >   }
> >   else
> >   {
> >$i = sizeof($userslist) + 1;
> >   }
> >  }
> > }
> > if(!$action)
> >  $action = "main";
> > switch($action){
> >  case "main":
> > ?>
> > Post News
> > Edit News
> > Delete News
> >   Add User Account
> >   Delete User
> >>break;
> > case "adduser":
> >?>
> >   
> >   
> >   
> >   Username : 
> >   Password : 
> >   
> >
> >>   break;
> >  case "deleteuser":
> >   $userslist = file($usersfile);
> >  for($i = 0; $i < sizeof($userslist); $i++)
> > {
> >$userline = explode("||", $userslist[$i]);
> >echo " >echo $userline[0].">".$userline[0]."";
> >   }
> >   break;
> >  case "post":
> >   ?>
> >   
> >   
> >   
> >   Title : 
> >   
> >   
> >   
> >>   break;
> >   case "edit":
> >$dir = dir("./news");
> >   while($file=$dir->read())
> >{
> >if(is_file("./news/".$file))
> >{
> >   $name = str_replace(".txt", "", $file);
> >   echo " >   echo $file."\">".$name."";
> >}
> >   }
> >   $dir->close();
> >   break;
> >case "delete":
> >  $dir = dir("./news");
> >   while($file=$dir->read())
> >{
> >   if(is_file("./news/".$file))
> >   {
> >   $name = str_replace(".txt", "", $file);
> >   echo " >   echo $file."\">".$name."";
> >   }
> >   }
> >   $dir->close();
> >   break;
> >case "process":
> >   switch($process){
> > case "adduser":
> >   $fp = fopen($usersfile, "w");
> >for($i = 0; $i < sizeof($userslist); $i++)
> >fwrite($fp, $userslist[$i]);
> >   fwrite($fp, "\r\n".$uname."||".$pword);
> >   fclose($fp);
> >   echo "User Added!";
> >   break;
> >  case "deluser":
> >   $fp = fopen($usersfile, "w");
> >for($i

Re: [PHP] PHP Form (aka:Re: [PHP] Can any one spot the Parse error Here)

2001-07-02 Thread ReDucTor

Many of my other scripts i use functions, and classes, first time i used
cases and switchs..was fun but i still like to use loops and functions more
:) hehehee
- Original Message -
From: Andrew Halliday <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, July 02, 2001 6:29 PM
Subject: [PHP] PHP Form (aka:Re: [PHP] Can any one spot the Parse error
Here)


> > Only typed it up in like 20 min, i normaly do that [code tidying] after
:)
>
> hehe tisk tisk...the merits of design havent been hammered through you
yet?
> you are lucky!!!
>
> But, this does raise an interesting issuegood PHP code structure/form.
> What do people consider good PHP form?
>
> Ive coded in both PHP and ASP and in both OO and function oriented.
> Ultimately, i find functionally oriented PHP to be the best ... what do
> other people think?
>
> AndrewH
>
>
> --
> 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 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] Free logo shirt for your school, camp or sports team

2001-07-03 Thread ReDucTor

Is this only for the first shirt, all for every shirt?
- Original Message -
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, July 04, 2001 2:25 PM
Subject: [PHP] Free logo shirt for your school, camp or sports team


>
> Free logo shirt for your school, camp or sports team
>
>
> Your own logo printed on top quality shirts for only $3.99 each!
>
> Our custom shirts nomally sell for $7.95 a piece.
> But with this limited offer you get them for half price.
>
> No other shirt printing company can even come close to matching our
prices!
>
> Email or Call NOW and we will send you our Famous White Tiger Tee!
>
> Mailto:[EMAIL PROTECTED]
>
> White Tiger Tees
> (850) 421-5377
>
>
> To unsubscribe mailto:[EMAIL PROTECTED]
>
>
> --
> 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 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] Document File Types/Formats

2001-07-04 Thread ReDucTor

Hey,
  Just wonder if some one has any documents/guides on different file types, i saw one 
a while ago on WRI(Mircosoft Word) files, Currently i only have normal text, I know 
can do HTML so don't sent me documents on converting HTML to Text, just other file 
typesplease...WRI is one of the main ones i want, also PDF if any one has details 
on it...
  - James "ReDucTor" Mitchell



Re: [PHP] Security of PHP code

2001-07-04 Thread ReDucTor

http://sourceforge.net/source.php?page_url=/source.php look at that...
- Original Message -
From: PHPBeginner.com <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>; php-general <[EMAIL PROTECTED]>
Sent: Thursday, July 05, 2001 12:08 AM
Subject: RE: [PHP] Security of PHP code


> SECURE, SECURE.
>
> It is not how secure PHP is, it is how well YOU protect it.
> For example = make this line show_source($file); then go to your page like
> file.php?file=/etc/passwd and you're freaked!
>
> There is a whole bunch of way to hack your pages if not protected well
> enough, but PHP itself has no vital security problems.
>
> Try to search the archives for this topic and see what people
think/suggest.
> You will find there thousands of tips on what to do to have a bullet-proof
> website. (always of the server is yours).
>
>
> Sincerely,
>
>  Maxim Maletsky
>  Founder, Chief Developer
>
>  PHPBeginner.com (Where PHP Begins)
>  [EMAIL PROTECTED]
>  www.phpbeginner.com
>
>
>
>
> -Original Message-
> From: David A Dickson [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, July 04, 2001 10:43 PM
> To: php-general
> Subject: [PHP] Security of PHP code
>
>
> Is it possible for others to view the php code for pages I have written? I
> thought I heard someone say before that they could write a simple script
to
> accomplish this. If anyone knows of any tacticts people might use to
attack
> my code please post them hee.
>
> : David A. Dickson
> : [EMAIL PROTECTED]
>
>
>
>
> Get 250 color business cards for FREE!
> http://businesscards.lycos.com/vp/fastpath/
>
> --
> 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 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 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] Division Problems

2001-07-04 Thread ReDucTor

Hey, I made this little script, quiet useful on windows and unix machines, but i have 
a problem, division isn't returning a float, it just returns 0, would i need to do 
something like convert $totalsize into a float?

";
 $handle = opendir($dir);
   while (false!==($file = readdir($handle)))
   { 
if ($file != "." && $file != "..")
{ 
 if(is_file($dir."/".$file)){
 // Commented out for fixing this error
 // echo $file." (".filesize($dir."/".$file)." 
Bytes)(".filetype($dir."/".$file).")(".fileperms($dir."/".$file).")\n";
 }
 if(is_dir($dir."/".$file)){
  $dirhandle = opendir($dir."/".$file);
  while(false!==($filetocheck=readdir($dirhandle))){
   if(!isset($totalsize))
$totalsize = filesize($dir."/".$file."/".$filetocheck);
   else
$totalsize = $totalsize + filesize($dir."/".$file."/".$filetocheck);
  }
  echo $file." (".convert($totalsize).")\n";
  showdir($dir.".".$file); // Put / on unix, and c:/ on windows
 }
  }
  }
   echo "";
  }
  showdir("/");
ini_restore(max_execution_time);
?>



[PHP] Want to know what people think of my little script(Great for Personal and Pro Use)

2001-07-04 Thread ReDucTor

Hey,
   First off grab the Developer Timer from 
http://newbienetwork.net/phpcodems.php?as=viewcode&id=7 thats a great little class, 
then make a .php file and paste the following in


start_timing();
$SecondsToTimeout = 120;
$foldertoview = ".";
ini_alter(max_execution_time, $SecondsToTimeout);
function convert($bytes, $conversion)
  {
   $kbytes = $bytes / 1024;
   $mbytes = $kbytes / 1024;
   $gbytes = $mbytes / 1024;
   $tbytes = $gbytes / 1024;

   if($conversion == "bytes")
return round($bytes,4)." Bytes";
   if($conversion == "kbytes")
return round($kbytes,3)." Kb";
   if($conversion == "mbytes")
return round($mbytes,2)." Mb";
   if($conversion == "gbytes")
return round($gbytes,2)." Gb";
   if($conversion == "tbytes")
return round($tbytes,3)." Tb";
  }
function showdir($dir, $mode)
  {
 echo "";
 $handle = opendir($dir);
   while (false!==($file = readdir($handle)))
   { 
if ($file != "." && $file != "..")
{ 
if($mode == 1){
  if(is_file($dir."/".$file)){
  // Commented out for fixing this error
   echo $file." 
(".convert(filesize($dir."/".$file),"mbytes").")(".filetype($dir."/".$file).")(".fileperms($dir."/".$file).")\n";
  }
 }
 if(is_dir($dir."/".$file)){
  $dirhandle = opendir($dir."/".$file);
  while(false!==($filetocheck=readdir($dirhandle))){
   if(!isset($totalsize))
$totalsize = filesize($dir."/".$file."/".$filetocheck);
   else
$totalsize = $totalsize + filesize($dir."/".$file."/".$filetocheck);
  }
  if($mode == 1){
   echo "\\".$file." 
(".convert($totalsize,"mbytes").")\n";
   showdir($dir."/".$file, 1);
  }
  if($mode == 0){
   echo "\\".$file." 
(".convert($totalsize,"mbytes").")\n";
   showdir($dir."/".$file, 0);
  }
 }
  }
  }
   echo "";
  }
  showdir($foldertoview, 0);
  ?>stop_timing();
$timer->print_runtime();
?>

Now change the $foldertoview to any folder, if you want to know the total of your 
system, put it as / that should work in unix and windows, hell i tested that on win98 
systemits great, every place that wants to know where its space is going should 
have it, even a little person computer should have it to see whats going where...hehe

Tell me what you think...
- James "ReDucTor" Mitchell



Re: [PHP] split() function

2001-07-04 Thread ReDucTor

$line = explode("[(&|//)]",$field); should work, or you might have to put
 but thats not \ so you shouldn't need to comment out the slash...
- Original Message -
From: David A Dickson <[EMAIL PROTECTED]>
To: php-general <[EMAIL PROTECTED]>
Sent: Thursday, July 05, 2001 4:37 AM
Subject: [PHP] split() function


> I have a comma separated spreadsheet with one field that contains two
dates. the dates are formatted as dd/mm/yy and separated by either '&' or
'//' ex:3/12/92&28/1/93 or 3/12/92//28/1/93
> Problem: I need to split the field at the '&' or '//' separator but if I
do
> split('[&//]', $field);
> it splits on the '/' not the '//'.
> Can I do this in one function call to split() or will I have to do it
twice?
> ---
> : David A. Dickson
> : Web Designer for the offices of Principal and Provost
> : McGill University
> : Tel 514-398-2624 | Fax 514-389-8983
> : [EMAIL PROTECTED]
>
>
>
>
> Get 250 color business cards for FREE!
> http://businesscards.lycos.com/vp/fastpath/
>
> --
> 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 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] Basic fopen() question

2001-07-04 Thread ReDucTor

file() http://php.net/file
- Original Message -
From: JCampbell <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, July 05, 2001 10:48 AM
Subject: [PHP] Basic fopen() question


> I had an example of a function to open a file and read its contents into
an
> array. It worked so that each line of the file was one element of the
array.
> I can't find my example, nor can I get it to work the way I'd like. Any
> help?
>
>
> =-
> Jonathan Campbell ( [EMAIL PROTECTED] )
>
> Mid days haze and I'm still not awake
> I got everything going but my bills are still late
> Funnier than hell and I think it's a blast
> Life's like a laugh when you got no money
>
> Lyrics from "Average Day" by Aztek Trip ( http://www.aztektrip.com )
>
>
> --
> 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 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] Parse URL parameters

2001-07-05 Thread ReDucTor

$vars = array();
$url2 = explode("?", $url);
$url3 = explode("&", $url2[1]);
for($i=0;$i
To: <[EMAIL PROTECTED]>
Sent: Thursday, July 05, 2001 5:19 PM
Subject: [PHP] Parse URL parameters


> How can I parse parameters sent with the URL of an pgp site?
> 
> Example: I call the site with
> http://www.server.xyz/sub/site.php?a1=123&a2=312
> How can I get the values of a1 and a2?
> 
> Thanks, folks!
> Andy.
> 
> 
> 
> -- 
> 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 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] Submiting Data with an '

2001-07-05 Thread ReDucTor

addslashes()
php.net/addslashes
- Original Message -
From: Chris Anderson <[EMAIL PROTECTED]>
To: Matthew Loff <[EMAIL PROTECTED]>; 'Mike Mike' <[EMAIL PROTECTED]>;
<[EMAIL PROTECTED]>
Sent: Friday, July 06, 2001 12:45 PM
Subject: Re: [PHP] Submiting Data with an '


> On the same subject, can I make it automatically addslahes to my
variables?
> Or should I just make my own mysql class?
> - Original Message -
> From: "Matthew Loff" <[EMAIL PROTECTED]>
> To: "'Mike Mike'" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
> Sent: Thursday, July 05, 2001 3:29 PM
> Subject: RE: [PHP] Submiting Data with an '
>
>
> >
> > Use the addslashes() call to automatically escape characters like that.
> >
> > MySQL will not add the slashes into the table cell, so no need to
> > stripslashes() after you SELECT it back out.
> >
> >
> > -Original Message-
> > From: Mike Mike [mailto:[EMAIL PROTECTED]]
> > Sent: Thursday, July 05, 2001 3:19 PM
> > To: [EMAIL PROTECTED]
> > Subject: [PHP] Submiting Data with an '
> >
> >
> > Hello everyone,
> > I'm having a problem of submiting an ' into a mysql
> > database.  When I have a ' it doesn't update or submit
> > the data.  but if I use \' it works fine.  Does anyone
> > know of a way around this.
> > Thanks
> >   --Mike
> >
> > __
> > Do You Yahoo!?
> > Get personalized email addresses from Yahoo! Mail
> > http://personal.mail.yahoo.com/
> >
> > --
> > 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 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 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 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] testing

2001-07-05 Thread ReDucTor

I'm on my way to Mars atm...
- Original Message - 
From: McShen <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, July 06, 2001 1:09 PM
Subject: [PHP] testing


> where are u guys?
> 
> 
> 
> -- 
> 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 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] testing

2001-07-05 Thread ReDucTor

Hey, how is micket pro going?
- Original Message -
From: Chris "TunkeyMicket" Watford <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, July 06, 2001 4:41 PM
Subject: Re: [PHP] testing


> Hi2u ReDucTor
>
> Chris "TunkeyMicket" Watford
> 
> TunkeyMicket Productions
> www.tunkeymicket.com
>
> - Original Message -
> From: "ReDucTor" <[EMAIL PROTECTED]>
> To: "McShen" <[EMAIL PROTECTED]>
> Cc: <[EMAIL PROTECTED]>
> Sent: Thursday, July 05, 2001 11:13 PM
> Subject: Re: [PHP] testing
>
>
> > I'm on my way to Mars atm...
> > - Original Message -
> > From: McShen <[EMAIL PROTECTED]>
> > To: <[EMAIL PROTECTED]>
> > Sent: Friday, July 06, 2001 1:09 PM
> > Subject: [PHP] testing
> >
> >
> > > where are u guys?
> > >
> > >
> > >
> > > --
> > > 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 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 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 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] testing

2001-07-05 Thread ReDucTor

Mind sending me a copy?
- Original Message -
From: Chris "TunkeyMicket" Watford <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, July 06, 2001 5:10 PM
Subject: Re: [PHP] testing


> Was 100% done, now 70% done as a hard-drive crash set me back a bit...
>
> Chris "TunkeyMicket" Watford
> 
> TunkeyMicket Productions
> www.tunkeymicket.com
>
> - Original Message -
> From: "ReDucTor" <[EMAIL PROTECTED]>
> To: "Chris "TunkeyMicket" Watford" <[EMAIL PROTECTED]>
> Cc: <[EMAIL PROTECTED]>
> Sent: Friday, July 06, 2001 3:10 AM
> Subject: Re: [PHP] testing
>
>
> > Hey, how is micket pro going?
> > - Original Message -
> > From: Chris "TunkeyMicket" Watford <[EMAIL PROTECTED]>
> > To: <[EMAIL PROTECTED]>
> > Sent: Friday, July 06, 2001 4:41 PM
> > Subject: Re: [PHP] testing
> >
> >
> > > Hi2u ReDucTor
> > >
> > > Chris "TunkeyMicket" Watford
> > > 
> > > TunkeyMicket Productions
> > > www.tunkeymicket.com
> > >
> > > - Original Message -
> > > From: "ReDucTor" <[EMAIL PROTECTED]>
> > > To: "McShen" <[EMAIL PROTECTED]>
> > > Cc: <[EMAIL PROTECTED]>
> > > Sent: Thursday, July 05, 2001 11:13 PM
> > > Subject: Re: [PHP] testing
> > >
> > >
> > > > I'm on my way to Mars atm...
> > > > - Original Message -
> > > > From: McShen <[EMAIL PROTECTED]>
> > > > To: <[EMAIL PROTECTED]>
> > > > Sent: Friday, July 06, 2001 1:09 PM
> > > > Subject: [PHP] testing
> > > >
> > > >
> > > > > where are u guys?
> > > > >
> > > > >
> > > > >
> > > > > --
> > > > > 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 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 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 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 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] Number of the line ?

2001-07-06 Thread ReDucTor

get editplus at editplus.com great program, has syntax highlighting,
numbers, auto complete, everything
   - James "ReDucTor" Mitchell
- Original Message -
From: Emmanuel FAIVRE <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, July 06, 2001 6:19 PM
Subject: [PHP] Number of the line ?


> Hi All,
>
> i'm currently writing a debugging lib in PHP and i would like to find
> the number of the line in my script
>
> when i made an
>
> myfile.php
>
> 1  2 echo "i'm on line $NUMBER_LINE\n";
> 3 echo "i'm on line $NUMBER_LINE\n";
> 4 ?>
>
> would give :
>
> i'm on line 2
> i'm on line 3
>
> it perhaps exists because when we have warning we see the line number
>
> Thanks
>
>
> Manu
>
>
> --
> 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 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] hey, got a question....

2001-07-06 Thread ReDucTor

i can't seem to access certain ports, through a nat program i have setup on the 
computer here with the net, but i was thinking i could use something like socks, 
because i want to setup some fsockopen() stuff...but i can't use it on the ports i 
want, just frezzez...works over the lan fine, and over the net on ports i can access...



Re: [PHP] hey, got a question....

2001-07-06 Thread ReDucTor

It's just a port that isn't open on the NAT, i have attempted to open it,
just isn't opening, but i want to know if it is possible to use Socks in PHP
- Original Message -
From: Kurt Lieber <[EMAIL PROTECTED]>
To: ReDucTor <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Saturday, July 07, 2001 2:48 AM
Subject: Re: [PHP] hey, got a question


> sounds like a firewall issue to me -- do you have a firewall in between
your
> computer and your 'net connection?  Might run a port scan on your default
> gateway (which is likely your firewall if you have one) to see what ports
> it's allowing inbound.
>
> Alternatively, you could have a router that has some ports closed down.
> Again, a port scan will show this.  (and might also tick off your net
admin)
>
> Either way, most likely not a php issue.
>
> --kurt
> - Original Message -
> From: "ReDucTor" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Friday, July 06, 2001 9:34 AM
> Subject: [PHP] hey, got a question
>
>
> i can't seem to access certain ports, through a nat program i have setup
on
> the computer here with the net, but i was thinking i could use something
> like socks, because i want to setup some fsockopen() stuff...but i can't
use
> it on the ports i want, just frezzez...works over the lan fine, and over
the
> net on ports i can access...
>
>
>
> --
> 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 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] hey, got a question....

2001-07-06 Thread ReDucTor

Windows
- Original Message -
From: Christopher Allen <[EMAIL PROTECTED]>
To: ReDucTor <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Friday, July 06, 2001 2:45 AM
Subject: Re: [PHP] hey, got a question


> what's the OS?
>
>
> ----- Original Message -
> From: "ReDucTor" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Friday, July 06, 2001 11:34 AM
> Subject: [PHP] hey, got a question
>
>
> i can't seem to access certain ports, through a nat program i have setup
on
> the computer here with the net, but i was thinking i could use something
> like socks, because i want to setup some fsockopen() stuff...but i can't
use
> it on the ports i want, just frezzez...works over the lan fine, and over
the
> net on ports i can access...
>
>
>
> --
> 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 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] hey, got a question....

2001-07-06 Thread ReDucTor

nothing wrong with windows
- Original Message -
From: Christopher Allen <[EMAIL PROTECTED]>
To: ReDucTor <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Friday, July 06, 2001 3:21 AM
Subject: Re: [PHP] hey, got a question


> well theres your problem...winblows.lol
> - Original Message -
> From: "ReDucTor" <[EMAIL PROTECTED]>
> To: "Christopher Allen" <[EMAIL PROTECTED]>
> Cc: <[EMAIL PROTECTED]>
> Sent: Friday, July 06, 2001 11:58 AM
> Subject: Re: [PHP] hey, got a question
>
>
> > Windows
> > - Original Message -
> > From: Christopher Allen <[EMAIL PROTECTED]>
> > To: ReDucTor <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
> > Sent: Friday, July 06, 2001 2:45 AM
> > Subject: Re: [PHP] hey, got a question
> >
> >
> > > what's the OS?
> > >
> > >
> > > - Original Message -
> > > From: "ReDucTor" <[EMAIL PROTECTED]>
> > > To: <[EMAIL PROTECTED]>
> > > Sent: Friday, July 06, 2001 11:34 AM
> > > Subject: [PHP] hey, got a question
> > >
> > >
> > > i can't seem to access certain ports, through a nat program i have
setup
> > on
> > > the computer here with the net, but i was thinking i could use
something
> > > like socks, because i want to setup some fsockopen() stuff...but i
can't
> > use
> > > it on the ports i want, just frezzez...works over the lan fine, and
over
> > the
> > > net on ports i can access...
> > >
> > >
> > >
> > > --
> > > 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 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 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 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] file function. please help..

2001-07-06 Thread ReDucTor

huh, explain a little more???
- Original Message - 
From: Doron <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, July 07, 2001 6:09 PM
Subject: [PHP] file function. please help..


> hello.
> how can i make the file function to put the first 9 lines, in values
> 01, 02, 03, 04, 05, 06, 07, 08, 09
> instead of
> 1, 2, 3, 4, 5, 6, 7, 8, 9?
> 
> 
> 10x...
> 
> 
> 
> -- 
> 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 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] foreach loop

2001-07-07 Thread ReDucTor

We would blame Mac/Apple
- Original Message -
From: PHPBeginner.com <[EMAIL PROTECTED]>
To: John Meyer <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Sunday, July 08, 2001 3:10 AM
Subject: RE: [PHP] foreach loop


>
>
> >If we didn't have Microsoft, we'd have to blame ourselves for all of our
> >programs crashing
>
>
> I really don't think so
> :-)
>
> -maxim maletsky
>
>
> --
> 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 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] simple question

2001-07-08 Thread ReDucTor

is there a function to turn all chars that are not alphanumric to show \xhh but hh 
being the hex version of it :)?



Re: [PHP] simple question

2001-07-08 Thread ReDucTor

this is wierd, i have the following...

$buffer = eregi_replace("[^A-Z0-9]", "(\\x".dechex(ord("\\1")).")" ,
$buffer);

and this is what buffer is

m192.168.0.2:27015Counter-Strike 1.1
Serverde_dust2cstrikeCounterStrike+dwwww.nuclearbox.com/podbot

but this is what comes out

(\x5c)(\x5c)(\x5c)(\x5c)m192(\x5c)168(\x5c)0(\x5c)2(\x5c)27015

and \x5c is \

ne1 know why?
- Original Message -
From: Chris Lambert <[EMAIL PROTECTED]>
To: ReDucTor <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Monday, July 09, 2001 2:47 AM
Subject: Re: [PHP] simple question


> Lowercase letters are included (eregI_replace) but you could add number
> support with:
> [^A-Z0-9]
>  __
> / Chris Lambert - [EMAIL PROTECTED]
> |-> ICQ #: 16435685 - AIM: ClipperChris
> `-> Cell: (401) 743-2786 - http://sms.clambert.org/
> - Original Message -
> From: ReDucTor <[EMAIL PROTECTED]>
> To: Chris Lambert - WhiteCrown Networks <[EMAIL PROTECTED]>
> Sent: Sunday, July 08, 2001 11:45 AM
> Subject: Re: [PHP] simple question
>
>
> | nice, but i might change it to have lower case and numbers...hehehe
> |
> | btw thx
> | - Original Message -
> | From: Chris Lambert - WhiteCrown Networks <[EMAIL PROTECTED]>
> | To: <[EMAIL PROTECTED]>
> | Sent: Monday, July 09, 2001 12:50 AM
> | Subject: Re: [PHP] simple question
> |
> |
> | > eval("\$string=\"".eregi_replace("([^A-Z])",
> | > "\\x\".dechex(ord(\"\\1\")).\"", $string)."\";");
> | >
> | > ;-)
> | >
> | > /* Chris Lambert, CTO - [EMAIL PROTECTED]
> | > WhiteCrown Networks - More Than White Hats
> | > Web Application Security - www.whitecrown.net
> | > */
> | >
> | > - Original Message -
> | > From: ReDucTor <[EMAIL PROTECTED]>
> | > To: <[EMAIL PROTECTED]>
> | > Sent: Sunday, July 08, 2001 10:18 AM
> | > Subject: [PHP] simple question
> | >
> | >
> | > is there a function to turn all chars that are not alphanumric to show
> | \xhh
> | > but hh being the hex version of it :)?
> | >
> | >
> | >
> | > --
> | > 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 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 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] Domain question

2001-07-09 Thread ReDucTor

Hey,
   What are some domain places that allow mass whois??? for like a few hundred domains 
at once...?
   - Jame "ReDucTor" Mitchell



[PHP] PDF Problems

2001-07-09 Thread ReDucTor

I get undefined func on pdf_new but on all the other pdf functions they work, but i 
first need the pdf_new then i tried cpdf, all works, but i can't seem to get text onto 
a page...HELP ME
- James "ReDucTor" Mitchell



Re: [PHP] PDF Problems

2001-07-09 Thread ReDucTor

Shit i only have 4.0 ):
- Original Message - 
From: David Robley <[EMAIL PROTECTED]>
To: ReDucTor <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Tuesday, July 10, 2001 4:18 PM
Subject: Re: [PHP] PDF Problems


> On Tue, 10 Jul 2001 15:40, ReDucTor wrote:
> > I get undefined func on pdf_new but on all the other pdf functions they
> > work, but i first need the pdf_new then i tried cpdf, all works, but i
> > can't seem to get text onto a page...HELP ME - James "ReDucTor"
> > Mitchell
> 
> That function wasn't introduced until 4.0.5, according to the manual. Is 
> your version sufficiently up to date?
> 
> -- 
> David Robley  Techno-JoaT, Web Maintainer, Mail List Admin, etc
> CENTRE FOR INJURY STUDIES  Flinders University, SOUTH AUSTRALIA  
> 
>Will the information superhighway have any rest stops?
> 
> -- 
> 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 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] PDF Problems

2001-07-09 Thread ReDucTor

Fatal error: PDFlib error: Beta expired - retrieve new version from
www.pdflib.com in c:\phpdev3\www\pdf\test.php on line 2
hahahahha
- Original Message -
From: ReDucTor <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, July 10, 2001 4:22 PM
Subject: Re: [PHP] PDF Problems


> Shit i only have 4.0 ):
> - Original Message -
> From: David Robley <[EMAIL PROTECTED]>
> To: ReDucTor <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
> Sent: Tuesday, July 10, 2001 4:18 PM
> Subject: Re: [PHP] PDF Problems
>
>
> > On Tue, 10 Jul 2001 15:40, ReDucTor wrote:
> > > I get undefined func on pdf_new but on all the other pdf functions
they
> > > work, but i first need the pdf_new then i tried cpdf, all works, but i
> > > can't seem to get text onto a page...HELP ME - James "ReDucTor"
> > > Mitchell
> >
> > That function wasn't introduced until 4.0.5, according to the manual. Is
> > your version sufficiently up to date?
> >
> > --
> > David Robley  Techno-JoaT, Web Maintainer, Mail List Admin, etc
> > CENTRE FOR INJURY STUDIES  Flinders University, SOUTH AUSTRALIA
> >
> >Will the information superhighway have any rest stops?
> >
> > --
> > 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 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 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] Problem with is_file function on WinNT and apache HELP!

2001-07-13 Thread ReDucTor

http://www.evilwalrus.com/download_agree.php?codeEx=304 is a good example of
using directory handles, works in windows...
- Original Message -
From: Antony Cleave <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, July 14, 2001 1:17 AM
Subject: [PHP] Problem with is_file function on WinNT and apache HELP!


> I am trying to dynamically generate an image gallery from a directory iof
> images.
> To do this I am using the following code
>
>  while (false!==($file = readdir($handle)))
>{
>  if ((is_file($file)))
>  {
>   echo .. Link info here
>   }
>}
> Only problem is that none of the files in the folder apper to be files
> according to PHP
> I tried using
>
> if (!(is_dir($file))
> This returns every entry in the folder bar . and ..
> BUT it includes the all of the other directories in the directory.
> As I need to check the file extension before I link to it this is a
serious
> problem as PHP crashes apache when trying to find the file extension of a
> directory.
>
> Any Ideas?
>
> Thanks in advance
> Antony Cleave
>
>
>
> --
> 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 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] Message from hunter Problems

2001-07-15 Thread ReDucTor

hey,
 That message sent here, by hunter the "Re: [PHP] Anybody using Miva or hosted at 
...", i open it in outlook, and my outlook frezzes...any one know why? :)
 - James "ReDucTor" Mitchell



Re: [PHP] Getting the current URL (with arguments) as a variable, then removing another variable from that ?

2001-07-17 Thread ReDucTor

myfile.php?sub=web&page=web1 shouldn't it be?!!?!?
- Original Message -
From: Justin Colson <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, July 18, 2001 1:51 AM
Subject: [PHP] Getting the current URL (with arguments) as a variable, then
removing another variable from that ?


> Is there a way that I can get the current URL, like
>
> myfile.php?sub=web?page=web1
>
> And then remove the ?sub=web from it, even if the value of ?sub is
different
> ? Someone said something about $PHP_SELF but I dont know where to go from
> there.
>
>
>
> --
> 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 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] Sessions + Variables + includes

2001-07-19 Thread ReDucTor


 
 
   Username : 
   Password : 
  


   Profile
Moo
   
- Original Message - 
From: dosenbrei <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, July 19, 2001 10:01 PM
Subject: [PHP] Sessions + Variables + includes


> 
> 
> Hi
> 
> Sorry for my bad english ;-)
> 
> I'm writing an application using php and sessions.
> In the first include file i'm writing something like this
> 
> session_start();
> session_register(loggedin);
> 
> The i have another include file with the functions.
> When i'm submitting the username and passwort to the function
> which checks them i'd like to set loggedin to 1 how does this work?
> 
> function CheckLogin($username,$password)
> {
> if($username=='test' && $password=='user')
> {
> $loggedin=1;
> header("location:secretpage.php");
> }
> else
> {
> $loggedin =0;
> header("location:login.php")
> }
> 
> Can i user include with sessions or doe i have to use requiere?
> I also tried to set the $loggedin to 1 this way:
> 
> $HTTP_SESSION_VARS[loggedin]=1;
> 
> This doesn't work too.
> 
> Please help me
> 
> 
> THX
> 
> -- 
> 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 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] Paypal and PHP

2001-07-19 Thread ReDucTor

Hey,
does any one know a way to use paypal with php?
  - James "ReDucTor" Mitchell



Re: [PHP] set decimal

2001-07-19 Thread ReDucTor

$var = round(2.3100, $var);
- Original Message -
From: Franky <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, July 20, 2001 4:38 AM
Subject: [PHP] set decimal


> Can i set the precision like 2 decimal or 4 decimal?
>
> 2.31 to 2.3100
>
> Thanks
>
> --
> --=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=--
>  François Boucher
>[EMAIL PROTECTED]
>___
>   _  (  hello... )
>   Q   _/\ __/
>  
>   ¸L
> --=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=--
>
>
>
> --
> 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 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] Can't think of a topic(but help)

2001-07-19 Thread ReDucTor

hey,
  i am wonder if there is a way to turn my php files into an executable or into a 
bunch of html files, so if i where to send them to some one that isn't running php 
they would be able to use them?!?
  - James "ReDucTor" Mitchell



[PHP] Stoping Frame Breakers

2001-07-19 Thread ReDucTor

hey,
   Does any one know how to stop people breaking frames?!?
 - James "ReDucTor" Mitchell



[PHP] netBIOS, Windows, Sockets, fsockopen help

2001-07-21 Thread ReDucTor

Hey,
  I am wondering if any one has any details on netBIOS, and stuff, so then i
can browse shared files and folders on another computer, with in php i have
tried looking up the commands sent, but haven't managed to find any...
  - James "ReDucTor" Mitchell


-- 
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] netBIOS, Windows, Sockets, fsockopen help

2001-07-21 Thread ReDucTor

ya, i've just been looking at that, doesn't apear to have much detail...
the msdn doesn't have jack shit, other then it's functions...
- Original Message -
From: Chris Schneck <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Sunday, July 22, 2001 10:01 AM
Subject: Re: [PHP] netBIOS, Windows, Sockets, fsockopen help


> Try messing around with the popular linux package samba, in particual
> smbmount. You may also need to read up on ports 137, 138, 139.
>
> ----- Original Message -
> From: "ReDucTor" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Saturday, July 21, 2001 4:47 PM
> Subject: [PHP] netBIOS, Windows, Sockets, fsockopen help
>
>
> > Hey,
> >   I am wondering if any one has any details on netBIOS, and stuff, so
then
> i
> > can browse shared files and folders on another computer, with in php i
> have
> > tried looking up the commands sent, but haven't managed to find any...
> >   - James "ReDucTor" Mitchell
> >
> >
> > --
> > 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 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 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] Replace ANYTHING between

2001-07-22 Thread ReDucTor

".nl2br(htmlspecialchars(stripslashes($somevar)))."";
?>
- Original Message -
From: Dan Krumlauf <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, July 23, 2001 2:36 PM
Subject: [PHP] Replace ANYTHING between  


> I've been trying this one for a bit and Im in a twist.
>
> I need to replace ANYTHING or even nothing between two tags
> with the contents of a variable and just havent been
> able to get the expression right for all cases.
>
>
> As an example concept follows:
>
> 
>
> Nothing between the tags variable is $varname="some junk"
>
> so after the function
> some junk
>
> run it again after making variable $varname="some completly different
junk"
>
> so now the tags would be
>
> some completly different junk
>
> and so on and so on.
>
> One other breaker Ive had, it needs to always replace no matter whats
> between the tags, whats not between the tags or even if its 1000s of
> characters. My code kept breaking when it was alot of characters.
>
> Any funtions or even just the right regex would be appreciated
>
> Thanks
>
> --
> 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 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] Clarify: SEARCH AND replace between

2001-07-22 Thread ReDucTor

$line = ereg_replace("<(*.)>", "", $line);

that should remove the tags, and there contents
- Original Message -
From: Dan Krumlauf <[EMAIL PROTECTED]>
To: php list <[EMAIL PROTECTED]>
Sent: Monday, July 23, 2001 4:33 PM
Subject: [PHP] Clarify: SEARCH AND replace between  


> Sorry I wasn't clear. I need to search for the  combo
> in an html file. Thats why I asked for a regex. So I need to
> load in the html SEARCH for the tags and anything in between the tags
throw out
> and REPLACE with the contents of a variable and then
> rewrite the file. My orginal message follows:
>
> > I've been trying this one for a bit and Im in a twist.
> >
> > I need to replace ANYTHING or even nothing between two tags
> > with the contents of a variable and just havent been
> > able to get the expression right for all cases.
> >
> >
> > As an example concept follows:
> >
> > 
> >
> > Nothing between the tags variable is $varname="some junk"
> >
> > so after the function
> > some junk
> >
> > run it again after making variable $varname="some completly different
> junk"
> >
> > so now the tags would be
> >
> > some completly different junk
> >
> > and so on and so on.
> >
> > One other breaker Ive had, it needs to always replace no matter whats
> > between the tags, whats not between the tags or even if its 1000s of
> > characters. My code kept breaking when it was alot of characters.
> >
> > Any funtions or even just the right regex would be appreciated
> >
> > Thanks
>
> --
> 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 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] need help w/ variables

2001-07-22 Thread ReDucTor

add to the top of the script

error_reporting(E_ALL & ~E_NOTICE);
- Original Message -
From: Virgil Claritt <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, July 23, 2001 2:57 PM
Subject: [PHP] need help w/ variables


> when i use this script:
>
>  session_start();
> if ($op == "ds") {
>  if (($username != "admin") ||($password != "admin")) {
>$msg = "Bad Login - Try
> Again>";
>$show_form = "yes";
>} else {
> session_register('valid');
> $valid = "yes";
> $show_menu = "yes";
> }
>} else  {
> if ($valid == "yes")  {
>$show_menu = "yes";
>} else  {
> $show_form = "yes";
> }
> }
>
> $form_block = "
>  Login
>   $msg
>
> Login Name:
> 
> 
>
>
> Password:
> 
> 
>
>
>
>
> 
>
>   
> ";
>
> $menu_block = "
>  Contact Administration System
>   
>Administration
>
> Add Contact
> Modify Contact
> Delete Contact
>
>   
>View Records
>
> Show Contacts
>
> ";
> if ($show_form == "yes") {
> $display_block = $form_block;
> } else if ($show_menu == "yes") {
> $display_block = $menu_block;
> }
> ?>
>
> 
>  
>   
>  
>  
>   
>
>   
>  
> 
>
>
> i would get this error:
>
> Warning: Undefined variable: op in c:\inetpub\wwwroot\.php on line 3
>
> Warning: Undefined variable: valid in c:\inetpub\wwwroot\.php on line
13
>
> Warning: Undefined variable: msg in c:\inetpub\wwwroot\.php on line 23
>
> my variables are clearly defined in the script
> please help this is happening in all my scripts
>
> win2000 iis 5
> most recent php4 and mysql installed
> phpinfo.php = http://24.165.118.187/phpinfo.php
>
>
>
>
>
> --
> 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 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] need help w/ variables

2001-07-22 Thread ReDucTor

did u try what i said???
- Original Message -
From: Virgil Claritt <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, July 23, 2001 3:13 PM
Subject: Re: [PHP] need help w/ variables


> i dont quite get it what your saying
> it is clearly defined at the top
> $op is equal to ds
> $valid is equal to yes
> $msg is equal to Bad Login
>
>
> "Reductor" <[EMAIL PROTECTED]> wrote in message
> 002701c11335$ac5dafe0$0200a8c0@ReDucTor">news:002701c11335$ac5dafe0$0200a8c0@ReDucTor...
> > add to the top of the script
> >
> > error_reporting(E_ALL & ~E_NOTICE);
> > - Original Message -
> > From: Virgil Claritt <[EMAIL PROTECTED]>
> > To: <[EMAIL PROTECTED]>
> > Sent: Monday, July 23, 2001 2:57 PM
> > Subject: [PHP] need help w/ variables
> >
> >
> > > when i use this script:
> > >
> > >  > > session_start();
> > > if ($op == "ds") {
> > >  if (($username != "admin") ||($password != "admin")) {
> > >$msg = "Bad Login - Try
> > > Again>";
> > >$show_form = "yes";
> > >} else {
> > > session_register('valid');
> > > $valid = "yes";
> > > $show_menu = "yes";
> > > }
> > >} else  {
> > > if ($valid == "yes")  {
> > >$show_menu = "yes";
> > >} else  {
> > > $show_form = "yes";
> > > }
> > > }
> > >
> > > $form_block = "
> > >  Login
> > >   $msg
> > >
> > > Login Name:
> > > 
> > > 
> > >
> > >
> > > Password:
> > > 
> > > 
> > >
> > >
> > >
> > >
> > > 
> > >
> > >   
> > > ";
> > >
> > > $menu_block = "
> > >  Contact Administration System
> > >   
> > >Administration
> > >
> > > Add Contact
> > > Modify Contact
> > > Delete Contact
> > >
> > >   
> > >View Records
> > >
> > > Show Contacts
> > >
> > > ";
> > > if ($show_form == "yes") {
> > > $display_block = $form_block;
> > > } else if ($show_menu == "yes") {
> > > $display_block = $menu_block;
> > > }
> > > ?>
> > >
> > > 
> > >  
> > >   
> > >  
> > >  
> > >   
> > >
> > >   
> > >  
> > > 
> > >
> > >
> > > i would get this error:
> > >
> > > Warning: Undefined variable: op in c:\inetpub\wwwroot\.php on line
3
> > >
> > > Warning: Undefined variable: valid in c:\inetpub\wwwroot\.php on
> line
> > 13
> > >
> > > Warning: Undefined variable: msg in c:\inetpub\wwwroot\.php on
line
> 23
> > >
> > > my variables are clearly defined in the script
> > > please help this is happening in all my scripts
> > >
> > > win2000 iis 5
> > > most recent php4 and mysql installed
> > > phpinfo.php = http://24.165.118.187/phpinfo.php
> > >
> > >
> > >
> > >
> > >
> > > --
> > > 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 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 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] Re: need help w/ variables

2001-07-22 Thread ReDucTor

yep, thought so :D
- Original Message - 
From: Virgil Claritt <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, July 23, 2001 3:47 PM
Subject: [PHP] Re: need help w/ variables


> it was my error reporting along   i copied that script dtraight from the
> text book so i knew it wasnt the variables themselves
> 
> 
> 
> 
> -- 
> 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 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] Re: need help w/ variables

2001-07-22 Thread ReDucTor

that error is because the php error checking had been changed from the
default...but still some do have problems... :D
- Original Message -
From: Van Tate Jr. <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, July 23, 2001 5:01 PM
Subject: Re: [PHP] Re: need help w/ variables


> Ah! But never forget...the code in some books have bugs too.
>
> Van
>
> At 12:47 AM 7/23/01, you wrote:
> >it was my error reporting along   i copied that script dtraight from the
> >text book so i knew it wasnt the variables themselves
>
>
> --
> 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 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] question about forum

2001-07-22 Thread ReDucTor

This is my suggestion

Start with making your user management...setup design and layout management,
then do the browsing, then your viewing, then different catagories, then do
other little bits...
- Original Message -
From: Jason Wang <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, July 23, 2001 5:05 PM
Subject: [PHP] question about forum


> Dear all,
>
> I want to set up an online forum by using PHP.
> But I don't have a clue.
> Could somebody kind enough tell me where to start?
>
> thanks in advance.
>
>
> --
> 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 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] When did this become the advertising Mailing List

2001-07-23 Thread ReDucTor

When?!?


-- 
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] date HELP !!!!!

2001-07-23 Thread ReDucTor

$todaydate = date("m");
$tomorrowdate = date("m",time() + 86400); 
if($todaydate != $tomorrowdate){
   echo "Tomorrow is a new month";
}
- Original Message - 
From: Yamin Prabudy <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, July 23, 2001 5:27 PM
Subject: [PHP] date HELP !


> hi, 
> how do i check that the current date is the end of month
> 
> Thanks in Advance
> 
> 
> -- 
> 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 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] limit items per page

2001-07-23 Thread ReDucTor

What sort of database do you have, and what is your current source?!?
- Original Message -
From: Steph <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, July 23, 2001 6:52 PM
Subject: [PHP] limit items per page


Ive got an image gallery, and rather than having one really long page of
thumbnails, I'd like to have around 25 thumbnails (5 rows of 5 thumbs) per
page. Can you guys point me in the right direction??

Steph



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

2001-07-23 Thread ReDucTor

Hey does any one know if it is possible to do something like

read stuff thro file and printer sharing on a remote pc, i tried

\\computer\dir for the dirs but that didn't work any suggestions(btw i did
addslashes :D )

so ne ideas...please


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

2001-07-23 Thread ReDucTor

That didn't work, i am on a windows machine...and this is my personal
machine, so i don't wish to change to unix... :D but windows should have
more support for this then unix..
   - James "ReDucTor" Mitchell
- Original Message -
From: Matthew Loff <[EMAIL PROTECTED]>
To: 'ReDucTor' <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Tuesday, July 24, 2001 4:06 AM
Subject: RE: [PHP] Networking


>
> I don't see why you wouldn't be able to access that share... Did you try
> escaping the path?
>
> e.g. chdir("computer\\dir");
>
>
> -Original Message-
> From: ReDucTor [mailto:[EMAIL PROTECTED]]
> Sent: Monday, July 23, 2001 6:20 AM
> To: [EMAIL PROTECTED]
> Subject: [PHP] Networking
>
>
> Hey does any one know if it is possible to do something like
>
> read stuff thro file and printer sharing on a remote pc, i tried
>
> \\computer\dir for the dirs but that didn't work any suggestions(btw i
> did addslashes :D )
>
> so ne ideas...please
>
>
> --
> 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 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 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] Networking

2001-07-23 Thread ReDucTor

Windows Machine
- Original Message - 
From: Mark Roedel <[EMAIL PROTECTED]>
To: ReDucTor <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Tuesday, July 24, 2001 6:56 AM
Subject: RE: [PHP] Networking


> > -Original Message-
> > From: ReDucTor [mailto:[EMAIL PROTECTED]]
> > Sent: Monday, July 23, 2001 5:20 AM
> > To: [EMAIL PROTECTED]
> > Subject: [PHP] Networking
> > 
> > 
> > Hey does any one know if it is possible to do something like
> > read stuff thro file and printer sharing on a remote pc, i tried
> > \\computer\dir for the dirs but that didn't work any suggestions
> > (btw i did addslashes :D )
> 
> Are you trying to access these resources from a Windows machine (in
> which case I'd be surprised if something close to what you tried didn't
> work), or from something Unix-y?
> 
> If it's the latter, probably your best bet is going to be to get a copy
> of Sharity or Samba installed and mount the remote-machine resources so
> that you can treat them as local resources.
> 
> 
> ---
> Mark Roedel ([EMAIL PROTECTED])  ||  "There cannot be a crisis next week.
> Systems Programmer / WebMaster  ||   My schedule is already full."
>  LeTourneau University  ||-- Henry Kissinger
> 


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

2001-07-23 Thread ReDucTor

I just maped a network drive, and it worked that way, so i guess i should
use system commands to map them, read them, then unmap :D
 - James "ReDucTor" Mitchell
- Original Message -----
From: ReDucTor <[EMAIL PROTECTED]>
To: Mark Roedel <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Tuesday, July 24, 2001 9:19 AM
Subject: Re: [PHP] Networking


> Windows Machine
> - Original Message -
> From: Mark Roedel <[EMAIL PROTECTED]>
> To: ReDucTor <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
> Sent: Tuesday, July 24, 2001 6:56 AM
> Subject: RE: [PHP] Networking
>
>
> > > -Original Message-
> > > From: ReDucTor [mailto:[EMAIL PROTECTED]]
> > > Sent: Monday, July 23, 2001 5:20 AM
> > > To: [EMAIL PROTECTED]
> > > Subject: [PHP] Networking
> > >
> > >
> > > Hey does any one know if it is possible to do something like
> > > read stuff thro file and printer sharing on a remote pc, i tried
> > > \\computer\dir for the dirs but that didn't work any suggestions
> > > (btw i did addslashes :D )
> >
> > Are you trying to access these resources from a Windows machine (in
> > which case I'd be surprised if something close to what you tried didn't
> > work), or from something Unix-y?
> >
> > If it's the latter, probably your best bet is going to be to get a copy
> > of Sharity or Samba installed and mount the remote-machine resources so
> > that you can treat them as local resources.
> >
> >
> > ---
> > Mark Roedel ([EMAIL PROTECTED])  ||  "There cannot be a crisis next week.
> > Systems Programmer / WebMaster  ||   My schedule is already full."
> >  LeTourneau University  ||-- Henry Kissinger
> >
>
>
> --
> 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 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] The Program!

2001-07-23 Thread ReDucTor

Go find some safe lists, not a list like this...


- Original Message - 
From: Marty <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, July 24, 2001 11:00 AM
Subject: [PHP] The Program!


> Several months ago, I made a conscious decision not to 
> delete what I figured was just another "junk" e-mail. 
> That decision has changed my life.  Here you have the 
> very same opportunity in front of you.  If you take 
> just five minutes to read through the following 
> program you won't regret it.  See for yourself! 
> 
> Dear Friends & Future Millionaires: 
> AS SEEN ON NATIONAL TV: 
> Making over half a million dollars every 4 to 5 months 
> from your home for an investment of only $25 U.S. 
> Dollars expense one time 
> THANKS TO THE COMPUTER AGE AND THE INTERNET ! 
> == 
> BE A MILLIONAIRE LIKE OTHERS WITHIN A YEAR!!! 
> Before you say ''Bull'', please read the following. 
> This is the letter you have been hearing about on the 
> news lately. Due to the popularity of this letter on 
> the Internet, a national weekly news program recently 
> devoted an entire show to the investigation of this 
> program described below, to see if it really can make 
> people money. The show also investigated whether or 
> not the program was legal. Their findings proved once 
> and for all that there are ''absolutely NO Laws 
> prohibiting the participation in the program and if 
> people can -follow the simple instructions, they are 
> bound to make some mega bucks with only $25 out of 
> pocket cost''. DUE TO THE RECENT INCREASE OF 
> POPULARITY & RESPECT THIS PROGRAM HAS ATTAINED, IT IS 
> CURRENTLY WORKING BETTER THAN EVER. This is what one 
> had to say: ''Thanks to this profitable opportunity. I 
> was approached many times before but each time I 
> passed on it. I am so glad finally joined just to see 
> what one could expect in return for the minimal effort 
> and money required. To my astonishment, I received 
> total $610,470.00 in 21 weeks, with money still coming 
> in." 
> Pam Hedland, Fort Lee, New Jersey. 
> === 
> Here is another testimonial: "This program has been 
> around for a long time but I never believed in it. But 
> one day when I received this again in the mail I 
> decided to gamble my $25 on it. I followed the simple 
> instructions and voila . 3 weeks later the money 
> started to come in.  First month I only made $240.00 
> but the next 2 months after that I made a total of 
> $290,000.00. So far, in the past 8 months by 
> re-entering the program, I have made over $710,000.00 
> and I am playing it again. The key to success in this 
> program is to follow the simple steps and NOT change 
> anything.''  More testimonials later but first, 
> = PRINT THIS NOW FOR YOUR FUTURE REFERENCE == 
> $ 
> If you would like to make at least $500,000 every 4 to 
> 5 months easily and comfortably, please read the 
> following...THEN READ IT AGAIN and AGAIN!!! 
> $ 
> FOLLOW THE SIMPLE INSTRUCTIONS BELOW AND YOUR 
> FINANCIAL DREAMS WILL COME TRUE, GUARANTEED! 
> INSTRUCTIONS: 
> =Order all 5 reports shown on the list below = 
> For each report, send $5 CASH, THE NAME & NUMBER OF 
> THE REPORT YOU ARE ORDERING and YOUR E-MAIL ADDRESS to 
> the person whose name appears ON THAT LIST next to the 
> report. MAKE SURE YOUR RETURN ADDRESS IS ON YOUR 
> ENVELOPE TOP LEFT CORNER in case of any mail problems. 
> === When you place your order, make sure you order 
> each of the 5 reports. 
> You will need all 5 reports so that you can save them 
> on your computer and resell them. YOUR TOTAL COST $5 X 
> 5=$25.00. Within a few days you will receive, via 
> e-mail, each of the 5 reports from these 5 different 
> individuals. Save them on your computer so they will 
> be accessible for you to send to the 1,000's of people 
> who will order them from you. Also make a floppy of 
> these reports and keep it on your desk in case 
> something happens to your computer. IMPORTANT - DO NOT 
> alter the names of the people who are listed next to 
> each report, or their sequence on the list, in any way 
> other than what is instructed below in steps '' 1 
> through 6 '' or you will loose out on a majority of 
> your profits. Once you understand the way this works, 
> you will also see how it does not work if you change 
> it. Remember, this method has been tested, and if you 
> alter it, it will NOT work!!! People have tried to put 
> their friends/relatives names on all five thinking 
> they could get all the money. But it does not work 
> this way. Believe us, we all have tried to be greedy 
> and then nothing happened. So Do Not try to change 
> anything other than what is instructed. Because if you 
> do, it will not work for you. Remember, honesty reaps 
> the reward!!

Re: [PHP] PDFlib beginners request

2001-07-23 Thread ReDucTor

In the comments on the php.net pages, i found a few, but i gave up on using
pdf within php, because you had to pay about a thousand odd dollars just to
use the thing, so be prepared to put some cash in to it :D
 - James "ReDucTor" Mitchell
- Original Message -
From: By Proxy <[EMAIL PROTECTED]>
To: php general list <[EMAIL PROTECTED]>
Sent: Tuesday, July 24, 2001 12:11 PM
Subject: [PHP] PDFlib beginners request


> Hi. I  have just started to play with PDFlib, but the manual and php.net
> notes are not, to my simple self, particularly digestible. Does anyone
have
> any links to any tutorial pages or any handy hints they could point me to?
>
> Cheers
>
> Lee
>
>
> --
> 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 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] Copy Array.

2001-07-24 Thread ReDucTor

hows about $array2 = $array1; :D
- Original Message - 
From: Nick Davies <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, July 24, 2001 6:39 PM
Subject: [PHP] Copy Array.


> 
> Anyone know how to copy an array to another name?
> 
> I'm assumming that $array1 = $array2; doesn't work (at least it
> doesn't seem too :( ).
> 
> Thanks.
> 
> Nick.
> 
> 
> -- 
> 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 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] (//// <=== huh??)

2001-08-03 Thread ReDucTor

$var = stripslashes($var);
- Original Message -
From: "Gerard Samuel" <[EMAIL PROTECTED]>
To: "PHP" <[EMAIL PROTECTED]>
Sent: Friday, August 03, 2001 2:37 PM
Subject: [PHP] ( <=== huh??)


> In my script that puts out a form I have a drop down list which include
==>
> echo "$Education\n";
> echo "Bachelor's Degree\n";
>
> It uses a $PHP_SELF target.  After the form is submitted, on the new
> page, in the textbox I have Bachelor\\\'s Degree getting outputed by
> $Education and the more I submit the form the more "\" I get.
>
> Any ideas as to how to clean this up?
> Thanks
>
>
>
> --
> 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 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] large commercial websites that use php?

2001-08-07 Thread ReDucTor

sourceforge.net
planetsourceocde.com
f2s.com
easydns.com
hell, just use a search engine, and do a search for say .php .gov .edu and
you will find a great load of sites that have pages done it php...
  - James "ReDucTor" Mitchell
- Original Message -
From: "jose d lopez" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, August 08, 2001 1:53 PM
Subject: [PHP] large commercial websites that use php?


> I'm trying to convince some suits that PHP is widely
> used on large commercial websites- not just intranets
> and small sites.
>
> I've seen some posts on this, but since this mailing
> list keeps getting bigger- I wanted to put the
> question out again:
>
> What large commercial websites use php?
>
>
>
> Some that I have found:
> nbci.com
> sprint.ca
> livebid.amazon.com
> xoom.com
> mp3.lycos.com
> admworld.com
> communityconnect.com
> indy500.com
> viant.com
> dialpad.com
> ElectronicArts.com
> Viacom/MTV
>
> Thanks all for any input!
>
> __
> Do You Yahoo!?
> Make international calls for as low as $.04/minute with Yahoo! Messenger
> http://phonecard.yahoo.com/
>
> --
> 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 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] Bug?

2001-08-08 Thread ReDucTor

you must use float not int :D
- Original Message -
From: "Maxim Maletsky" <[EMAIL PROTECTED]>
To: "'[Intent A/S] Tais M. Hansen'" <[EMAIL PROTECTED]>;
<[EMAIL PROTECTED]>
Sent: Wednesday, August 08, 2001 7:01 PM
Subject: RE: [PHP] Bug?


> good point.
>
> ...and try this out:
>
>
> echo (int)((8.85-8)*100).'';
> echo ((8.85-8)*100).'';
>
>
> Kinda weird,
> can anyone explain?
>
>
> Thanks,
> Maxim Maletsky
>
>
>
> -Original Message-
> From: [Intent A/S] Tais M. Hansen [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, August 08, 2001 4:49 PM
> To: [EMAIL PROTECTED]
> Subject: [PHP] Bug?
>
>
> Hi!
>
> I just came across this weird thing. Bug? You tell me!
>
> print (int)((8.85-8)*100);
>
> I would think the line above would print "85". But for some reason, it
> prints "84"?? Can anyone tell me why that is?
>
> --
> Intent A/S
> Tais M. Hansen
> Web Developer
>
>
>
>
> --
> 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 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 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] Bug?

2001-08-08 Thread ReDucTor

if you use
echo (float)((8.85-8)*100);
it works because 8.85 go's to 0.85 and times that by 100, and you get 85
which is what you get...
- Original Message -
From: "Renze Munnik" <[EMAIL PROTECTED]>
To: "ReDucTor" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Wednesday, August 08, 2001 7:14 PM
Subject: Re: [PHP] Bug?


> On Wed, Aug 08, 2001 at 07:06:13PM +1000, ReDucTor wrote:
> > you must use float not int :D
>
> Using float doesn't solve the problem, does it? Point is that when
> using int, the damn thing doesn't get it straight. And that's WEIRD.
> I mean the result of (8.85-8)*100 is already an integer and not
> converting it to an integer the result is perfectly okay.
>
> Btw: (int)((8.85*100)-(8*100)), _does_ return a correct result.
>
> --
>
> * R&zE:
>
> -- 
> -- Renze Munnik
> -- DataLink BV
> --
> -- E: [EMAIL PROTECTED]
> -- W: +31 23 5326162
> -- F: +31 23 5322144
> -- M: +31 6 21811143
> -- H: +31 23 5516190
> --
> -- Stationsplein 82
> -- 2011 LM  HAARLEM
> --
> -- http://www.datalink.nl
> -- 
>



--
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] Bug?

2001-08-08 Thread ReDucTor

i found this
http://www.php.net/manual/en/language.types.double.php#warn.float-precision

it explains the problem

";
 echo (float)($q)."";
 echo (int)($q)."";
 echo var_dump($q)."";
?>
gives out
85
85
84
float(85)
- Original Message -
From: "Darius Ivanauskas" <[EMAIL PROTECTED]>
To: "Maxim Maletsky" <[EMAIL PROTECTED]>
Cc: "'[Intent A/S] Tais M. Hansen'" <[EMAIL PROTECTED]>;
<[EMAIL PROTECTED]>
Sent: Wednesday, August 08, 2001 7:18 PM
Subject: RE: [PHP] Bug?


> Hello,
>
> You shodld read http://www.php.net/manual/en/language.types.double.php and
>
http://www.php.net/manual/en/language.types.integer.php#language.types.integ
er.casting
>
>
> Regards,
> --
> Darius Ivanauskas
>
> On Wed, 8 Aug 2001, Maxim Maletsky wrote:
>
> > good point.
> >
> > ...and try this out:
> >
> >
> > echo (int)((8.85-8)*100).'';
> > echo ((8.85-8)*100).'';
> >
> >
> > Kinda weird,
> > can anyone explain?
> >
> >
> > Thanks,
> > Maxim Maletsky
> >
> >
> >
> > -Original Message-
> > From: [Intent A/S] Tais M. Hansen [mailto:[EMAIL PROTECTED]]
> > Sent: Wednesday, August 08, 2001 4:49 PM
> > To: [EMAIL PROTECTED]
> > Subject: [PHP] Bug?
> >
> >
> > Hi!
> >
> > I just came across this weird thing. Bug? You tell me!
> >
> > print (int)((8.85-8)*100);
> >
> > I would think the line above would print "85". But for some reason, it
> > prints "84"?? Can anyone tell me why that is?
> >
> > --
> > Intent A/S
> > Tais M. Hansen
> > Web Developer
> >
> >
> >
> >
> > --
> > 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 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 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 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 4 released date

2001-08-08 Thread ReDucTor

4.0.6 is out, and has been from the 23rd of June 2001..
- Original Message - 
From: "Deependra B. Tandukar" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, August 08, 2001 7:31 PM
Subject: [PHP] PHP 4 released date


> Greetings!
> 
> Can anybody give me, PHP4 released date?
> 
> Looking forward to hearing from you.
> 
> Warm Regards,
> DT
> 
> 
> -- 
> 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 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] Regular expressions

2001-08-08 Thread ReDucTor

$line = htmlentities(stripslashes($line));
$line = nl2br($line);
$line = eregi_replace("\[(link|url)=(.*)\](.*)\[/(link|url)\]","\\3",$line);
$line = eregi_replace("\[color=(.*)](.*)\[/color\]", "\\2", $line);
$line =
eregi_replace("\[(blockquote|indent)\](.*)\[/(blockquote|indent)\]",
"\\2", $line);
$line = eregi_replace("\[(img|image)\](.*)\[/(img|image)\]","",$line);
$line =
eregi_replace("\[(/?(b|hr|center|p|h1|h2|h3|h4|h5|h6|pre|u|i))\]","<\\1>",$l
ine);
// Auto-linking code. Converts http, ftp, and www URL's, and email
address, into a hyperlink
$line =
eregi_replace("([[:space:]])((f|ht)tp:\/\/[a-z0-9~#%@\&:=?\/\._-]+[a-z0-9~#%
@\&=?\/_-]+)", "\\1\\2", $line);
//http
$line =
eregi_replace("([[:space:]])(www\.[a-z0-9~#%@\&:=?\/\._-]+[a-z0-9~#%@\&=?\/_
-]+)", "\\1http://\\2\"; target=\"_blank\">\\2", $line); //
www.
$line =
eregi_replace("([[:space:]])([_\.0-9a-z-]+@([0-9a-z][0-9a-z-]+\.)+[a-z]{2,3}
)","\\1mailto:\\2\";>\\2", $line); // mail
  $line =
eregi_replace("^((f|ht)tp:\/\/[a-z0-9~#%@\&:=?\/\._-]+[a-z0-9~#%@\&=?\/_-]+)
", "\\1", $line); //http
$line =
eregi_replace("^(www\.[a-z0-9~#%@\&:=?\/\._-]+[a-z0-9~#%@\&=?\/_-]+)", "http://\\1\"; target=\"_blank\">\\1", $line); // www.
$line =
eregi_replace("^([_\.0-9a-z-]+@([0-9a-z][0-9a-z-]+\.)+[a-z]{2,3})","mailto:\\1\";>\\1", $line); // mail
  $line = eregi_replace("@","@",$line);
   $line = str_replace("  ", "  ", $line);
   $line = str_replace("[indent]", "", $line);
   $line = str_replace("[/indent]", "", $line);
   $line = str_replace("(TM)", "TM",
$line);
   $line = str_replace("\t",
" ", $line);
   echo $line;
- Original Message -
From: "Marc Davenport" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, August 08, 2001 11:38 PM
Subject: [PHP] Regular expressions


> Hello all,
>I've been trying to find a good regular expression pattern to find
> URLs.  I have found some that work fine when the protocol is included ie
> http://www.php.net . But I can not find one that will find www.php.net .
> Does anyone know where a good database of Regular expressions can be
> found? or have a regular expression that can do this?
>
> cheers,
> Marc Davenport
>
>
>
> --
> 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 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] Mail()

2001-08-12 Thread ReDucTor

>From : Your Name <[EMAIL PROTECTED]>

make sure you have the arrow things around it...

thats in your headers...
- Original Message - 
From: "Mahmoud Kassem" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, August 13, 2001 4:20 PM
Subject: [PHP] Mail()


> How can force my From: instead of the nobody@servername ?
> 


-- 
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] Site Stats/Server Logs

2001-08-13 Thread ReDucTor

what are some good things for analyising server logs?!?
I currently have Wusage, is there any better?!? :D
 - James "ReDucTor" Mitchell


-- 
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] Re: prob with session start

2001-08-14 Thread ReDucTor

header() must be before anything is writen on the page
  - Original Message - 
  From: Balaji Ankem 
  To: [EMAIL PROTECTED] 
  Sent: Tuesday, August 14, 2001 8:10 PM
  Subject: Fw: [PHP] Re: prob with session start



  Hi,Renze i tried u'r last solution first.But it is acting as same .no change.

  After that i tried u'r first solution i.e removing include and adding 
header("Location");

  It is giving the following error message.
  Warning: Cannot add header information - headers already sent in 
c:\www\authentication.php on line 40

  Thanks and regards
  -Balaji
- Original Message - 
From: Renze Munnik 
To: Balaji Ankem 
Cc: [EMAIL PROTECTED] 
Sent: Tuesday, August 14, 2001 2:26 PM
Subject: Re: [PHP] Re: prob with session start


I think I know what it is. The construction I mentioned to avoid the
reloading used three pages to login: the login-page, the validation
page and then some page that produces output to the user.
What you do, is include that output page in the validation page
(authentication.php). You shouldn't do that. Instead of the
include('super.php') you should use header("Location: super.php")
and instead of include('ordinary.php') you should use
header("Location: ordinary.php"). If you include
super.php/ordinary.php you still don't leave authentication.php.
That means that one can still reload authentication.php. Then the
browser asks for resubmitting the form. If you use header() instead
of include() you actually leave authentication.php and go to a
different page. The user can ofcourse reload that page, but that
page wasn't actually the result of a form-submital so the page will
then just be reloaded and no information will be resubmitted. Even
if one pushes Back from that page, he/she will not go back to
authentication.php but to login.html. And gone is your problem.

I think this should be your solution...


Oh... btw:

in authentication.php:
  session_register('$emp_id');
should be:
  session_register("emp_id");

and in logout.php:
  session_unregister($emp_id);
should be
  session_unregister("emp_id");

-- 

* R&zE:

-- 
-- Renze Munnik
-- DataLink BV
--
-- E: [EMAIL PROTECTED]
-- W: +31 23 5326162
-- F: +31 23 5322144
-- M: +31 6 21811143
-- H: +31 23 5516190
--
-- Stationsplein 82
-- 2011 LM  HAARLEM
--
-- http://www.datalink.nl
-- 

-- 
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 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] Execute a PHP script from unix (crontab)

2001-08-15 Thread ReDucTor

do you mean perl?!?
- Original Message -
From: "Augusto Cesar Castoldi" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, August 16, 2001 1:04 AM
Subject: [PHP] Execute a PHP script from unix (crontab)


> Hi.
>
> How can I execute a php script from the unix?
>
> like pearl it's (pearl "file"), but in unix we don't have a "executable"
of
> php, it's a module ,right?
>
> I should compile the script first?
>
> I want this to add to crontab to make backup of my mysql automaticly.
>
> thanks.
>
> Augusto
>
>
> --
> 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 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] Date function

2001-08-15 Thread ReDucTor



- Original Message -
From: "Mike Mike" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, August 16, 2001 1:08 AM
Subject: [PHP] Date function


> Hello,
> I'm pulling a date out of MySQL as 2001-10-18.
> How do I make it print October 18 in php?
> Thanks much
>   --Mike
>
> __
> Do You Yahoo!?
> Make international calls for as low as $.04/minute with Yahoo! Messenger
> http://phonecard.yahoo.com/
>
> --
> 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 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] need real expert (geting outer files) *english/german*

2001-08-15 Thread ReDucTor

server.com?var=xyz

would put in the get var and set it to xyz

and it would give you $var = xyz you don't need the slash..

  - James "ReDucTor" Mitchell
- Original Message - 
From: "Tribun" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, August 16, 2001 1:11 AM
Subject: [PHP] need real expert (geting outer files) *english/german*


> Hi all.
> 
> I habe a strange problem!
> 
> I try to get a URL like: www.server.com?var=xyz
> 
> the problem is, that this is very good restricted by serverside.
> 
> But now I already get the file, and no more the error-message,
> but the problem is, that the file will not completly load.
> 
> this means, I receive the file, but only the first 4188 bytes from
> 11988 bytes.
> 
> If I call the site with a BROWSER, I'll get the full file, but it
> is nessessary to have this page into a string, to read out a specific
> position.
> 
> what could that be..?
> where is the problem?
> 
> does anybody know such a problem???
> 
> please help me.
> 
> If someone believes to have an answer, feel free to
> mail me any detailer questions.
> 
> thanks for all help.
> 
> Tribun (Patrick Lehnen)
> ---
> mp3o.net
> 
> 
> 
> -- 
> 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 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] security with email data entries

2001-08-15 Thread ReDucTor

well you add to your .forward file or .qmail-default file if you use qmail
to exec it(sends the email)

then you do something like this..


- Original Message -
From: "Chris Hayes" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, August 16, 2001 1:20 AM
Subject: [PHP] security with email data entries


> Hi group!
> i have this script to read data in POP emails and put them in a database.
>
> I would like to know if anybody knows how people would try to get around
the
> tests I've build in.
>
> - normal registration by web form (password scrambled), with confirmation
> through email response
> - the first header starting with 'From:' in the mail is scanned for a the
> email addtess and then i check whether the email address is in the
database
> - the mail contains the non-scrambled username and password, which are
also
> checked
> - there must be a magic word in the email subject (to prevent SPAM mail
> confusing my script)
>
> Oh and I intend only to disclose the email address to people i know.
>
> thanks,
> Chris
>
>
>
>
>
>
>
> 
> --  C.Hayes  Droevendaal 35  6708 PB Wageningen  the Netherlands  --
> 
>
>
>
> --
> 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 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] hacks we should know about

2001-08-16 Thread ReDucTor


- Original Message -
From: "Bob" <[EMAIL PROTECTED]>
To: "Rasmus Lerdorf" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Friday, August 17, 2001 2:17 PM
Subject: Re: [PHP] hacks we should know about


> rasmus, if password.inc is being parsed by php then how would you get the
> code??? won't it just be a blank page???   oh i thought up one more ...
>
> 4. checking for html tags and php scripting when accepting data from text
> boxes
>
>
> Rasmus Lerdorf wrote:
>
> > > hi i found it very helpful to know about hacks such as the below list
> > > and was wondering if anyone had any more dumb mistakes they could tell
> > > us before we make them.
> > >
> > > 1. http://www.somesite.com/source.php3?url=/etc/passwd
> > > 2. http://www.somesite.com?page=../../../../etc/passwd
> > > 3. not setting .inc files to be parsed by php
> >
> > This is the wrong solution to securing include files.  The correct
> > solution is to block any direct access to .inc files by either putting
> > them outside your document root or by using an Apache deny rule.
> >
> > -Rasmus
>
>
> _
> Do You Yahoo!?
> Get your free @yahoo.com address at http://mail.yahoo.com
>
>
> --
> 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 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] Meaningful URL Validator

2001-08-17 Thread ReDucTor

http://url";;
if($file = @file($url))
die("Invalid");
for($i=0;$i404", $file[$i]))
  die("Invalid");
if(eregi(">404 ", $file[$i]))
  die("Invalid");
if(eregi("404 Error", $file[$i]))
   die("Invalid");
if(eregi("not exist", $file[$i]))
   die("Invalid");
}
echo $url." is Valid";
?>
- Original Message -
From: "Stig-Ørjan Smelror" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, August 17, 2001 6:59 PM
Subject: [PHP] Meaningful URL Validator


> Hi all,
>
> I'm trying to make an URL validator, but I'm kind of stuck now.
>
> What I awnt it to do is as follows:
>
> It first checks to see if the server is up or down by doing a general
> fopen() on the URL.
>
> It then opens the URL in some way, checks the HTTP response code and
> spews out a meaningful message to the user.
> E.g. if it's a 404, the user will get a message saying the the page was
> not found.
>
> Has anybody done this before and have the kind heart to share it with me?
;)
>
>
> TIA
>
> --
> Stig-Ørjan Smelror
> Systemutvikler
>
> Linux Communications AS
> Sandakerveien 48b
> Box 1801 - Vika
> N-0123 Oslo, Norway
>
> tel. +47 22 09 28 80
> fax. +47 22 09 28 81
> http://www.lincom.no/
>
>
> --
> 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 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] $var , '$var'

2001-08-18 Thread ReDucTor

nothing, execpt, think there would be about 0.1 time difference... :D I
use $var = $blah."bleh'.$foo because syntax highlighting looks better :D
  - James "ReDucTor" Mitchelll
- Original Message -
From: "nafiseh saberi" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Sunday, August 19, 2001 4:33 PM
Subject: [PHP] $var , '$var'


>
> hi.
> what is the difference between $var and '$var' ?/
> thanks.
>
> --
> 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 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] insert hyperlink to mysql query result

2001-08-22 Thread ReDucTor

echo "http://www.expedia.com/pub/agent.dll?qscr=mcst&strt1=".$amyrow["address
"]."
&city1=".$amyrow["city"]."&stnm1=CA&zipc1=&cnty1=4>Map";
echo "";
- Original Message -
From: "Andras Kende" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, August 23, 2001 11:26 AM
Subject: [PHP] insert hyperlink to mysql query result


> Hello,
>
> I have a mysql query with addresses , trying to insert a link to a map
>
> line 51
> echo "
href=http://www.expedia.com/pub/agent.dll?qscr=mcst&strt1=$amyrow["address";]
> &city1=$amyrow["city"]&stnm1=CA&zipc1=&cnty1=4>Map";
> echo "";
>
> Error Message:
>
> Parse error: parse error, expecting `T_STRING' or `T_VARIABLE' or
> `T_NUM_STRING' in /home/sites/site15/web/salescomps.php on line 51
>
>
> I think its the  " character is the problem like :$amyrow["address"]
>
> Any help apprecciated,
> Thanks
>
> Andras
>
>
> --
> 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 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] path to php

2001-08-22 Thread ReDucTor

does anyone know all the possible paths to php...because i can't seem to
find it on my current host...i have tried using the following

php /path/to/script.php
/usr/php /path/to/script.php
/usr/local/bin/php /path/to/script.php
/usr/bin/php /path/to/script.php

but i still can't seem to get it to work with out it saying that it can't
find the path to php...any one got any ideas?!?

btw. i know php is on it..

I have tried contacting them, but they don't seem to want to reply...


-- 
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] Scripts..flatfile

2001-08-22 Thread ReDucTor

Hello everyone,
  What scripts do you know of or have made that store all there information
in a file(flatfile d/b), that use php, and will allow someone to setup a
system for hosting these scripts(if its your script and you want your ads
there, tell me), this is just so i can have a few examples, for stuff, they
don't need to be top of the line...Please

btw. People to send a message to the address it came from and the mailing
list address, use Reply to All, not reply to sender :D

- James "ReDucTor" Mitchell


-- 
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] \n

2001-08-24 Thread ReDucTor

you do know you need to put  to make it go to a new line :D one of the
stupidest mistakes, but done alot :D
- Original Message -
From: "Jeremy Morano" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, August 25, 2001 1:18 AM
Subject: [PHP] \n


>
> Sorry to bother you with what probably seems like a useless question but
why
> is this not skipping a line?
>
>
> echo " $team \n ";
>
>
>
> Its in a while loop and the output is:
>
>   Bears Giants Jets etc
>
>
> --
> 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 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] Thinking about going to ASP

2001-08-25 Thread ReDucTor

Just looking over the achives of the .net show(was msdn show), and with .net
its got some really great features..

So i am going to get a hold of .net and try it out...

 - James "ReDucTor" Mitchell


-- 
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] path to php

2001-08-26 Thread ReDucTor

>Have you tried which php or locate php?
what do you mean?

no shell acces, that requires contacting them to get, which they don't read
the emails :D

  - James "ReDucTor" Mitchell
- Original Message -
From: "David Robley" <[EMAIL PROTECTED]>
To: "ReDucTor" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Thursday, August 23, 2001 12:20 PM
Subject: Re: [PHP] path to php


> On Thu, 23 Aug 2001 11:05, ReDucTor wrote:
> > does anyone know all the possible paths to php...because i can't seem
> > to find it on my current host...i have tried using the following
> >
> > php /path/to/script.php
> > /usr/php /path/to/script.php
> > /usr/local/bin/php /path/to/script.php
> > /usr/bin/php /path/to/script.php
> >
> > but i still can't seem to get it to work with out it saying that it
> > can't find the path to php...any one got any ideas?!?
> >
> > btw. i know php is on it..
> >
> > I have tried contacting them, but they don't seem to want to reply...
>
> Have you tried which php or locate php? If you don't have shell access
> you'll have to fiddle around with backticks or whichever of system() and
> friends is appropriate.
>
> --
> David Robley  Techno-JoaT, Web Maintainer, Mail List Admin, etc
> CENTRE FOR INJURY STUDIES  Flinders University, SOUTH AUSTRALIA
>
>Electricity was invented by rubbing cats backwards!
>
> --
> 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 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] path to php

2001-08-26 Thread ReDucTor

they don't give shell access without contacting them, and they don't reply
to emails
- Original Message -----
From: "ReDucTor" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Thursday, August 23, 2001 12:48 PM
Subject: Re: [PHP] path to php


> >Have you tried which php or locate php?
> what do you mean?
>
> no shell acces, that requires contacting them to get, which they don't
read
> the emails :D
>
>   - James "ReDucTor" Mitchell
> - Original Message -
> From: "David Robley" <[EMAIL PROTECTED]>
> To: "ReDucTor" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
> Sent: Thursday, August 23, 2001 12:20 PM
> Subject: Re: [PHP] path to php
>
>
> > On Thu, 23 Aug 2001 11:05, ReDucTor wrote:
> > > does anyone know all the possible paths to php...because i can't seem
> > > to find it on my current host...i have tried using the following
> > >
> > > php /path/to/script.php
> > > /usr/php /path/to/script.php
> > > /usr/local/bin/php /path/to/script.php
> > > /usr/bin/php /path/to/script.php
> > >
> > > but i still can't seem to get it to work with out it saying that it
> > > can't find the path to php...any one got any ideas?!?
> > >
> > > btw. i know php is on it..
> > >
> > > I have tried contacting them, but they don't seem to want to reply...
> >
> > Have you tried which php or locate php? If you don't have shell access
> > you'll have to fiddle around with backticks or whichever of system() and
> > friends is appropriate.
> >
> > --
> > David Robley  Techno-JoaT, Web Maintainer, Mail List Admin, etc
> > CENTRE FOR INJURY STUDIES  Flinders University, SOUTH AUSTRALIA
> >
> >Electricity was invented by rubbing cats backwards!
> >
> > --
> > 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 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 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] Re: Thinking about going to ASP

2001-08-27 Thread ReDucTor

Mind giving some more infro on this :D ?!?
- Original Message -
From: "Julio Nobrega Trabalhando" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, August 27, 2001 10:36 PM
Subject: [PHP] Re: Thinking about going to ASP


>   How about Mono from Ximian?
>
> --
>
> Julio Nobrega
>
> A hora está chegando:
> http://toca.sourceforge.net
> "Reductor" <[EMAIL PROTECTED]> wrote in message
> 008001c12df9$e96806e0$eb00a8c0@mum">news:008001c12df9$e96806e0$eb00a8c0@mum...
> > Just looking over the achives of the .net show(was msdn show), and with
> .net
> > its got some really great features..
> >
> > So i am going to get a hold of .net and try it out...
> >
> >  - James "ReDucTor" Mitchell
> >
>
>
>
> --
> 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 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] LAN Scripts/Functions

2001-08-28 Thread ReDucTor

Well to start I am lazy(so pls don't tell me to go make everything) :D

Now I am after Scripts and/or Functions that would be handy to use on at a
LAN, or on a Website Related to LANs...here are just a few things I have
thought up...

- Game Related
   - Game Stats
   - Clan Management
- Sharing(List of Demos, Mods, etc People can Post what they have, what they
want, etc)
   - IP/Hostname Logging(To protect Agianst, Spammers and Illigal Stuff)
   - Find All Computers on the Network(with Hostnames, etc)
   - MP3 Management
- FAQ, Help, etc Mangement(For People having trouble setting up networks)

   And anything else...

   - James "ReDucTor" Mitchell


-- 
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] LAN Scripts/Functions

2001-08-28 Thread ReDucTor

Arr...Might as well search Sourceforge and Freshmeat :D hehe But hopfully
posting here will get people to step out, and might hand out things that
have been working on similar...I know there was a person on here before,
looking for a thing to browse computers shares thro PHP...

  - James "ReDucTor" Mitchell
- Original Message -
From: "Erik H. Mathy" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, August 29, 2001 12:20 AM
Subject: RE: [PHP] LAN Scripts/Functions


> > Now I am after Scripts and/or Functions that would be handy to use on at
a
> > LAN, or on a Website Related to LANs...here are just a few things I have
> > thought up...
>
> 
>
> Get thy lazy behind to Freshmeat and Sourceforge. ;)
>
> http://www.freshmeat.net
> http://sourceforge.net/
>
> Enjoy!
> - Erik
>
> --
> 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 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] FTPs

2001-08-29 Thread ReDucTor

Does anyone know any FTP sites that have lots of CGI, PHP, JavaScript, Java,
ASP, etc, so i can just leech them all :D
  - James "ReDucTor" Mitchell


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

2001-08-29 Thread ReDucTor

Ya, i browse Hotscripts alot, but i just want to connect with FTP, and
leech :D
- James "ReDucTor" Mitchell
- Original Message -
From: "Andrey Hristov" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, August 30, 2001 2:03 AM
Subject: Re: [PHP] FTPs


> http://www.hotscripts.com
> It is HTTP, so you cannot leech with ftp. as much as 1000 scripts are
available there
> - Original Message -
> From: "ReDucTor" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Wednesday, August 29, 2001 7:00 PM
> Subject: [PHP] FTPs
>
>
> > Does anyone know any FTP sites that have lots of CGI, PHP, JavaScript,
Java,
> > ASP, etc, so i can just leech them all :D
> >   - James "ReDucTor" Mitchell
> >
> >
> > --
> > 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 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 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]




  1   2   >