Re: [PHP] Accented character 'echo'ed randomly

2005-04-05 Thread Marek Kilimajer
John Coppens wrote: Hi people. I submitted the issue below to the bug site, but the people there suggested I present it here. I've tried some more, but until now, I couldn't find any cause for the problem. Any suggestion would be appreciated! John Description: I

Re: [PHP] Why do I have to declare __set if I declare __get for read-only properties?

2005-04-05 Thread Marek Kilimajer
C Drozdowski wrote: Howdy, I'd like to access some of the private members of my classes as read-only properties without resorting to function calls to access them. (e.g. $testClass->privateMember instead of $testClass->privateMember(), etc) Based on my research and testing, using the __get and

[PHP] ImageMagick Versus GD

2005-04-05 Thread emre
which one is better ImageMagick or GD? infact I am much more curious about their image processing speed and server load. especially resizing large imagefiles. thx in adv. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Accented character 'echo'ed randomly

2005-04-05 Thread Satyam
Do you have a : in the section? Sometimes the browser tries to figure out the charset, just as it figures to assume an when it finds a new and if figures out so many things, sometimes it simply fails. Otherwise, use htmlentities() to escape characters not plain USASCII Satyam "John Co

Re: [PHP] Creating INSERT INTO statement from dbf file

2005-04-05 Thread Satyam
You can either put a flag indicating your first time around the field loop and add the comma before each field, when it is not the first time around, or build the fieldname and fieldvalue list on a string and then trim out the last character once the loop is finished. "Rahul S. Johari" <[EMAIL

[PHP] Little Help Needed

2005-04-05 Thread Jason
Could someone tell me what I did wrong with this script. It should read the page http://www.mto.gov.on.ca/english/traveller/conditions/rdclosure.htm and only read between the 2 words in the script. And email any new stuff to the email address in the script. What did I do wrong that is causi

Re: [PHP] Help. Floats turning into really small numbers? x.xxxxxxxxxxxxxxxxxxxxxxE-xx- Narrowed it down!

2005-04-05 Thread Satyam
What you see as round numbers in base 10, are not so in binary. Numbers such as .5, .25, .125, .0625 and so on, multiples of one half, are round numbers in binary, though they don't look so in decimal. Others which look pretty simple in decimal are not, for example, 0.1 gives you an infinite s

Re: [PHP] Little Help Needed

2005-04-05 Thread Frank Arensmeier
You should describe more specific what is going wrong with your script. What does the script output? Maybe you should post a vardump as well. /frank 2005-04-05 kl. 11.07 skrev Jason: Could someone tell me what I did wrong with this script. It should read the page http://www.mto.gov.on.ca/e

Re: [PHP] SSL & XML File Download Problem

2005-04-05 Thread Shaun
Hi Chris, I have turned off friendly messages, but I get the same message... "Chris W. Parker" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] Shaun on Friday, April 01, 2005 11:20 AM said: > This was working fine until i added an SSL certificate to m

Re: [PHP] ImageMagick Versus GD

2005-04-05 Thread C.J. Walsh
Personally, I prefer IM. As far as load issues are concerned, I am not sure which one is quicker. I have used both in large scale image web apps (i.e. photo galerries). I have experienced a long loading time for images in IM, that are at or above 2MB in size. C.J. > which one is better ImageMagic

[PHP] Javascript Calendar and PHP

2005-04-05 Thread Jerry Swanson
What Javascript calendar works good with PHP? Thanks -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Javascript Calendar and PHP

2005-04-05 Thread Jay Blanchard
[snip] What Javascript calendar works good with PHP? [/snip] Uh, what do you mean? One that shares information between the two languages? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] PHP Tool to answer emails

2005-04-05 Thread Jeff McKeon
www.eforcer.com It's a fairly cheap but very good ticket system that can auto inject emails into it or retrieve them from a pop account. Jeffrey S. McKeon Manager of Information Technology Telaurus Communications LLC [EMAIL PROTECTED] +1 (973) 889-8990 ex 209 > -Original Message- > From

Re: [PHP] pass variable from vbscript to php

2005-04-05 Thread David Bevan
Another way you can get around passing info to the server is to use hidden fields and make the entire page into a form with each link in turn submitting the form to the target script. You avoid putting sensitive info into the address bar and you can take advantage of header encryption if you need

Re: [PHP] What's the going rate for making websites ?

2005-04-05 Thread David Bevan
Hi Rene, I am becoming a little bit concerned about some of the advice you have been getting about setting a rate for your work. Don't get me wrong, there is nothing wrong with charging by the hour, but a lot of times one of two things happen, either you begin to resent your customer or they begi

[PHP] read from comport: windows vs. linux

2005-04-05 Thread Kim Madsen
Hi there I´ve got a problem porting from windows to Linux, when I wanna read and write to the serial port. This works like a charm in windows: if (!$fp = fopen("COM1", 'w+b')) { echo "\nError! Could not open COMport - Got a terminal open?\n"; exit; } The program continues, but breaks in

[PHP] RAD tool

2005-04-05 Thread marc serra
Hi, I'm designing intranet softwares with PHP. I want to know if it exists good RAD software to speed up developpement with a database. Like creating forms in relation with database in WYSIWYG mode. thanks for your answer, Marc -- PHP General Mailing List (http://www.php.net/) To unsubscribe, vi

RE: [PHP] read from comport: windows vs. linux

2005-04-05 Thread Jay Blanchard
[snip] I´ve got a problem porting from windows to Linux, when I wanna read and write to the serial port. This works like a charm in windows: if (!$fp = fopen("COM1", 'w+b')) { echo "\nError! Could not open COMport - Got a terminal open?\n"; exit; } The program continues, but breaks in li

Re: [PHP] RAD tool

2005-04-05 Thread C.J. Walsh
Try using pear packages see: http://pear.php.net/package/DB_DataObject_FormBuilder > > Hi, > > I'm designing intranet softwares with PHP. I want to know if it exists > good RAD software to speed up developpement with a database. Like > creating forms in relation with database in WYSIWYG mode

[PHP] shopping cart classes

2005-04-05 Thread madhuri sawant
Hi, I have to code shopping cart in php and I wanted to use shopping cart classes if available. I m confused using php classes ,I got from net after searching google as I want to use it for 2 3 carts. It would be very helpful to me, if anybody suggests me for ready available shopping cart php

[PHP] Maybe Newbie: PHP-scripts in sub-directories

2005-04-05 Thread Oliver Ekeis
Hi NG, I'm very sorry to bother you, but I've wasted a week solving my problem and didn't find any solution in the net. On my dedicated server preinstalled with Linux Suse 9.0, Apache 2.0.48, PHP 4.3.3 in want to use php in subdirectories. In the main document root of apache my test.php (consisti

[PHP] Re: Javascript Calendar and PHP

2005-04-05 Thread chris
I do not know of a specific calendar, but communication between JavaScript and php is most commonly handled via a form post. Think of it along these lines. 1 - client downloads your page with JS calendar script. 2 - client clicks on a calendar day. 3 - onclick event submits the day via post vari

[PHP] Sending mail directly to php

2005-04-05 Thread ÞilvinasÐaltys
Hello, I have to create a script that could parse attachments that come from another server by mail. I could use crontab & pear pop to do the job. But maybe someone knows if it is possible to configure my server in such way that it could send mail attachments directly to my php script. It's a lit

Re: [PHP] Sending mail directly to php

2005-04-05 Thread Michael von Minden
Hi! You could create a shell php script that listens on port 25 and does what eg sendmail does... imho this would not be a good solution. A better solution would be to use procmail to feed the mail to your script after it was accepted by the mailserver. cheers ÞilvinasÐaltys wrote: > I have to

Re: [PHP] pass variable from vbscript to php

2005-04-05 Thread David Bevan
Please address replies to the list --- Rory Browne <[EMAIL PROTECTED]> wrote: > I'm not sure how you'd go about this from a security > point of view, > but perhaps for an Intranet, you could, check their > IP address from > $_SERVER['REMOTE_ADDR'], and check your login server > to see who is > logg

[PHP] Solution for all your design requiremetnts

2005-04-05 Thread freshersworld .com
Visit www.lifenit.com for more details.. First Job. Dream Job... Freshersworld.com __ Do you Yahoo!? Yahoo! Small Business - Try our new resources site! http://smallbusiness.yahoo.com/resources/ -- PHP General Mailing List (http://

Re: [PHP] Accented character 'echo'ed randomly

2005-04-05 Thread John Coppens
On Tue, 05 Apr 2005 09:44:35 +0200 Marek Kilimajer <[EMAIL PROTECTED]> wrote: > John Coppens wrote: > > Hi people. > > > > I submitted the issue below to the bug site, but the people there > > suggested I present it here. I've tried some more, but until now, I > > couldn't find any cause for the

[PHP] Header issues

2005-04-05 Thread Mahmoud Badreddine
I have a web-page divided into two frames : "margin" and "main". Inside the "margin" frame area, I have a pull-down menu that lists all the tables in my database. Upon choosing the appropriate table from the pull-down menu I click a button to display the table. I use the Header( ) function. This

Re: [PHP] Header issues

2005-04-05 Thread John Nichel
Mahmoud Badreddine wrote: I have a web-page divided into two frames : "margin" and "main". Inside the "margin" frame area, I have a pull-down menu that lists all the tables in my database. Upon choosing the appropriate table from the pull-down menu I click a button to display the table. I use the

Re: [PHP] Header issues

2005-04-05 Thread Martin . C . Austin
Perhaps you can do some juggling to make this work, passing the query to the server, then using a client side language to transmit those results to the appropriate frame. Sounds like a big headache to me though. Martin Austin John Nichel <[EMAIL PROTECTED]> 04/05/2005 11:17 AM To

RE: [PHP] Header issues

2005-04-05 Thread Jay Blanchard
[snip] I have a web-page divided into two frames : "margin" and "main". Inside the "margin" frame area, I have a pull-down menu that lists all the tables in my database. Upon choosing the appropriate table from the pull-down menu I click a button to display the table. I use the Header( ) function

Re: [PHP] Help. Floats turning into really small numbers? x.xxxxxxxxxxxxxxxxxxxxxxE-xx

2005-04-05 Thread Rasmus Lerdorf
Anthony Tippett wrote: I'm having trouble figuring out why subtraction of two floats are giving me a very small number. I'm thinking it has something to do with the internals of type casting, but i'm not sure. If anyone has seen this or can give me some suggestions, please. I have 2 variables tha

Re: [PHP] Accented character 'echo'ed randomly

2005-04-05 Thread Satyam
"John Coppens" <[EMAIL PROTECTED]> wrote in message The page is started with , according to rfc3066. John I am not sure this applies to your problem. The language is not the same as the character set. There are several character sets which can represent many Europe

Re: [PHP] PHP 5.0.4 not generating /usr/local/bin/pear ?

2005-04-05 Thread Rick Fletcher
Chances are it's not your fault. The initial release of 5.0.4 was missing the RunTest.php file. The end result of which is that pear isn't installed. It was noticed a day after the initial release, and I believe the 5.0.4 that's on php.net now has been fixed. --Rick mbneto wrote: Hi, I've dow

[PHP] PHP config issues when moving from Fedora to SuSe

2005-04-05 Thread Whil Hentzen
Hi folks, I've done a bit of work with PHP/MySQL on a Fedora Core server over the past few months and just about the time I got comfortable, it was time to change the server to SuSE. What a delight! Installed Apache 2, PHP and MySQL and I was processing pages within minutes. So now I switched m

Re: [PHP] Re: MySQL empty row

2005-04-05 Thread GamblerZG
DB Error: constraint violation What DB do you use? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Browser problem

2005-04-05 Thread ja ko
Hi, I have a little problem: The following link works well on Explorer, Mozilla and Firefox: pag.php?var=1&#print But on Opera, the same link change to this: pag.php?var=1%EF%BF%BDprint causing an error. How I can solve it? Thanks for the answers -- PHP General Mailing List (http://www.

Re: [PHP] Accented character 'echo'ed randomly

2005-04-05 Thread John Coppens
On Tue, 5 Apr 2005 19:14:17 +0200 [EMAIL PROTECTED] (Satyam) wrote: > One think I can tell you for sure because I just checked is that > Microsoft does not list 'lang' as an atribute for the html tag, so I > wouldn't expect Internet Explorer to care about it: > > http://msdn.microsoft.com/worksho

[PHP] cancelling

2005-04-05 Thread newbie c
Hi, I would appreciate help on the following. I have been looking up ways to implement a cancel button with php. Basically, I have a mypictures.php file. There are select statements, grep statements, and a call to executables. I don't understand why there isn't that much around about this c

[PHP] Re: Browser problem

2005-04-05 Thread Satyam
I think the #, if meant as a bookmark, should go before the ?: pag.php#print?var=1 If it is not meant as a bookmark, then it should be urlencoded Satyam "Ja Ko" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Hi, > I have a little problem: > The following link works well on Expl

[PHP] PHP inside .htacess protected file

2005-04-05 Thread james tu
I have this dilemma...I know this is more of an apache question than a PHP questions, but I thought that it's partially related. We have a webserver that we want to turn on/off access. We were thinking of using simple HTTP authentication to protect the main webserver directory. We have Flash mo

Re: [PHP] Accented character 'echo'ed randomly

2005-04-05 Thread Satyam
"John Coppens" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > On Tue, 5 Apr 2005 19:14:17 +0200 > [EMAIL PROTECTED] (Satyam) wrote: > >> One think I can tell you for sure because I just checked is that >> Microsoft does not list 'lang' as an atribute for the html tag, so I >> would

Re: [PHP] Re: Browser problem

2005-04-05 Thread [EMAIL PROTECTED]
take out the & sign. just: pag.php?var=1#print -afan Satyam wrote: I think the #, if meant as a bookmark, should go before the ?: pag.php#print?var=1 If it is not meant as a bookmark, then it should be urlencoded Satyam "Ja Ko" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] Hi, I h

RE: [PHP] cancelling

2005-04-05 Thread Chris W. Parker
newbie c on Tuesday, April 05, 2005 11:03 AM said: > Are these ideas practical and possible? Practically speaking? It seems like a waste of time. What are these executables doing? The stop button on the browser or clicking a link to a new page should suffice. As fo

[PHP] help on "Array to string conversion" warning when use mail()

2005-04-05 Thread cchereTieShou
I am using the mail() function to send a quite simple email but always get warning message as "Notice: Array to string conversion" at this line "if(mail($MailTo, $MailSubj, $MailCon, $MailH,"[EMAIL PROTECTED]")){" in the following php code. I don't see where is the Array at all. Appreciated for he

[PHP] Critical Thinking, or Several "Why" Questions

2005-04-05 Thread GamblerZG
Why include_once() is doing some fancy logic, which nobody needs? Why array_shift() re-indexes arrays? Why 2 simple string comparisons are slower than one preg_match()? Why microtime(TRUE) returns only fraction of real time that is smaller than 1? Why microtime() does not return float in the first

Re: [PHP] cancelling

2005-04-05 Thread Philip Hallstrom
You might find this section in the manual helpful... never done it myself though... http://us2.php.net/manual/en/features.connection-handling.php On Tue, 5 Apr 2005, newbie c wrote: Hi, I would appreciate help on the following. I have been looking up ways to implement a cancel button with php. B

[PHP] Slightly 0T - database (adodb)

2005-04-05 Thread Ryan A
Hey all, After my old thread of "SQL-Injection" I have been checking out the PEAR db classes and ADODB as a database wrapper. PEAR is quite large and has a LOT of stuff which I prolly will never use (but very useful stuff if you know how to use it) so I thought i'll go with adodb. After reading t

Re: [PHP] Slightly 0T - database (adodb) SOLVED

2005-04-05 Thread Ryan A
Hey, Solved it, they wrote $database in the docs as I was supposed to change it to the database i am using (mysql) while I mistook it for the database where the tables are stored (test1) Hope that helps anyone else if they have this problemso for the adodb looks pretty good! Cheers, Ryan On

RE: [PHP] Critical Thinking, or Several "Why" Questions

2005-04-05 Thread Jay Blanchard
[snip] Why include_once() is doing some fancy logic, which nobody needs? Why array_shift() re-indexes arrays? Why 2 simple string comparisons are slower than one preg_match()? Why microtime(TRUE) returns only fraction of real time that is smaller than 1? Why microtime() does not return float in th

RE: [PHP] cancelling

2005-04-05 Thread newbie c
The executables are taking the user's input and going to the database to grab and cut out the pictures that are corresponding to the user's search term. I understand the stop button may solve some problems and I am going to test this some more. But there is still the need to stop a user from m

RE: [PHP] cancelling

2005-04-05 Thread Chris W. Parker
newbie c on Tuesday, April 05, 2005 12:23 PM said: > The executables are taking the user's input and going to the database > to grab and cut out the pictures that are corresponding to the user's > search term. I can only guess then that these executables could not b

[PHP] Re: PHP config issues when moving from Fedora to SuSe

2005-04-05 Thread Jason Motes
Whil Hentzen wrote: Hi folks, I've done a bit of work with PHP/MySQL on a Fedora Core server over the past few months and just about the time I got comfortable, it was time to change the server to SuSE. What a delight! Installed Apache 2, PHP and MySQL and I was processing pages within minutes.

Re: [PHP] Critical Thinking, or Several "Why" Questions

2005-04-05 Thread GamblerZG
Why don't you RTFM? There is nothing in manual that answers any of those questions. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: PHP config issues when moving from Fedora to SuSe

2005-04-05 Thread Whil Hentzen
There's /etc/apache2/httpd.conf that basically just has a bunch of includes. Don't wanna touch that. There's /etc/apache2/default-server.conf that looks like it's where the action is. And there's a /etc/apache2/conf.d/php4.conf file that has specific php commands, such as AddType

RE: [PHP] Critical Thinking, or Several "Why" Questions

2005-04-05 Thread Jay Blanchard
[snip] Why include_once() is doing some fancy logic, which nobody needs? Why array_shift() re-indexes arrays? Why 2 simple string comparisons are slower than one preg_match()? Why microtime(TRUE) returns only fraction of real time that is smaller than 1? Why microtime() does not return float in th

Re: [PHP] Cannot connect to database when using Zend studio debugger

2005-04-05 Thread Supersky
Thanks, Burhan. Supersky "Burhan Khalid" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Supersky wrote: >> Dear Richard, >> >> Thanks. >> >> After I swaped to PHP4 option in the preference of Zend Studio, I can >> connect to the database. However, other problems arised. The proble

[PHP] To session or not to session

2005-04-05 Thread mailings
Hi all I have been doing all my design by using POST to transfer user data and GET for user changeable variables. I would like to know what you guys think of using SESSION in production sites. Right now I am giving a trust factor of 80% to POST and 0% on GET. What trust factor should I appl

[PHP] dynamic image will not print properly

2005-04-05 Thread DuSTiN KRySaK
Hi there - I had my first crack at creating a dynamic image. The thing is - the image is displayed fine in the browser, but when you go to print it, the image is either missing, or part of it is missing. Is there something special needed to print a dynamic image? Here is a code snippet used to

Re: [PHP] Critical Thinking, or Several "Why" Questions

2005-04-05 Thread Richard Lynch
On Tue, April 5, 2005 11:44 am, GamblerZG said: > Why include_once() is doing some fancy logic, which nobody needs? Obviously somebody needed it, or they wouldn't have written it! If you don't need it, you can roll your own in about 10 seconds, or you could simply *NOT* use include_once and struc

Re: [PHP] Critical Thinking, or Several "Why" Questions

2005-04-05 Thread Jason Barnett
Jay Blanchard wrote: > [snip] > Why include_once() is doing some fancy logic, which nobody needs? I need it. If you don't need it, don't use it. > Why array_shift() re-indexes arrays? Because most people *expect* it to behave that way. > Why 2 simple string comparisons are slower than one preg

[PHP] PHP 4.3/MySQL phpinfo()

2005-04-05 Thread Todd Cary
I have installed FC 3 with Apache and MySQL. When I run phpinfo(), I do not see MySQL listed as a database nor can I connect via php. Does something have to be specially done with the FC 3 install? Todd -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/u

Re: [PHP] dynamic image will not print properly

2005-04-05 Thread Andy Pieters
To test, cstl.php?dk=somethinghere and try to print that? Maybe your browser is configured to NOT print images (or bakckground) ? Maybe your printer is textonly (just kidding) Tada Andy On Tuesday 05 April 2005 23:26, DuSTiN KRySaK wrote: > Hi there - I had my first crack at creating a dyn

Re: [PHP] PHP inside .htacess protected file

2005-04-05 Thread Richard Lynch
On Tue, April 5, 2005 11:24 am, james tu said: > We have a webserver that we want to turn on/off access. > We were thinking of using simple HTTP authentication to protect the > main webserver directory. > > We have Flash movies that talk to PHP scripts inside the webserver > directory. > > When we

Re: [PHP] PHP config issues when moving from Fedora to SuSe

2005-04-05 Thread Richard Lynch
On Tue, April 5, 2005 10:49 am, Whil Hentzen said: > So now I switched my development box to SuSE, then, later, installed > Apache 2 and PHP via YaST, and it's burping on me. Apache processes > static pages fine, but the PHP function calls aren't being processed. > I'm guessing that there are missi

[PHP] registering session with user and password

2005-04-05 Thread Tomás Rodriguez Orta
Hi, people. I want to register all session of my web sitie, by the way in my index web I register all user with your username and password session_start(); $_SESSION['username']=$username; session_register('username'); and the other page if the user don't enter your name and password I was redirec

[PHP] Fwd: dynamic image will not print properly

2005-04-05 Thread DuSTiN KRySaK
One thing to add. the issue is only on windows/IE. If it is say windows/Firefox - everything works as it should. d Begin forwarded message: From: DuSTiN KRySaK <[EMAIL PROTECTED]> Date: April 5, 2005 2:26:14 PM PDT To: PHP Subject: dynamic image will not print properly Hi there - I had my f

Re: [PHP] PHP 4.3/MySQL phpinfo()

2005-04-05 Thread Andy Pieters
On Tuesday 05 April 2005 23:35, Todd Cary wrote: > Does something have to be specially done with the FC 3 install? I kindly redirect you to google for LAMP which is short for Linux Apache MySQL PHP I have also learned to setup this kind of system on Fedora Core 3. While you CAN rely on the rpm

[PHP] plug-in forum

2005-04-05 Thread Ryan A
Hi, a client wants me to add a forum to his existing site...which is not a problem, the problem is he wants it to work off his existing site eg: once someone logs in to the main site they dont have to relogin or create new accounts in the forum section a one login gets you total site access ki

[PHP] Re: To session or not to session

2005-04-05 Thread Jason Barnett
[EMAIL PROTECTED] wrote: > Hi all > > I have been doing all my design by using POST to transfer user data and GET > for user changeable variables. > > I would like to know what you guys think of using SESSION in production sites. SESSION is "A Good Thing". > > Right now I am giving a trust factor

[PHP] Re: registering session with user and password

2005-04-05 Thread Jason Barnett
Tomás Rodriguez Orta wrote: > Hi, people. > I want to register all session of my web sitie, by the way in my index web I > register all user with your username and password > session_start(); > $_SESSION['username']=$username; > session_register('username'); > You should use $_SESSION *or* sessio

RE: [PHP] To session or not to session

2005-04-05 Thread Chris W. Parker
[EMAIL PROTECTED] on Tuesday, April 05, 2005 2:25 PM said: > Right now I am giving a trust factor of 80% to POST and 0% on GET. > What trust factor should I apply to SESSION What do you mean "trust"? If by trust you mean "I trust the data to be 80% h4x0r-free if I'

RE: [PHP] PHP 4.3/MySQL phpinfo()

2005-04-05 Thread Chris W. Parker
Todd Cary on Tuesday, April 05, 2005 2:35 PM said: > I have installed FC 3 with Apache and MySQL. When I run phpinfo(), I > do not see MySQL listed as a database nor can I connect via php. > > Does something have to be specially done with the FC 3 install? Other t

Re: [PHP] Re: registering session with user and password

2005-04-05 Thread Tomás Rodriguez Orta
ok thanks I test an solution an working in the page login.php i do the following $user=$username; session_register("user"); and the all pages I do this. if (isset($_SESSION['user'])) { . } else header("Location:http://webadmin/index.php";) and that all ok, before I asked by the if (!se

Re: [PHP] Sending mail directly to php

2005-04-05 Thread Richard Lynch
On Tue, April 5, 2005 7:43 am, ÞilvinasÐaltys said: > I have to create a script that could parse attachments that come from > another > server by mail. I could use crontab & pear pop to do the job. But maybe > someone knows if it is possible to configure my server in such way that it > could send m

Re: [PHP] Maybe Newbie: PHP-scripts in sub-directories

2005-04-05 Thread Richard Lynch
On Tue, April 5, 2005 5:43 am, Oliver Ekeis said: > I'm very sorry to bother you, but I've wasted a week solving my problem > and didn't find any solution in the net. > > On my dedicated server preinstalled with Linux Suse 9.0, Apache 2.0.48, > PHP 4.3.3 in want to use php in subdirectories. In the

RE: [PHP] plug-in forum

2005-04-05 Thread Chris W. Parker
Ryan A on Tuesday, April 05, 2005 3:07 PM said: > a client wants me to add a forum to his existing site...which is not a > problem, the problem is he wants it to work off his existing site > > eg: > once someone logs in to the main site they dont have to relogin or

Re: [PHP] Critical Thinking, or Several "Why" Questions

2005-04-05 Thread GamblerZG
> What fancy logic? And why does no one need it? I'm referring to this: http://archives.devshed.com/a/ng/557-22943/ > Now surely you can RTFM and find more answers. If you disagree with the > way that some things work you have a couple of options; > > a. Contact the PHP development group and explai

Re: [PHP] plug-in forum

2005-04-05 Thread Andre Dubuc
On Tuesday 05 April 2005 06:50 pm, Chris W. Parker wrote: > Ryan A > > on Tuesday, April 05, 2005 3:07 PM said: > > a client wants me to add a forum to his existing site...which is not a > > problem, the problem is he wants it to work off his existing site > > > > eg:

RE: [PHP] plug-in forum

2005-04-05 Thread Chris W. Parker
Andre Dubuc on Tuesday, April 05, 2005 4:04 PM said: > Might want to look at: > > http://fudforum.org > > hth, > Andre Andre, Who are you responding to? Myself or to the op? Chris. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http:

Re: [PHP] plug-in forum

2005-04-05 Thread Andre Dubuc
On Tuesday 05 April 2005 07:16 pm, Chris W. Parker wrote: > Andre Dubuc > > on Tuesday, April 05, 2005 4:04 PM said: > > Might want to look at: > > > > http://fudforum.org > > > > hth, > > Andre > > Andre, > > Who are you responding to? Myself or to the op? > > > > Ch

[PHP] Re: To session or not to session

2005-04-05 Thread Skrol 29
Hi, SESSION feature connot be compared to POST and GET. POST and GET are methods to transfer data from the client to the server. SESSION is a method to keep the server in touch with the client, like COOKIES. A SESSION works with an ID saved in a cookie, or recalled in the URL. The value of the se

RE: [PHP] plug-in forum

2005-04-05 Thread Ryan A
Hey, Thanks, will look into it. I did like this part the best though: "Maybe you could cull the admin section to include only the necessary option and hide everything else from the admin as to not overwhelm their puny brain." hehe If only our clients knew how we speak about them or their "compute

[PHP] Re:Re: [PHP] dynamic image will not print properly

2005-04-05 Thread DuSTiN KRySaK
I wondered that myself, but all the other (not dynamic) images print fine! d On 5-Apr-05, at 4:51 PM, [EMAIL PROTECTED] wrote: From: Andy Pieters <[EMAIL PROTECTED]> Date: April 5, 2005 2:35:22 PM PDT To: php-general@lists.php.net Subject: Re: [PHP] dynamic image will not print properly To test,

Re: [PHP] dynamic image will not print properly

2005-04-05 Thread Richard Lynch
On Tue, April 5, 2005 2:26 pm, DuSTiN KRySaK said: > Hi there - I had my first crack at creating a dynamic image. The thing > is - the image is displayed fine in the browser, but when you go to > print it, the image is either missing, or part of it is missing. Is > there something special needed to

Re: [PHP] To session or not to session

2005-04-05 Thread Richard Lynch
On Tue, April 5, 2005 2:24 pm, [EMAIL PROTECTED] said: > I have been doing all my design by using POST to transfer user data and > GET > for user changeable variables. > > I would like to know what you guys think of using SESSION in production > sites. GET, POST, SESSION, Whatever it takes. > Rig

Re: [PHP] ImageMagick Versus GD

2005-04-05 Thread Richard Lynch
On Tue, April 5, 2005 1:05 am, [EMAIL PROTECTED] said: > which one is better ImageMagick or GD? > > infact I am much more curious about their image processing speed and > server > load. especially resizing large imagefiles. It probably depends more on your Machine's typical load/usage/processes th

Re: [PHP] strtotime() bug?

2005-04-05 Thread Richard Lynch
On Mon, April 4, 2005 3:14 pm, Al said: > Suddenly my strtotime() are goofy, anyone have any ideas? > > echo date('Y/m/d/H', time()). ""; //2005/04/04/18 > echo date('Y/m/d/H', strtotime("-1 day")). ""; > //2005/04/03/18 > echo date('Y/m/d/H', strtotime("

Re: [PHP] [Q] mail() & security

2005-04-05 Thread Richard Lynch
On Mon, April 4, 2005 2:00 pm, Eric Gorr said: > I wanted to setup a good 'contact me' page on my website. I do not want > to reveal my e-mail address, so I was going to use a form. > > The PHP script with the actual mail() function would define the To and > Subject parameters, so these could not b

Re: [PHP] Creating INSERT INTO statement from dbf file

2005-04-05 Thread Richard Lynch
On Mon, April 4, 2005 1:33 pm, Rahul S. Johari said: > It works fine, except for one problem. It¹s able to create the INSERT INTO > sql statement, with all the fields and corresponding values, but as I¹m > running a loop for both the fields names, and the values corresponding to > fields names, it

Re: [PHP] Adding Fonts to JpGraph

2005-04-05 Thread Richard Lynch
On Mon, April 4, 2005 12:39 pm, Stephen Johnson said: > I am using JPGraph for a project that I am working on right now and I have > hit a small snag - > > My client wants to have the user be able to select from a list of about 20 > ­30 standard fonts. JPGraph only has about six built into it and

Re: [PHP] Exchanging Data among processes

2005-04-05 Thread Richard Lynch
On Mon, April 4, 2005 5:30 am, Matheus Degiovani said: > How can I exchange data among processes (i.e. two or more users > accessing a php webpage)? The two "usual" ways would be using either a > database or file, so I was wondering if there is another, more "fast" > (with reduced latency) for diff

Re: [PHP] create word files

2005-04-05 Thread Richard Lynch
On Mon, April 4, 2005 2:07 am, Roman Duriancik said: > I have problem with creating word file in PHP script. I create table in > word document but sometimes php send me error message : "*Warning*: > (null)(): Invoke() failed: Exception occurred. *Source*: Microsoft Word > *Description*: There is in

Re: [PHP] php - set interval

2005-04-05 Thread Richard Lynch
On Sun, April 3, 2005 7:10 pm, Andrew said: > i've been searching for a 'setInterval' function in php and haven't had > much luck. http://php.net/sleep is kinda sort not like what you want. A cron job might be what you want, depending on if you classify cron as "complicated server stuff" or not.

Re: [PHP] help with GD

2005-04-05 Thread Richard Lynch
On Sun, April 3, 2005 12:31 am, [EMAIL PROTECTED] said: > is there any way to edit and resize animated gifs in PHP? > with imagegif() i only get a static image Not as far as I know... Though I do recall seeing something about this on the GD page, so maybe you want to look at adding that support t

Re: [PHP] fpassthru(); corrupts files on win 5.0.4 ??

2005-04-05 Thread Richard Lynch
On Sun, April 3, 2005 12:11 am, Andras Kende said: The only thing "wrong" I see is: > $path = "\\\server\ftpserver\\$company\\" . $file; \\ is \ \s is, errr, I dunno. You tell me. What's \s \f is, errr, I dunno. Crank up your error_reporting, use wget (or whatever on Windows) to find out

Re: [PHP] Broken connection

2005-04-05 Thread Richard Lynch
Your script is dying at some point. You're not seeing any error messages in your browser or your logs. So you need to crank up the error_reporting, check all return codes, and *DO* something useful when you encounter invalid data and error codes. Nobody can tell you much more than that without

Re: [PHP] Printing

2005-04-05 Thread Richard Lynch
On Sat, April 2, 2005 9:03 am, Niels Riis Kristensen said: > I am using a Unix machine (Mac) but can't find ways to print to my > local printer. Plenty of information about printing from a PC, but none > from a mac. Can that be, that you can't print from php to mac? First, get printing to work AT

Re: [PHP] filtering uploaded files

2005-04-05 Thread Richard Lynch
On Sat, April 2, 2005 6:35 am, Marek Kilimajer said: > Angelo Zanetti wrote: >> hi Richard this sounds like quite a serious subject but is there no >> other way to check the validity of the file and type without using the >> unix command? >> >> IE using PHP and not depending on system commands?

Re: [PHP] Re: Retrieve URL of website

2005-04-05 Thread Richard Lynch
var_dump($_SERVER); should provide you with sufficient info to piece together what you need. On Fri, April 1, 2005 9:36 pm, HarryG said: > Thanks guys. > > "HarryG" <[EMAIL PROTECTED]> wrote in message > news:[EMAIL PROTECTED] > Hi, > > I want to retrieve the complete url in my php script. How

  1   2   >