Re: [PHP] Upload seems to time out over 7.5 M

2003-09-11 Thread Marek Kilimajer
set_time_limit() takes effect only during actual execution of php script. Take a look at your max_input_time and post_max_size settings. post_max_size should be higher than upload_max_filesize. Dan Anderson wrote: try: set_time_limit(0); // don't time out. By default, if it takes more then 30

[PHP] error socket_recvfrom

2003-09-11 Thread Anang Syarifudin
Hi guyz, I've just tried a simple script using socket_recvfrom for a simple udp daemon. due a excessive traffic I got error : Warning: socket_recvfrom() unable to recvfrom [11]: Resource temporarily unavailable in udp.php on line 94 udp packet size is fixed 1464 byte. Is there spesific issue

[PHP] Re: mail function

2003-09-11 Thread Kae Verens
Deependra B. Tandukar wrote: Dear all, Recently installed PHP in my Linux server. It says, mail function is not enabled? How is turn this on? mail is handled by the server's smtp program. In Linux, this is sendmail, and should be installed by default. Haven't a clue about Windows (I don't do wi

[PHP] Re: Do you really still pay for bandwidth?

2003-09-11 Thread Kae Verens
Dougd wrote: Do you really still pay for bandwidth? I do. And that makes me very aware of bulky HTML and unnecessary images, which I believe improves my work by forcing me to be efficient. Kae -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: Do you really still pay for bandwidth?

2003-09-11 Thread Duncan Hill
On Thursday 11 Sep 2003 10:57, Kae Verens wrote: > Dougd wrote: > > Do you really still pay for bandwidth? > > I do. And that makes me very aware of bulky HTML and unnecessary images, > which I believe improves my work by forcing me to be efficient. > > Kae Ditto. I pay for my time online. Yes,

[PHP] PHP and XML help needed

2003-09-11 Thread Mr. Bogomil Shopov
Hi folks How I can put some php code in a XSL template. I have a function that returns a value and I want this value to be entered in a tag in XSL template? Thanks Bogomil -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] multi languages pages - string 2 hexa ????

2003-09-11 Thread olivier
Hi, I have to create a multi-language web site. The interface language and the content language are different. The interface languages are frensh, english, spannish or portugese, but the content can be english or russian or greek... My idea is to write the string in hexa codes. So is there a simp

[PHP] Re: mail function

2003-09-11 Thread David
If you are doing Windows, you set up SMTP in the php.ini to your mail server, mine is SMTP = 192.168.16.2, and I also set up sendmail_from = [EMAIL PROTECTED] -- Kind Regards David Anagram Systems http://www.anagram-sys.co.uk/ http://www.web-planets.com/davec/techsitedb/ "Deependra B. Tandukar

Re: [PHP] multi languages pages - string 2 hexa ????

2003-09-11 Thread Marek Kilimajer
Use unicode and a unicode editor. olivier wrote: Hi, I have to create a multi-language web site. The interface language and the content language are different. The interface languages are frensh, english, spannish or portugese, but the content can be english or russian or greek... My idea is to

[PHP] reverse lookup/domain lookup in PHP

2003-09-11 Thread Tim Baker
I've got some code doing IP checking using the HTTP header...but would like to improve it Is it possible to reverse lookup (like here http://www.whatismyipaddress.com/reverse.asp) to find the domain with PHP? I assume a DNS lookup requires an external server somewhere? Sounds weird I know

Re: [PHP] multi languages pages - string 2 hexa ????

2003-09-11 Thread Marek Kilimajer
Olivier Wauters wrote: Hi, Thank you for your reply. The thing is the the content is from a mysql database, and input with a web based application. And the website is totally dynamic. So I try to find the easier solution. So you need to recode the content of mysql tables, you would need to do it

[PHP] Re: reverse lookup/domain lookup in PHP

2003-09-11 Thread Chris Kranz
> Is it possible to reverse lookup (like here http://www.whatismyipaddress.com/reverse.asp) to find the domain with PHP? I assume a DNS lookup requires an external server somewhere? > you can use exec or similar and to a reverse lookup like that... a traceroute should cover it. please don't copy

[PHP] Re: PHP and Ekit

2003-09-11 Thread Alexandru COSTIN
Hi, You should either try a free JavaScript editor (htmlArea - http://www.dynarch.com/mishoo/htmlarea.epl) or get a commercial one (KTML3 - http://www.interakt.ro/products/KTML) They are much better than a JavaEditors in terms of resources, speed and features. Alex

[PHP] strange new problem with IE

2003-09-11 Thread Sam Folk-Williams
Hi, For about the past week or so (after getting a new IE update) I've been having strange problems with IE and my PHP scripts. One out of ten times or so, when you click on a link or open a page, IE pops up a file download dialogue instead of displaying the page. It's asking you to open or s

RE: [PHP] strange new problem with IE

2003-09-11 Thread Jay Blanchard
[snip] For about the past week or so (after getting a new IE update) I've been having strange problems with IE and my PHP scripts. One out of ten times or so, when you click on a link or open a page, IE pops up a file download dialogue instead of displaying the page. It's asking you to open or

[PHP] Attention Moderator - Autoresponder Needs Unsubing from list

2003-09-11 Thread Jay Blanchard
Each time I send/respond I get an autoresponder from (major snippage to header) Received: from lns.hs.ro (lns.hs.ro [194.102.195.10]) Received: from Aurel ([194.102.195.25]) by lns.hs.ro (8.11.6/8.11.0) with SMTP id h8BBR8s32710 Message-ID: <[EMAIL PROTECTED]> From: "Aurel Tirnovanu" <[EMA

[PHP] Mysql Authentication problem

2003-09-11 Thread James Hamilton
Hi I am having problems using php to access a Mysql database as an authecitcated user. Environment: Solaris 8, apache 1.3.28, php 4.3.1, mysql 3.23.43 My php scripts can connect to the test database using null user and password. However, when I attempt to connect from a php script as user foo

RE: [PHP] Mysql Authentication problem

2003-09-11 Thread Jay Blanchard
[snip] The user has both localhost and % host privileges in the mysql permission schema. [/snip] Add the same user with 127.0.0.1 as the host. Make sure you reload ("flush") the users table -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] strange new problem with IE

2003-09-11 Thread Jay Blanchard
[snip] Well, this is pretty weird. Now I'm trying to look at the site and I can't get it at all. I'm either getting the file download diagloue or this strange error message: php-engine: file /home/k/h/user191796/html/staff/index.php has incorrect uid/gid for effective uid 51 (2116/2116) Below is s

RE: [PHP] Mysql Authentication problem

2003-09-11 Thread Jay Blanchard
[snip] > [snip] > The user has both localhost and % host privileges in the mysql > permission > schema. > [/snip] > > Add the same user with 127.0.0.1 as the host. Make sure you reload > ("flush") the users table > Any other thoughts? [/snip] What is your connection string? (code) P.S. Always

RE: [PHP] Mysql Authentication problem

2003-09-11 Thread James Hamilton
> > [snip] > > The user has both localhost and % host privileges in the mysql > > permission > > schema. > > [/snip] > > > > Add the same user with 127.0.0.1 as the host. Make sure you reload > > ("flush") the users table > > > > Any other thoughts? > [/snip] > > What is your connection string? (

Re: [PHP] reverse lookup/domain lookup in PHP

2003-09-11 Thread CPT John W. Holmes
From: "Tim Baker" <[EMAIL PROTECTED]> > Is it possible to reverse lookup (like here > http://www.whatismyipaddress.com/reverse.asp) to > find the domain with PHP? I assume a DNS lookup > requires an external server somewhere? That's be great if there was a PHP function to do this, something like

Re: [PHP] Mysql Authentication problem

2003-09-11 Thread CPT John W. Holmes
From: "James Hamilton" <[EMAIL PROTECTED]> > current testing code: > > $link = mysql_connect("localhost", "user", "pass" ) > or die("Could not connect : " . mysql_error()); > print "Connected successfully"; > mysql_select_db("name") or die("Could not select database"); > print "connected"; >

[PHP] Get number of line with error

2003-09-11 Thread \[cz\]Emo
Hi all. I want ask you it exist some way how to get number of line in script producing error. for example: ... ... 100$sql_connection=mysql_connect( ) 101or die ( my_error_report_function ( $line_with_error ) ); ... ... Command at line 100 can produce error. And i need call some

RE: [PHP] reverse lookup/domain lookup in PHP

2003-09-11 Thread Tim Baker
clever clogs ;-) I didn't think PHP would have something like this...DOH! proven wrong again! ;-) Expensive? In server/processor time, money or bandwidth (doubt the latter?) -Original Message- From: CPT John W. Holmes [mailto:[EMAIL PROTECTED] Sent: 11 September 2003 14:12 To: Tim Baker

Re: [PHP] PHP and XML help needed

2003-09-11 Thread Raditha Dissanayake
Hi Mr Bogomil, IMHO you should try to do this with most things that look like it should be delegated to php can in fact be done easily with or best regards raditha Mr. Bogomil Shopov wrote: Hi folks How I can put some php code in a XSL template. I have a function that returns a value and I

[PHP] Mailing List Programme

2003-09-11 Thread Sheni R. Meledath
Hello: I have created an application to read email addresses from a list and to send emails. The problem now I am facing is, if the list is very long then I am getting an error message in the browser "Server Timed Out". How can I display a confirmation message and continue sending the emails fr

Re: [PHP] Mysql Authentication problem

2003-09-11 Thread James Hamilton
On Thu, 11 Sep 2003, CPT John W. Holmes wrote: > > current testing code: > > > > $link = mysql_connect("localhost", "user", "pass" ) > > or die("Could not connect : " . mysql_error()); > > print "Connected successfully"; > > mysql_select_db("name") or die("Could not select database"); > > pri

RE: [PHP] Mailing List Programme

2003-09-11 Thread Jay Blanchard
[snip] I have created an application to read email addresses from a list and to send emails. The problem now I am facing is, if the list is very long then I am getting an error message in the browser "Server Timed Out". How can I display a confirmation message and continue sending the emails fro

RE: [PHP] Mysql Authentication problem

2003-09-11 Thread Jay Blanchard
[snip] On Thu, 11 Sep 2003, CPT John W. Holmes wrote: > > current testing code: > > > > $link = mysql_connect("localhost", "user", "pass" ) > > or die("Could not connect : " . mysql_error()); > > print "Connected successfully"; > > mysql_select_db("name") or die("Could not select database");

Re: [PHP] reverse lookup/domain lookup in PHP

2003-09-11 Thread CPT John W. Holmes
From: "Tim Baker" <[EMAIL PROTECTED]> > Expensive? In server/processor time, money or bandwidth (doubt the latter?) server/processor time. It can take a while to get a response. Same as doing it from command line. ---John Holmes... -- PHP General Mailing List (http://www.php.net/) To unsubscrib

Re: [PHP] Mailing List Programme

2003-09-11 Thread Raditha Dissanayake
What jay has to say + please look at the archives for this month. You will find this topic discussed quite often. best regards Jay Blanchard wrote: [snip] I have created an application to read email addresses from a list and to send emails. The problem now I am facing is, if the list is very lo

RE: [PHP] reverse lookup/domain lookup in PHP

2003-09-11 Thread Tim Baker
Is that a major concern only for high-traffic sites? My site is low traffic...so I assume it'd be OK? Just tried the example now - works gret :-) -Original Message- From: CPT John W. Holmes [mailto:[EMAIL PROTECTED] Sent: 11 September 2003 14:31 To: Tim Baker; [EMAIL PROTECTED] Subject:

RE: [PHP] Mailing List Programme

2003-09-11 Thread chris . neale
I've used the following line in some of my scripts, some of which run for 10 or 15 minutes. set_time_limit(0); The server won't time out, but it takes a while to get anything back to the browser. It's not ideal, because it takes some time before anything gets sent back to the browser, but it does

RE: [PHP] Mysql Authentication problem

2003-09-11 Thread James Hamilton
> > How did you create this new user? > > Using mysql grant statements: > > originally: > > grant all privilges on name.* to [EMAIL PROTECTED] identified by 'pass'; > grant all privileges on name.* to user@'%' identified by 'pass; > and just now > grant all privileges on name.* to user@'127.0.0.

RE: [PHP] Mailing List Programme

2003-09-11 Thread Jay Blanchard
[snip] I've used the following line in some of my scripts, some of which run for 10 or 15 minutes. set_time_limit(0); The server won't time out, but it takes a while to get anything back to the browser. It's not ideal, because it takes some time before anything gets sent back to the browser, but i

Re: [PHP] Get number of line with error

2003-09-11 Thread Marek Kilimajer
For PHP 4 >= 4.3.0: function my_error_report_function($error) { $bt=debug_backtrace(); return "$error in {$bt[1][file]} on line {$bt[1][line]}"; } in older versions pass __FILE__ and __LINE__ to your function. [cz]Emo wrote: Hi all. I want ask you it exist some way how to get num

Re: [PHP] Mailing List Programme

2003-09-11 Thread Marek Kilimajer
You can send some output now and then to the browser (and flush()), or you can send the emails in steps, send first 300 emails, output a form with hidden fields (and text "sending emails") containing the offset and use onload="window.document.forms[0].submit()" to send the form and so on. Sheni

[PHP] New Session Ids generated with each page request

2003-09-11 Thread Golawala, Moiz M (IndSys, GE Interlogix)
My problem is that I get a new Session Id with every request I send to the server. For that reason I am unable to share variables between pages using sessions. (I get a new session Id even I refresh the same page). The code below prints out different session id for "page1.php" and "page2.php". C

Re: [PHP] strange new problem with IE

2003-09-11 Thread Sam Folk-Williams
The server is hosted by Interland. I have a ticket opened with them. It seems to me it must be something with the server because this just started happening all of a suden. Sam - Original Message - From: "Jay Blanchard" <[EMAIL PROTECTED]> To: "Sam Folk-Williams" <[EMAIL PROTECTED]>; <[EM

RE: [PHP] Mailing List Programme

2003-09-11 Thread chris . neale
With max_execution_time directive in PHP.ini? I suppose I must have changed that at some point too. I've tried using flush() before but without much luck, and from what I've read in the manual I think it might be because I'm running my setup on a Windows machine with IE6. A problem with client-side

[PHP] pdf2txt or rtf

2003-09-11 Thread Peter Rinab
I am looking for a php class which is able to read a pdf file and dump the content in txt or rtf format file. Any solutions? Regards -- Peter Rinab eHelp24 Allescherstrasse 32 81479 München Tel.: +49/89/74909-445 Fax.:+49/89/74909-351 Mobil: +49/171/4222676 www.eHelp24.com -- PHP General Mailin

RE: [PHP] pdf2txt or rtf

2003-09-11 Thread Jay Blanchard
[snip] I am looking for a php class which is able to read a pdf file and dump the content in txt or rtf format file. Any solutions? [/snip] Tons http://www.google.com/search?hl=en&ie=UTF-8&oe=UTF-8&q=pdf2txt -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.

Re: [PHP] New Session Ids generated with each page request

2003-09-11 Thread CPT John W. Holmes
From: "Golawala, Moiz M (IndSys, GE Interlogix)" <[EMAIL PROTECTED]> > My problem is that I get a new Session Id with every > request I send to the server. For that reason I am unable > to share variables between pages using sessions. (I get a > new session Id even I refresh the same page). The c

RE: [PHP] How to access a program outside of PHP?

2003-09-11 Thread Adam Douglas
Mmm... okay. I tried that and nothing. Is there no way for me to determine what the problem is? Error message some place, log file, etc? I do not understand why this is not work. Even a simple example from the PHP manual on system() does not work. > I meant to do this: > > $szPipe = `/htdocs/gs -

Re: [PHP] pdf2txt or rtf

2003-09-11 Thread Brian V Bonini
On Thu, 2003-09-11 at 08:37, Peter Rinab wrote: > I am looking for a php class which is able to read a pdf file and dump the > content in txt or rtf format file. > > Any solutions? There is a *NIX program for this, 'pdftotext' which you could execute from PHP. Would that suffice? -- PHP General

Re: [PHP] How to access a program outside of PHP?

2003-09-11 Thread Raditha Dissanayake
btw have you checked if you are in safe_mode? in php.ini error level can also be set in php.ini my guess is that you have a problem in your chroot setup. best regards Adam Douglas wrote: Mmm... okay. I tried that and nothing. Is there no way for me to determine what the problem is? Error message

RE: [PHP] Mailing List Programme

2003-09-11 Thread Sheni R. Meledath
Hi, Many thanks for the details. Now the problem is Flush() is not working on my server (UNIX/Apache 1.3). Are there any issues with Unix servers. The page displays the title and then waits for teh complete script to execute. I am using IE 6.0 to browse the page. At 08:36 AM 9/11/03 -0500, you

Re: [PHP] Mailing List Programme

2003-09-11 Thread CPT John W. Holmes
From: "Sheni R. Meledath" <[EMAIL PROTECTED]> > Many thanks for the details. Now the problem is Flush() is not working on > my server (UNIX/Apache 1.3). Are there any issues with Unix servers. The > page displays the title and then waits for teh complete script to execute. > I am using IE 6.0 to br

RE: [PHP] How to access a program outside of PHP?

2003-09-11 Thread Adam Douglas
No I have Safe_Mode = off. I also have error_reporting = E_ALL and display_errors = on and I have php errors to log to a log file. I have no log file of php errors nor is there an error being display on the page. Geez this is frustrating, yeah that's what I figure but you would think there can be

[PHP] Re: Single Quotes vs Double Quotes

2003-09-11 Thread Dave Dash
With all that's been said in mind ('$var' unparsed "$var" parsed). The rule of thumb I follow is, if it needs to be parsed (has a $variable or \n \r \t etc) then used double quotes, otherwise use single quotes... it conserves processing. -dd "Micro Brew" <[EMAIL PROTECTED]> wrote in message new

[PHP] Re: PREG-pattern, help needed

2003-09-11 Thread Dave Dash
Hi Tobias, This matches more than you'd like because [td] will match anything that has a t in it or a d in it. More generally anything in brackets means the RegExp will try to match something from that set. What you might want is this: preg_replace('/]*>/i', ""); The preg replaces or to what

[PHP] crypt problem

2003-09-11 Thread Serge Grondin
Hi, I have a weird problem with the crypt function. If I do: It print: 12 1 aat2dQ.feSqBI $1qjC9EADQ1x6 It seem that the second password is not encrypted in MD5 but with DES. It should be in MD5 if I read the doc correctly. My PHP version is 4.3.1 and compiled on a RedHat 7.3 with the 2.4.1

[PHP] crypt problem

2003-09-11 Thread Serge Grondin
Hi, I have a weird problem with the crypt function. If I do: http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Function calls and strings

2003-09-11 Thread Ney André de Mello Zunino
Hello. PHP possesses what the manual calls "complex syntax" for allowing one to include non-trivial expressions in strings, e.g.: $s = "The result is {$results[$foo]}."; I seek to find out whether PHP also has a syntax to allow function calls within a string, so that explicit concatenation i

[PHP] Refresh Error

2003-09-11 Thread Rex Brooks
Okay, I'm displaying an entire table of numbers from my database. Using a form on the same page, you can enter an amount to add to the table and then click submit. I pass all of the information in $_POST back to the same page. Here is my code: if ($_POST["number"] != NULL) { if (is_numeri

[PHP] storing quotes into a variable

2003-09-11 Thread Doug Parker
isn't there a function that allows me to store a string with a bunch of quotes in it (like an html tag) into a variable? for example, i need something like: $perf_mod = thanks... -- http://www.phreshdesign.com -- PHP General Mai

[PHP] Re: storing quotes into a variable

2003-09-11 Thread Rex Brooks
I think you just have to escape every double quote that you want to be a part of the HTML code like this --> /" That should work. I dont think you have to escape the single quotes, but I could be wrong. "Doug Parker" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > isn't there a

RE: [PHP] storing quotes into a variable

2003-09-11 Thread chris . neale
$perf_mod = 'mailto:[EMAIL PROTECTED] Sent: 11 September 2003 15:44 To: [EMAIL PROTECTED] Subject: [PHP] storing quotes into a variable isn't there a function that allows me to store a string with a bunch of quotes in it (like an html tag) into a variable? for example, i need something like: $p

RE: [PHP] php editor

2003-09-11 Thread Chris Hubbard
I think the BEST php editor "out there" is Microsoft's Visual Studio. Here's some of the reasons I think Visual Studio is the BEST 1. None of that annoying syntax highlighting that you find in many other editors 2. Unlimited technical support (at only $245 per call) 3. At $1000 - $2500 per copy

RE: [PHP] php editor

2003-09-11 Thread Robert Cummings
*ROFL* Rob. On Thu, 2003-09-11 at 12:54, Chris Hubbard wrote: > I think the BEST php editor "out there" is Microsoft's Visual Studio. > Here's some of the reasons I think Visual Studio is the BEST > 1. None of that annoying syntax highlighting that you find in many other > editors > 2. Unlimite

Re: [PHP] php editor

2003-09-11 Thread andu
On Thu, 11 Sep 2003 08:54:06 -0800 "Chris Hubbard" <[EMAIL PROTECTED]> wrote: > I think the BEST php editor "out there" is Microsoft's Visual Studio. You should've posted this before I got all invested with Nedit, Linux and the like... > Here's some of the reasons I think Visual Studio is the BE

Re: [PHP] php editor

2003-09-11 Thread Chris Sherwood
Thanks for starting my day out with a chuckle.. this is one of the better tongue in cheek items I have seen in a little bit Chris I think the BEST php editor "out there" is Microsoft's Visual Studio. Here's some of the reasons I think Visual Studio is the BEST 1. None of that annoying syntax

[PHP] AIX + PHP EXTENSION MODULE DOES NOT WORK

2003-09-11 Thread ashish borkar
Hi , I am writing a php extension module on AIX 4.3.3 RS6000 machine.I have compiled php as CGI.When I test my php extension module function from a test php script I get a CORE dump.The gdb php core is as below Core was generated by `php'. Program terminated with signal 11, Segmentat

[PHP] Problem with HTML Text box and PHP variable.

2003-09-11 Thread Golawala, Moiz M (IndSys, GE Interlogix)
I am having a problem with rendering PHP variables in an HTML text box. If the value of $myString is "Hello" the line below will render it correctly echo ""; However if the value of $myString is "Hello 1" then the line above will populate the text box with only "Hello" and it will loose the "1"

Re: [PHP] Problem with HTML Text box and PHP variable.

2003-09-11 Thread Robert Cummings
Proper HTML attribute values are surrounded by double quotes. Otherwise in sloppy mode, the HTML parser sees the pace between Hello and 1 and things a new attribute by the name of 1 has been encountered. Cheers, Rob. On Thu, 2003-09-11 at 13:05, Golawala, Moiz M (IndSys, GE Interlogix) wrote: > I

Re: [PHP] Problem with HTML Text box and PHP variable.

2003-09-11 Thread Chris Sherwood
try closing the value sections with single quotes that way the html processiing can see the value it was echo ""; now is echo ""; - Original Message - From: "Golawala, Moiz M (IndSys, GE Interlogix)" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, September 11, 2003 10:05 AM

[PHP] Re: URGENT BUSINESS RELATIONSHIP

2003-09-11 Thread Shadow
God!!! This crap is even following me to the newsgroups! Shadow -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] some kind of redirection (not the header function)

2003-09-11 Thread Juan Nin
Hi!!! I´m programming a site in PHP, where I want to do the following: I will have a set of different directories, where each directory must execute the same PHP pages, but giving as result different data, according to the directory where you are located (obtained by $_SERVER[´PHP_SELF´] for exam

Re: [PHP] Problem with HTML Text box and PHP variable.

2003-09-11 Thread murugesan
This will help you "; ?> -Murugesan - Original Message - From: "Golawala, Moiz M (IndSys, GE Interlogix)" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, September 11, 2003 10:35 PM Subject: [PHP] Problem with HTML Text box and PHP variable. I am having a problem with rend

Re: [PHP] some kind of redirection (not the header function)

2003-09-11 Thread Ed Curtis
Is there any type of criteria that would point a user to directoryA or directoryB? I recently rebuilt a site that handled a couple thousand different working directories for clients but used only one set of scripts for all. The user would have to login and variables were pulled from a database

[PHP] Using a jpGraph image in an FPDF pdf output...

2003-09-11 Thread Jay Blanchard
Has anyone ever suceesfully embedded a jpGraph image in an FPDF output? FPDF uses this function for an image $pdfGraph->Image('grfx/image.jpg', 15, 20, 50, 0, 'JPG'); but when image.jpg is created with jpgraph it throws errors. I am sure that I am missing something quite obvious, but alas I cann

Re: [PHP] some kind of redirection (not the header function)

2003-09-11 Thread Juan Nin
On Thu, 2003-09-11 at 15:39, Ed Curtis wrote: > Is there any type of criteria that would point a user to directoryA or > directoryB? > > I recently rebuilt a site that handled a couple thousand > different working directories for clients but used only one set of > scripts for all. The user would

[PHP] rename()

2003-09-11 Thread Edward Peloke
This is probably an easy question but I have been looking at this code for a while and it is all blurry..:) I have an uploaded image in a temp file that I want to rename and put in another folder. I am using rename() which works fine, the problem is, I want to force an overwrite if the file alrea

Re: [PHP] some kind of redirection (not the header function)

2003-09-11 Thread Ed Curtis
I'm pretty sure that YahooGroups uses cookies for this to hold values while you're not on their site. When you return it checks for the cookies and reloads the values from the last visit. You can accomplish this with PHP as well. Ed On Thu, 11 Sep 2003, Juan Nin wrote: > On Thu, 2003-09-11 at

Re: [PHP] some kind of redirection (not the header function)

2003-09-11 Thread Peter James
> I thought that maybe with some Apache stuff, but I don´t think thereś > something that will help, since directives such as RedirectMatch, etc. > rewrite the URL, and I don´t want that, I want the URL to remain > http://www.domain.com/directoryX/whatever.php mod_rewrite allows you to do internal

Re: [PHP] some kind of redirection (not the header function)

2003-09-11 Thread Juan Nin
On Thu, 2003-09-11 at 16:04, Ed Curtis wrote: > I'm pretty sure that YahooGroups uses cookies for this to hold values > while you're not on their site. When you return it checks for the cookies > and reloads the values from the last visit. You can accomplish this with > PHP as well. that´s clear,

Re: [PHP] some kind of redirection (not the header function)

2003-09-11 Thread Juan Nin
On Thu, 2003-09-11 at 16:20, Peter James wrote: > mod_rewrite allows you to do internal redirects. This would keep your > user's URL the same, but actually point to a different page internally. > This is, of course, depends on whether you or your host have mod_rewrite > installed. cool, it was t

Re: [PHP] Problem with HTML Text box and PHP variable.

2003-09-11 Thread CPT John W. Holmes
From: "murugesan" <[EMAIL PROTECTED]> > This will help you > > $dins="Dinesh"; > echo ""; > ?> Use double quotes for HTML attributes. ---John Holmes... -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] some kind of redirection (not the header function)

2003-09-11 Thread CPT John W. Holmes
From: "Juan Nin" <[EMAIL PROTECTED]> > The beheaviour I want to acomplish is the same as in yahoorgoups. > > You can access a mian page, where you login and have a list of all the groups you are subscribe to. > You click on the link to each one and it redirects you to: http://groups.yahoo.com/grou

Re: [PHP] rename()

2003-09-11 Thread CPT John W. Holmes
From: "Edward Peloke" <[EMAIL PROTECTED]> > This is probably an easy question Yep.. ;) > I have an uploaded image in a temp file that I want to rename and put in > another folder. I am using rename() which works fine, the problem is, I > want to force an overwrite if the file already exists. [

[PHP] Access Violation at 77XXXXX on Windows

2003-09-11 Thread Mats Dahlgren
Hello, I have encountered the error message PHP has encountered an Access Violation at 77X as described in the http://bugs.php.net/bug.php?id=17563 bug. The reported bug only relates to MSSQL, but the application I'm working on uses MySQL. Could this error occur due to other Win-related

RE: [PHP] rename()

2003-09-11 Thread Edward Peloke
Thanks John, I had actually looked that one up not to long ago...I just had a nice 'ping-pong' break (helps me think :)) and I might re-write it anyway, but I will still be using the move_uploaded_file() this time. Thanks, Eddie -Original Message- From: CPT John W. Holmes [mailto:[EMAIL

Re: [PHP] php editor

2003-09-11 Thread zerof
Dreamweaver MX 2004. - zerof -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] PHP 4.3.3 Install, Errors??

2003-09-11 Thread Adam Douglas
Hi. I have a machine that's been freshly installed with PHP 4.1.1. I wanted to upgrade it to PHP 4.3.3. So I did the following below as SU and received the below errors. Is this something I should be worried about? How can I resolve the errors? Never have had this happen before in the past. I ran p

Re: [PHP] storing quotes into a variable

2003-09-11 Thread John W. Holmes
Doug Parker wrote: isn't there a function that allows me to store a string with a bunch of quotes in it (like an html tag) into a variable? for example, i need something like: $perf_mod = http://www.php.net/manual/en/language.types.string.php#language.types.string.syntax.heredoc -- ---John Holm

Re: [PHP] Attention Moderator - Autoresponder Needs Unsubing from list

2003-09-11 Thread Dan Anderson
I get the same. (Although [EMAIL PROTECTED] is now being filtered to the trash. :-D ) -Dan On Thu, 2003-09-11 at 07:34, Jay Blanchard wrote: > Each time I send/respond I get an autoresponder from (major snippage to > header) > > Received: from lns.hs.ro (lns.hs.ro [194.102.195.10]) > Received

[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] Integrating an Applet with PHP

2003-09-11 Thread Todd Cary
I have located an HTML editor written in Java that works with my clients various computers (e.g. Linux, PC and Macs). What I need to do is learn how to take the output from an Applet and put it into a PHP variable. Since I have no experience with Java, I am at a disadvantage, so if someone co

Re: [PHP] Problem with HTML Text box and PHP variable.

2003-09-11 Thread Jim Lucas
Why do you say that? Jim Lucas - Original Message - From: "CPT John W. Holmes" <[EMAIL PROTECTED]> To: "murugesan" <[EMAIL PROTECTED]>; "Golawala, Moiz M (IndSys, GE Interlogix)" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Thursday, September 11, 2003 11:56 AM Subject: Re: [PHP] Proble

RE: [PHP] Integrating an Applet with PHP

2003-09-11 Thread Vail, Warren
There may be other methods, but one that seems to be available from your form will require some JavaScript code. Clicking the button located below the applet (onclick event), performs an assignment to the textarea.value (located below the button) the result returned from the applet.gettext() m

Re: [PHP] Integrating an Applet with PHP

2003-09-11 Thread Todd Cary
Warren - That works... http://209.204.172.137/editor/ekit.php Now the next challenge is to put the value in $text into the HTML editor with some _javascript_...any suggestions? Todd Vail, Warren wrote: There may be other methods, but one that seems to be available from your form will

RE: [PHP] Escaping the " ' " character

2003-09-11 Thread Chris W. Parker
Dan Anderson on Wednesday, September 10, 2003 5:17 PM said: > If you don't like somebodys post just ignore it. I'd bet your 2 cents > that you don't find every post to this list interesting. Do you reply > to those people and ask them to not post stuff that doesn't

RE: [PHP] Integrating an Applet with PHP

2003-09-11 Thread Vail, Warren
Again, this is a guess, but it looks like two parameters to the applet are used;   One called Document and another to indicate that BASE64 encoding was used to encode the html so that the browser doesn't try to render the html into a page.       when you output your form (FROM PHP, of cou

Re: [PHP] Problem with HTML Text box and PHP variable.

2003-09-11 Thread John W. Holmes
Jim Lucas wrote: > $dins="Dinesh"; >>> echo ""; >>>?> >> >>Use double quotes for HTML attributes. > Why do you say that? Yeah, I figured someone would ask that. :) I couldn't find anything definitive on w3c.org; can someone back me up? AFAIK, they are required in XML and XHTML. It's a good h

RE: [PHP] loading classes and efficiency

2003-09-11 Thread Chris W. Parker
Dan Anderson on Wednesday, September 10, 2003 5:44 PM said: > require_once() or include_once() > > The files containing the class files before you need them. They will > only be loaded when needed that way. Not true. www.php.net/require_once The way I understand

RE: [PHP] loading classes and efficiency

2003-09-11 Thread daniel
thats how i saw it includes it once so it prevents say functions being reincluded > Dan Anderson >on Wednesday, September 10, 2003 5:44 PM said: > >> require_once() or include_once() >> >> The files containing the class files before you need them. They will >> only

RE: [PHP] Problem with HTML Text box and PHP variable.

2003-09-11 Thread Vail, Warren
Question: will the substitution for the variable $dins occur if surrounded by single quotes? I could be mixing languages here, but I seem to recall a rule in one language about substituting variable contents only occurring between double quotes. Warren Vail -Original Message- From: Joh

Re: [PHP] Problem with HTML Text box and PHP variable.

2003-09-11 Thread John W. Holmes
Vail, Warren wrote: Question: will the substitution for the variable $dins occur if surrounded by single quotes? I could be mixing languages here, but I seem to recall a rule in one language about substituting variable contents only occurring between double quotes. In PHP, no, variables will no

RE: [PHP] loading classes and efficiency

2003-09-11 Thread Dan Anderson
> The way I understand it (maybe you know something I don't?) > require/include_once only prevent an included file from being included > MORE than one time, hence the character string _once tacked onto the end > of include() and require(). > > It does NOT however include a file only when it's need

  1   2   >