Re: [PHP] Linux Newsgroup... ('continue');

2002-07-12 Thread Scott Fletcher
ED]">news:[EMAIL PROTECTED]... > On Thu, 11 Jul 2002, Scott Fletcher wrote: > > Are you sure these newsgroup work? I tried subscribing to it and got a > > response saying newsgroup server could not be found. I didn't have that > > problem with PHP Newsgroup or moz

Re: [PHP] Linux Newsgroup... ('continue');

2002-07-12 Thread Scott Fletcher
ch news service are you connecting to? > > -Original Message- > From: Scott Fletcher [mailto:[EMAIL PROTECTED]] > Sent: Thursday, July 11, 2002 2:15 PM > To: [EMAIL PROTECTED] > Subject: [PHP] Linux Newsgroup... ('continue'); > > > Are you sure th

[PHP] odbc_exec(), any way to validate whether it work or not?

2002-07-12 Thread Scott Fletcher
For the odbc_exec(), is there a way to validate whether this return a true or false. If false, then the error message? I really hate PHP_SELF now, this one web page is written to be repeated 3 times. With the global register turned off, everything was really a mess and I'm close to being done i

Re: [PHP] Linux Newsgroup... ('continue');

2002-07-12 Thread Scott Fletcher
Alright! I'll give it my best shot! "Miguel Cruz" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > On Fri, 12 Jul 2002, Scott Fletcher wrote: > > Miguel Cruz <[EMAIL PROTECTED]> wrote in: > >> On Thu, 11 Jul

[PHP] Re: odbc_exec(), any way to validate whether it work or not?

2002-07-12 Thread Scott Fletcher
Never Mind! It was the $_GET['VIEW'] that was the problem. Since some script use Get method while other use Post method, so I changed it to $_REQUEST['VIEW'] and that took care of the problem. "Scott Fletcher" <[EMAIL PROTECTED]> wrote in message [EMA

Re: [PHP] Final Year Computer Science Project involving PHP

2002-07-12 Thread Scott Hurring
:-) There's a million things you could do, that's the beauty and curse of knowing how to program... too many projects and ideas, not enough time. -- Scott Hurring Systems Programmer EAC Corporation scott (*) eac.com -- "Jay Blanchard" <[EMAIL PROTECTED]> wrote

Re: [PHP] ' giving problem while inserting in table.

2002-07-12 Thread Scott Hurring
or, more appropriately, use the database-specific escape function... for mysql: http://www.php.net/manual/en/function.mysql-escape-string.php http://www.php.net/manual/en/function.mysql-real-escape-string.php -- Scott Hurring Systems Programmer EAC Corporation scott (*) eac.com -- "M

[PHP] Re: IIS Bugs???

2002-07-12 Thread Scott Hurring
There's a problem with IIS and the rest of the world :-) -- Scott Hurring Systems Programmer EAC Corporation scott (*) eac.com -- "Brian McGarvie" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... OK This is a followon from my Browser

[PHP] Purpose of $$var ?????

2002-07-16 Thread Scott Fletcher
The script was working great before PHP 4.2.x and not after that. So, I looked through the code and came upon this variable, "$$var". I have no idea what the purpose of the double "$" is for a variable. Anyone know? --clip-- $var = "v".$counter."_high_indiv";

Re: [PHP] Submit code

2002-07-16 Thread Scott Fletcher
As you know, PHP can't do the work becuase it is on the server side, not hte client side. Meaning, when the server side is finish, all done, then it go directly to the client side (web browser). If you want PHP to do something then you'll have to do something to the webpage, like a click button

Re: [PHP] Purpose of $$var ?????

2002-07-16 Thread Scott Fletcher
t; <[EMAIL PROTECTED]> wrote in message 002601c22cd0$b1995170$1601a8c0@nik">news:002601c22cd0$b1995170$1601a8c0@nik... > Variable variable. Read the docs. > > $v = 'foo'; > $foo = 'bar'; > echo $$v; > > Regards, > Andrey > > P.S. > So

Re: [PHP] Purpose of $$var ?????

2002-07-16 Thread Scott Fletcher
that register_globals defaults to off in > PHP 4.2.x and greater. > The solution? Start using the new superglobals ($_POST, $_GET, $_SESSION > etc) or (not recomended) set register_globals = on in php.ini > > Read more here: > http://www.php.net/manual/en/language.variables.predefi

Re: [PHP] Purpose of $$var ?????

2002-07-16 Thread Scott Fletcher
7;; > $foo = 'bar'; > echo $$v; > > Regards, > Andrey > > P.S. > Sometimes {} are used : ${$v} > > > > > "Scott Fletcher" <[EMAIL PROTECTED]> wrote in message > news:<[EMAIL PROTECTED]>... > > The script was working gre

Re: [PHP] Purpose of $$var ?????

2002-07-16 Thread Scott Fletcher
Alright! Found the problem! Faulty script written that come before this script where $$var come into play. At least, it wasn't me, it was the other programmer's error. :-) "Scott Fletcher" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL

[PHP] Good instruction for installing webserver using RPM and tar.gz files???

2002-07-16 Thread Scott Fletcher
I'm pretty used to installing OpenSSL, Mod_SSL, Mcrypt, cURL, PHP and Apache with all of them in tar.gz files. Now I'm experiementing it on the Linux and mySQL. Never tried it on both Linux and mySQL before. The tricky part I found is that some come in RPM. I am familar with installing using R

[PHP] function for finding one character in a string?

2002-07-17 Thread Scott Fletcher
I have been looking around in the PHP function listing for a function that can find or match one character from a string. I thought it would be something like post_str() or something but never found anything close to that. I get the idea of post and str from the SQL command. I did check the ere

[PHP] Re: Code errors

2002-07-18 Thread Scott Fletcher
Which line in the script you had provided to us is line 247? "Chris Crane" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > I am trying some code and it works except I get the following errors... > Warning: Undefined offset: 5 in > c:\www\htdocs\demos\havasuinte

Re: [PHP] Cookies - good or bad???

2002-07-18 Thread Scott Fletcher
I don't use cookies either due to the fact that some web browser block the cookies and some web browser's bug that affected the cookie. For example, if Internet Explorer have a bug with the cookie then it is gurantee that you'll never find MS to have this bug fix in a few days. It could take 6 m

[PHP] XML with PHP & cURL.

2002-07-18 Thread Scott Fletcher
Hi! I find it to be mind-boggling to try to make xml work with php and curl. What do anyone here think of it? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] XML with PHP & cURL.

2002-07-18 Thread Scott Fletcher
ndsolutions.com/code/phpxml.htm and see what I can learn from. Thanks, FletchSOD "Analysis & Solutions" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > On Thu, Jul 18, 2002 at 11:03:10AM -0400, Scott Fletcher wrote: > > Hi! I

Re: [PHP] XML with PHP & cURL.

2002-07-18 Thread Scott Fletcher
More detail? I have successfully make the data transmission work through php and curl without xml. I just barely gotten started on xml. I read the documentation about how it work, but it is only for the client side. I'm going to have to read some documentation and figure out how to use xml in

[PHP] apache.conf for php

2002-07-18 Thread Scott Fletcher
I recently upgraded Apache to 1.3.26 and am currently configurating hte httpd.conf. I noticed that --snip-- AddType application/x-httpd-php .php AddType application/x-httpd-php-source .phps --snip-- does not exist in this version as it does in the older version. Is it now automatic with the ne

[PHP] Re: Cookies - good or bad???

2002-07-18 Thread Scott Fletcher
Instead of Cookies, I use Sessions which is run on hte server side. So, I use the --snip-- $salt = strtoupper(md5(uniqid(rand(; session_id($salt); session_start(); header("Location: https://xxx.yyy.zzz/index.php?".SID."&init_login=TRUE";); --snip-- to create the identifer for an uni

[PHP] Re: Cookies - good or bad???

2002-07-18 Thread Scott Fletcher
OTECTED]">news:[EMAIL PROTECTED]... > Awesome Scott... That's some wicked code... > "Scott Fletcher" <[EMAIL PROTECTED]> wrote in message > [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > > Instead of Cookies, I use Sessions which is run on hte server

Re: [PHP] Re: Cookies - good or bad???

2002-07-18 Thread Scott Fletcher
I never heard of this php function, "link()". Sound like a good function, I'm going to have to look it up! Thanks, FletchSOD "Justin French" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > on 19/07/02 1:19 AM, Cord Schneider ([EMAIL PROTECTED]) wrote: > > > A

Re: [PHP] rebooting linux using php

2002-07-18 Thread Scott Fletcher
This can be done using the exec() function, the php.net doc will explain how it work. There are a few known problem as I can see if someone try to reboot the Linux/Unix. 1) If the hacker break-in and take control of hte script. Who know what could have happen. 2) If using encryption an

Re: [PHP] rebooting linux using php

2002-07-18 Thread Scott Fletcher
If you're going to use the cron file (or crontab) then php wouldn't work because it is a programming languages for the web pages. For cron files or crontab, you can use the bash shell or ksh or whatever you have. It's simple. All you had to do is to create a file on hte Unix/Linux machine and d

[PHP] Ticket Master-type script

2003-08-29 Thread Scott Miller
g would be greatly appriciated. Thanks, Scott Miller -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Using rand() for 10 digit numbers????

2003-09-05 Thread Scott Fletcher
dom number. So, why does it not work with 10 digit numbers? Scott F. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Using rand() for 10 digit numbers????

2003-09-05 Thread Scott Fletcher
How interesting. Yours work while mine doesn't. All I did was .. --snip-- $randomNumber = rand(0,99); echo $randomNumber; --snip-- What PHP version do you use? I only have version 4.3.1 on the machine. "Jay Blanchard" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] [snip]

Re: [PHP] Using rand() for 10 digit numbers????

2003-09-05 Thread Scott Fletcher
Could be "Robert Cummings" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > It probably wraps the standard C rand() function which only takes an > unsigned integer which is usually 16 bits. > > Cheers, > Rob. > > On Fri, 2003-09-05 a

[PHP] Re: PHP code generation

2003-09-05 Thread Scott Fletcher
What are the example of code generation project? Are you referring to the generation of the random characters? "Chris Hubbard" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > I'm working on a code generation project. Is there anyone on the list who > has experience building these t

[PHP] Very interesting.....

2003-09-05 Thread Scott Fletcher
I tried your code on this machine and I got this... --snip-- 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0

Re: [PHP] Using rand() for 10 digit numbers????

2003-09-05 Thread Scott Fletcher
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 --snip-- Weird... I other quick question. What the heck is going on? Scott F. "Jay Blanchard" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] [snip] What PHP version do you use? I only have version 4.3.1 on the machine. [/snip] Did

Re: [PHP] Very interesting.....

2003-09-05 Thread Scott Fletcher
There isn't one in php.ini. Could this be the problem? "Jay Blanchard" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] [snip] I tried your code on this machine and I got this... 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0. [/snip] What is your numeric precesion set to in t

Re: [PHP] Using rand() for 10 digit numbers????

2003-09-05 Thread Scott Fletcher
Continue(ing) of this replying go into the title, 'Very Interesting'. "Scott Fletcher" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Very Interesting. I tried your code on my machine and I got this... > > --snip-- > 0 0 0 0 0 0 0 0 0 0 0 0 0

Re: [PHP] Very interesting.....

2003-09-05 Thread Scott Fletcher
It is not there, so I added it and restarted Apache. Still got the same result. How is PHP is built into Apache was done by downloading the tar.gz file from php.net and compile it. Then compile Apache, had it take in PHP. So, when it was done, there is never a php.ini there. So, I create one a

Re: [PHP] Very interesting.....

2003-09-05 Thread Scott Fletcher
Will do that once I get a newer PHP version. No time for it right now. :-) The workaround to rand() I did was to use it twice and add up the result. For ex. --snip-- $randomNumberLeft = rand(0,9); $randomNumberRight = rand(0,9); $randomNumber = $randomNumberLeft.$randomNumberRight; ech

[PHP] Simple Selection Box

2003-09-08 Thread Scott Miller
I've read and read - searched through other's posts, but haven't come up with what I'm doing wrong. If anyone could give me a hand, I would greatly appriciate it. Scott -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Simple Selection Box

2003-09-08 Thread Scott Miller
AAHH - stupid mistake - thanks! Guess I better re-read PHP-101 Thanks, Scott - Original Message - From: "Jay Blanchard" <[EMAIL PROTECTED]> To: "Scott Miller" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Monday, September 08, 2003 1:54 PM S

[PHP] getting download resume to work

2003-09-11 Thread Scott Dotson
I am trying to get the ability to resume broken downloads with a client (such as FlashGet, GetRight, etc...) I am able to download the complete file without resume and everything works properly, but, when using a download manager, if I break the download then continue, the byte count never matches

[PHP] Using PHP to do something with Acrobat PDF....

2003-09-12 Thread Scott Fletcher
e use of some configuration in php.ini?? How does PHP do the PDF stuffs if there is no PDF on the server? Etc... Thanks! Scott F. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: RE: [PHP] getting download resume to work

2003-09-12 Thread Scott Dotson
All answers are below your questions... Thank you for taking the time to parse through my code and try to understand what I am doing, I really appreciate it, this is the first time I have tried something like this and have been hung up on it for a couple days now... Scott -Original Message

Re: [PHP] getting download resume to work

2003-09-12 Thread Scott Dotson
All answers are below your questions... Thank you for taking the time to parse through my code and try to understand what I am doing, I really appreciate it, this is the first time I have tried something like this and have been hung up on it for a couple days now... Scott -Original Message

Re: [PHP] getting download resume to work

2003-09-12 Thread Scott Dotson
got it to work using fseek, feel like a bozo posting this when it was my lack of thinking in the first place as to why it didn't work. thanks all for the help... Scott "Chris Shiflett" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Can you help explain

[PHP] Using PHP to generate Acrobat PDF...

2003-09-12 Thread Scott Fletcher
Anyone have experience with it? Anyone of good information where I can do some research on? Thanks... -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Using PHP to generate Acrobat PDF...

2003-09-12 Thread Scott Fletcher
IL PROTECTED] > On 12 Sep 2003 at 13:17, Scott Fletcher wrote: > > > Anyone have experience with it? Anyone of good information where I can do > > some research on? > > Have a look at www.pdflib.com. > They also have a great documentation for it. > We use it to pu

[PHP] Is there such a thing as number_format() in JavaScript (Instead of PHP)???

2003-09-16 Thread Scott Fletcher
Hi Fellas! Javascript is driving me crazy. I'm not looking forward to writing a user-defined function that would do something to the numbers as number_format would do. When I do something like (1.00 + 2.34), I would expect a 3.34 in return, not a 3.34900388389495. Thanks,

[PHP] Re: Is there such a thing as number_format() in JavaScript (Instead of PHP)???

2003-09-16 Thread Scott Fletcher
Ah! Never mind. I only need to do this... AmtRequestBy = Math.round(AmtRequestBy*100)/100; That is multiplying by 100 and dividing by 100 and that will fix it. Sorry for hte Spam Scott F. "Scott Fletcher" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTEC

Re: [PHP] Re: Is there such a thing as number_format() in JavaScript (Instead of PHP)???

2003-09-16 Thread Scott Fletcher
javascript version of > number_format(). > > Scott Fletcher wrote: > > > Ah! Never mind. I only need to do this... > > > > AmtRequestBy = Math.round(AmtRequestBy*100)/100; > > > > That is multiplying by 100 and dividing by 100 and that will fix it. > >

[PHP] How to do Javascript for the HTML/PHP Array (See Below)

2003-09-17 Thread Scott Fletcher
Hi Fellas! Here's the clipping of an article about putting HTML variables into a PHP Array upon submission. Right now, I'm having trouble getting Javascript to do the error checking of each of the HTML variable if it's variable name is treated as an array. Anyone know of a workaround to it w

Re: [PHP] SESSION variables losing data on WinXP?

2003-09-17 Thread Scott Fletcher
ntries require a "=", even if no value follows. url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry"--clip-- One thing I noticed is that I had to create a folder called 'tmp' for it to work. Hope that help.. Scott F. "Jami" <[EMAIL

Re: [PHP] How to do Javascript for the HTML/PHP Array (See Below)

2003-09-17 Thread Scott Fletcher
Ah! So I do this to make it work where count can be any number... f.elements['MyArray[]'][count].value That does work now. It's been mind boggling to do the conversion between JavaScript, HTML and PHP when it come to an array but I'm learning. :-) Thanks a million

[PHP] PHP vs CGI ???

2003-09-19 Thread Scott Fletcher
of CGI if it is used as Shell Scripting Language but if I compile Apache and have it create a PHP module then it is not a form of CGI. Can anyone point this out or clarify this? It would be very much be appreciated. Thanks, Scott F. -- PHP General Mailing List (http://www.php.net/) To unsubscr

Re: [PHP] PHP vs CGI ???

2003-09-19 Thread Scott Fletcher
> > Pretty much everything I read said that its always better to use the > Apache Module version. (apparently its much more stable and secure) > > -Original Message- > From: Scott Fletcher [mailto:[EMAIL PROTECTED] > Sent: Friday, September 19, 2003 8:38 AM >

Re: [PHP] Re: Header won't redirect

2003-09-19 Thread Scott Fletcher
Try $_REQUEST['pagename'] instead. Oh before you do that, try this and see if you have any received data at all in the first place. just look for 'pagename' in any arrays, don't look for $_GET['pagename'], just look for 'pagename' and see if there is any. --snip-- --snip-- "Jay Blanchard" <[EMA

Re: [PHP] Re: Header won't redirect

2003-09-19 Thread Scott Fletcher
Well, I'm using Outlook Express and it looked fine for an hour or so now. But not with the ones earlier in the morning. Strange though! Scott F. "Jonathan Duncan" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Perhaps it is just Outlook Express but

Re: [PHP] Re: Header won't redirect

2003-09-19 Thread Scott Fletcher
But Jay Blanchard situation wasn't the only one. It's the same for other people. "Scott Fletcher" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Well, I'm using Outlook Express and it looked fine for an hour or so now. > But not with the

[PHP] $_SESSION stuffs that come with php.ini

2003-09-26 Thread Scott Fletcher
I have been building the website for 6 months with everything and I didn't have hte php.ini on it. Just didn't realize it, so I create the php.ini that come from php.ini_dist that came with php source code. Now the $_SESSION doesn't work. I'm not able to make the php.ini to be like the one that

[PHP] Re: $_SESSION stuffs that come with php.ini

2003-09-26 Thread Scott Fletcher
Is this the one??? http://us3.php.net/session Thanks... "Scott Fletcher" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > I have been building the website for 6 months with everything and I didn't > have hte php.ini on it. Just didn't realize it

[PHP] Re: $_SESSION stuffs that come with php.ini

2003-09-26 Thread Scott Fletcher
Alright that work now Don't know why does the php.ini default is not what it should be... I found a few that aren't on the list in php.ini, but hte most important thing right now is that it is fixed... "Scott Fletcher" <[EMAIL PROTECTED]> wrote in message news:[

[PHP] How to center image in PDF (fpdf) using Image() in PHP....

2003-10-03 Thread Scott Fletcher
[, string type [, mixed link]]]) --snip-- Thanks... Scott F. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] How to center image in PDF (fpdf) using Image() in PHP....

2003-10-03 Thread Scott Fletcher
Where is that forum?? "Jason Wong" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > On Saturday 04 October 2003 04:03, Scott Fletcher wrote: > > > I tried out the Free PDF Library for creating the PDF at www.fpdf.org > > and it showed the ph

Re: [PHP] How to center image in PDF (fpdf) using Image() in PHP....

2003-10-03 Thread Scott Fletcher
OIC, saw the forum link at that website... Thanks... Scott F. "Scott Fletcher" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Where is that forum?? > > "Jason Wong" <[EMAIL PROTECTED]> wrote in message > news:[EMAIL PROTECTED] > >

Re: [PHP] How to center image in PDF (fpdf) using Image() in PHP....

2003-10-03 Thread Scott Fletcher
Yea, saw that in the source code, with further analysis, haven't gotten around to something like this... "Marek Kilimajer" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > I don't have the sources at hand, but if I remember the width is stored > in t

Re: [PHP] How to center image in PDF (fpdf) using Image() in PHP....

2003-10-03 Thread Scott Fletcher
Bingo Did a lot of searching and found some code and modify it... --snip-- //Logo $size="100"; //(min 0, max 210; it's for making image big or small, nothing else) $absx=(210-$size)/2; $this->Image('images/Logo.jpg',$absx,5,$size); --snip

Re: [PHP] How to center image in PDF (fpdf) using Image() in PHP....

2003-10-03 Thread Scott Fletcher
e PDF so that's why the thought of the ruler never came to my mind "Marek Kilimajer" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Scott Fletcher wrote: > > Bingo Did a lot of searching and found some code and modify it... > > > >

Re: [PHP] How to center image in PDF (fpdf) using Image() in PHP....

2003-10-03 Thread Scott Fletcher
I don't know what is A4 page. Problem is I don't use PDF very, very often so I'm a newbie on PDF "Marek Kilimajer" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Scott Fletcher wrote: > > I would never guess about the ruler to measur

[PHP] PHP session URL rewriting

2003-10-05 Thread Scott Teresi
ed to hide my ".php" extensions and simply have Apache execute all files ending in ".html" (traffic isn't too heavy on this site). How can I force PHP to pass the session ID to all URLs, even ones that don't end in ".php"? Thanks for any help or referen

[PHP] Alter the Loop Timeout limit???

2003-10-09 Thread Scott Fletcher
is a 'Billing' webpage. It is not surprising that it take longer when there is more customers... Thanks, Scott F. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Alter the Loop Timeout limit???

2003-10-09 Thread Scott Fletcher
Thanks!!! "Jay Blanchard" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] [snip] Argh [/snip] set_time_limit(n); Where n is an integer in seconds -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Did anyone have success with the require() function??

2003-10-10 Thread Scott Fletcher
= $_REQUEST['PDF_LIB_PATH']; require("$PDF_LIB_PATH"); --snip-- Anyone know why is that? Thanks, Scott F. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] header() function for displaying an opened PDF document.

2003-10-13 Thread Scott Fletcher
on/pdf"); header("Content-Length: '40736'"); header("Content-Disposition: inline; filename='junk.pdf'"); --snip-- Thanks, Scott F. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: what is the best PHP editor?

2003-10-13 Thread Scott Fletcher
is possible. Scott F. "Rob Adams" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > I actually tried this a while ago, and must've had a really early version. > It showed a lot of promise, but there were too many problems, and the error > text was mostly G

Re: [PHP] php variable

2003-10-13 Thread Scott Fletcher
Should also work if you use the POST method... "Comex" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > <[EMAIL PROTECTED]> > Onno Kuipers: > > Jay Blanchard wrote: > >> [snip] > >> $var=¨How are you¨; > >> THE PROBLEM IS THAT I ALSO WANT TO USE $VAR IN SCRIPTTWO. > >> [/snip] > >> >

Re: [PHP] php variable

2003-10-13 Thread Scott Fletcher
Page 1 Page 2 echo $_REQUEST['var2']; //or echo $_POST['var2']; //== //Sometime noticed some glitch with $_POST because sometime PHP think the data go to $_GET... //So, to prevent future headache, I use $_REQUEST['var2'] at all time... //== S

Re: [PHP] Restarting Apache without screwing up running scripts?

2003-10-13 Thread Scott Fletcher
Wow! I didn't know that. I have been using apachectl restart all the time. Now I feel better that this feature will allow Apache to be running until people logged off of the website (by the mean of terminating the apache connection) Thanks!!! "Marek Kilimajer" <[EMAIL PROTECTED]> wrote in m

[PHP] Re: php convert html to pdf

2003-10-13 Thread Scott Fletcher
I'm not aware of any such feature that would convert the HTML to PHP. You can use the FPDF library to generate a PDF stuffs without installing or compiling or anything of thsoe sort. You can find it at www.fpdf.org. It is free and it is pretty nice. Scott F. "Hycn Office" &l

[PHP] Re: Problem with session_destroy() don't work

2003-10-13 Thread Scott Fletcher
session_destroy() don't work too well with IE (Internet Explorer) due to bunch of bugs that IE have. That is if you are using IE to test this "Kostas" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Hi, > I have a problem with destroing a session. > I have made a login page and

[PHP] Re: header() function for displaying an opened PDF document.

2003-10-13 Thread Scott Fletcher
"Content-type: application/pdf"); > readfile("junk.pdf"); > > - Kevin > > "Scott Fletcher" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > > I seem to be having problem with sending the PDF document to the browser to > > be

[PHP] Re: php convert html to pdf

2003-10-13 Thread Scott Fletcher
Hey, Hey, Hey, found it on the Internet on converting HTML to PDF. Take a look at this at http://www.rustyparts.com/pdf.php "Hycn Office" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > hi all ~ > > where can find the free of charge complete script ? > > remarks : i am using web h

Re: [PHP] header() function for displaying an opened PDF document.

2003-10-14 Thread Scott Fletcher
Not using the session. :-) Oh well... "Marek Kilimajer" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Are you using sessions? Then you need > session_cache_limiter('private_no_expire'); > > Scott Fletcher wrote: > > > I seem to be

Re: [PHP] header() function for displaying an opened PDF document.

2003-10-14 Thread Scott Fletcher
cpwatch, which logs all the http data going in and out your > browser. Very easy to run and so handy (not only for this problem). Would > find the url for dld if you want. > > cheers > > .b > > -Original Message- > From: Scott Fletcher [mailto:[EMAIL PROTECTED] >

[PHP] Re: header() function for displaying an opened PDF document.

2003-10-14 Thread Scott Fletcher
gt; > Once everything is working you will see the PDF open in the browser plugin when you set the Content-type header. And you should see a download prompt when you set the Content-disposition header. > > - Kevin > > "Scott Fletcher" <[EMAIL PROTECTED]> wrote in

[PHP] Re: php convert html to pdf

2003-10-14 Thread Scott Fletcher
ion file or anything. Scott F. "Hycn Office" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > but i cant install html2ps > and fpdf cant convert , need to build from scratch > > i think only solution is need to setup a server no choice > >

Re: [PHP] Re: header() function for displaying an opened PDF document.

2003-10-14 Thread Scott Fletcher
I'm trying to finish the project so I can leave my job. So, I would like to make this project be simpilier for any future hired web programmer. Scott F. "Chris Hayes" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > > It might help to have a peek at how the ph

[PHP] Re: Did anyone have success with the require() function??

2003-10-14 Thread Scott Fletcher
Thanks... "Curt Zirzow" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > On Fri, 10 Oct 2003 13:09:16 -0400, Scott Fletcher <[EMAIL PROTECTED]> wrote: > > > Hi Fellas! > > > > Did anyone have success with making the required function work

Re: [PHP] Re: Did anyone have success with the require() function??

2003-10-14 Thread Scott Fletcher
Thanks... "Tom Rogers" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Hi, > > Saturday, October 11, 2003, 3:33:05 AM, you wrote: > CZ> On Fri, 10 Oct 2003 13:09:16 -0400, Scott Fletcher <[EMAIL PROTECTED]> wrote: > > >> Hi Fellas!

[PHP] Re: php convert html to pdf

2003-10-14 Thread Scott Fletcher
I'm begging to see this now. That's a lot of other 3rd party installation being required. Now, I'm thinking of going to scratch that (HTML conversion to PDF) and go back to fpdf library... Yea, look like you would need your own machine for this... "Scott Fletcher" <

Re: [PHP] Re: header() function for displaying an opened PDF document.

2003-10-14 Thread Scott Fletcher
Aw, scratch that HTML conversion to PDF feature. It require an installation of a couple of other stuffs. I'm going to stick back to fpdf library for now. "Scott Fletcher" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > I'm using the library from www

[PHP] Re: header() function...

2003-10-14 Thread Scott Fletcher
Web Server's log file or user defined log file (Sort of Like PHP Log)? "Tristan Pretty" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > We've just moved sites, to a new URL... > on the home page of the old url, I simply had a page that was; > > header(Location: http://www.newsite.co

Re: [PHP] Re: header() function...

2003-10-14 Thread Scott Fletcher
user defined script from the webpage. Unless there is a configuration setting somewhere that said otherwise about the log files. "Tristan Pretty" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Bog standard web server logs... > We're hosted on a windo

[PHP] Finally, PDF Header for PDF stuffs that work....

2003-10-14 Thread Scott Fletcher
Finally got some PHP header to force IE to display the PDF document right from the file from the server. Due to most of IE bugs, this script will help. It can be either getting a file from the webserver as this script is or you can change the PHP header to use the attachment instead. --snip-- -

Re: [PHP] Finally, PDF Header for PDF stuffs that work....

2003-10-16 Thread Scott Fletcher
27;s calling tech support (us)... Questions about IE problem is something you would have to ask M$ on why it is using hte faulty IE. Scott F. "Curt Zirzow" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > * Thus wrote Scott Fletcher ([EMAIL PROTECTED]): > >

[PHP] Alternative to die()????

2003-10-16 Thread Scott Fletcher
I am wondering if there is an better alternative to the die() because it prevent the HTML codes from being send to the browser, including some php echo codes with HTML in it. Thanks.. Scott F. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: mozilla

2003-10-16 Thread Scott Fletcher
Later version of IE will display the Mozilla in the user agent coding So, PHP or JavaScript user agent stuffs is pretty useless Mozilla can also pretent to be a different browser, like Opera or IE, etc.. Scott F. "Joseph Bannon" <[EMAIL PROTECTED]> wrote in message news:

[PHP] File attachment to mail() doesn't work....

2003-10-17 Thread Scott Fletcher
n"; $MARKET_Header .= "X-Priority: 3\r\n"; $MARKET_Header .= "X-MSMail-Priority: Normal\r\n"; $MARKET_Header .= "X-Mailer: PHP ".phpversion()."\r\n"; if(mail($MARKET_To,$MARKET_Subject,$MARKET_Message,$MARKET_Header,"-f$MARKET _From")) { $email_status = "E-Mail was successfully send!!"; } else { $email_status = "E-Mail failed to be send!! (Failed)"; } echo $email_status; --snip-- Thanks a million! Scott F. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: File attachment to mail() doesn't work....

2003-10-23 Thread Scott Fletcher
t software as well, so it seemt that not all mail client work alike. Scott F. "Scott Fletcher" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Hi Fellas! > > I already whipped up the script to get the PHP mail() to send an email > with body text, along

[PHP] Ways to break up XML into Arrays????

2003-10-23 Thread Scott Fletcher
; //Output would be "Dog"... echo " and his wife name is "; echo $XML_Tag['FirstName'][1]; //Output would be "Hillary"... echo " "; //Whitespace... echo $XML_Tag['LastName'][1]; //Output would be "Clinton"... --snip-- Just something like that... Thanks!!! Scott F. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] What does the word 'parse' meant when you do a XML parse...

2003-10-23 Thread Scott Fletcher
What does the word, 'parse' meant when you do a XML parse? What is it and what does it exactly do? Thanks, Scott F. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

<    1   2   3   4   5   6   7   8   9   10   >