Re: [PHP] Warning during File uploading

2003-09-18 Thread Jason Wong
On Friday 19 September 2003 12:47, Binay wrote: > I am uploading html,text etc files though HTTP upload form method. In my > php.ini file value of upload_max_filesize is 2 MB. Now if the file size > exceeds 2 MB i get warning messages saying size of the file exceeds > upload_max_filesize value . I

Re: [PHP] Resizing a jpeg stored in a database

2003-09-18 Thread Jason Wong
On Friday 19 September 2003 04:51, Donald Tyler wrote: [snip] > Now I need to combine the two processes. I am storing jpegs in a > database, and I want to write a script that can serve the image as > either a thumbnail view or a full view. How exactly would I go about > this? I was hoping I could

Re: [PHP] PHP, GD & Win

2003-09-18 Thread Euman
I figured this out The bundled version does not have this, you have to grab the full-version to get the binary extensions.. and make appropriate changes to php.ini My mistake, Thanks for the help! - Original Message - From: "Euman" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent:

Re: [PHP] PHP, GD & Win

2003-09-18 Thread Euman
Hello Curt, There is no such extension...there is however: ;extension=php_gds32.dll This is strange...I uncommented this extension and verified that I had the correct ext_dir: extension_dir = "./php/dlls/" [did not work.] then out of curiosity: extension_dir = ".\php\dlls\" [Still does nothing.

Re: [PHP] PHP, GD & Win

2003-09-18 Thread Curt Zirzow
* Thus wrote Euman ([EMAIL PROTECTED]): > Hello all, > > Im new to PHP but from what Ive read, PHP 4.3.3 has > GD capability built-in, but, when I run a simple test like: > > > I get this: > Fatal error: Call to undefined function: imagecreate() In your php.ini there is a line commented out ;e

[PHP] PHP, GD & Win

2003-09-18 Thread Euman
Hello all, Im new to PHP but from what Ive read, PHP 4.3.3 has GD capability built-in, but, when I run a simple test like: I get this: Fatal error: Call to undefined function: imagecreate() I would like to know how this works for Windows users. Thanks -- PHP General Mailing List (http://ww

Re: [PHP] sessions and php

2003-09-18 Thread Justin French
Assuming PHP >= 4.1 page1.php // set some session vars $_SESSION['color'] = 'red'; $_SESSION['name'] = 'Justin'; ?> page2.php // echo some session vars echo "Hello {$_SESSION['name']}, your favourite color is {$_SESSION['color']}"; // clear some session vars unset($_SESSION['name']); // modi

[PHP] Warning during File uploading

2003-09-18 Thread Binay
Hi everybody! I am uploading html,text etc files though HTTP upload form method. In my php.ini file value of upload_max_filesize is 2 MB. Now if the file size exceeds 2 MB i get warning messages saying size of the file exceeds upload_max_filesize value . I want to know how i can suppress this w

Re: [PHP] Session with various Browser.

2003-09-18 Thread Justin French
I think the problem is that session_start() (or something else you do before sending the header("content-type:application/pdf")) might confuse some browsers with both a text/html header and an application/pdf header. Essentially you might be sending cookie information to a PDF plug-in, and the

Re: [PHP] Session with various Browser.

2003-09-18 Thread Leif K-Brooks
Dan Anderson wrote: Try running newer browsers. I'd be curious how everything handles with Netscape 7 or the newest incarnation of IE. NS7 would be the same as Mozilla. -- The above message is encrypted with double rot13 encoding. Any unauthorized attempt to decrypt it will be prosecuted to th

Re: [PHP] Session with various Browser.

2003-09-18 Thread Dan Anderson
Try running newer browsers. I'd be curious how everything handles with Netscape 7 or the newest incarnation of IE. -Dan On Thu, 2003-09-18 at 22:53, Harry Yau wrote: > Hi all, > I am new to php. At first, I wrote a php script to generate a pdf > file from a tex file and load that pdf file to

Re: [PHP] oop problems code

2003-09-18 Thread Leif K-Brooks
ORLANDO POZO wrote: Hello, mailing list, I have problem with this oop code: [snip bad code] -- the output of it is: [snip output] ---

[PHP] Session with various Browser.

2003-09-18 Thread Harry Yau
Hi all, I am new to php. At first, I wrote a php script to generate a pdf file from a tex file and load that pdf file to the browser by call a system call of latex -pdftex. After loading the pdf file. I wrote a function to remove all temp file created by latex. It work fine and it did all I exp

[PHP] About Session_Start() with different Browser

2003-09-18 Thread Harry Yau
Hi all, I am new to php. At first, I wrote a php script to generate a pdf file from a tex file and load that pdf file to the browser by call a system call of latex -pdftex. After loading the pdf file. I wrote a function to remove all temp file created by latex. It work fine and it did all I exp

[PHP] pcntl_fork() under linux with phpcli

2003-09-18 Thread Daniel Souza
well... playing with fork() in a phpcli script, i got some troubles with childs... anybody knows how to dont get zombies/defuncts with SIGCHLD and SIGCLD ignoring ? dont worked for me =/ i dont want to know how many childs are running, or if they terminated or not... i want only to make childs :D

[PHP] Re: oop problems code

2003-09-18 Thread Greg Beaver
Orlando, Displayer also inherits the constructor from Employee, so you must define function Displayer() to prevent the notices. I don't think you want to extend from Employee with Displayer - it should accept an Employee object, and display the information, perhaps. Regards, Greg Orlando Pozo

[PHP] Re: Using system

2003-09-18 Thread Daniel Souza
open with proc_open() and reads STDOUT "Uros" <[EMAIL PROTECTED]> escreveu na mensagem news:[EMAIL PROTECTED] > Hello! > > I'm pulling my hair. What is the right syntax to set output of some system > call to variable. > > I tried everything (system, shell_exec,exec) and always get output to > sc

[PHP] Re: sdfs

2003-09-18 Thread Daniel Souza
Got it ! =) "Simon" <[EMAIL PROTECTED]> escreveu na mensagem news:[EMAIL PROTECTED] > sdfsdf -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] template problems

2003-09-18 Thread Daniel Souza
'news.txt', 'codestuffs' => cstuffs.txt', 'tits' => 'porn.txt', ); $page = $_REQUEST['PAGE']; include(((!isset($pages[$page])) ? $pages[$page] : "error.txt")); ?> =) Daniel Souza -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: How to use file() function with an "HTTPS:\\www.example.com"

2003-09-18 Thread Daniel Souza
Recompile php with built-in openssl support (--with-openssl) will do that. []'s Daniel Souza "Rodrigo Nakahodo" <[EMAIL PROTECTED]> escreveu na mensagem news:[EMAIL PROTECTED] > How to use file() function with an "HTTPS:\\www.example.com" > > > $lines = file ('https://www.example.com/'); > >

Re: [PHP] How to use file() function with an "HTTPS:\\www.example.com"

2003-09-18 Thread Daniel Souza
Recompile php with built-in openssl support (--with-openssl) will do that. []'s Daniel Souza "Jay Blanchard" <[EMAIL PROTECTED]> escreveu na mensagem news:[EMAIL PROTECTED] [snip] How to use file() function with an "HTTPS:\\www.example.com" [/snip] Use cURL http://www.php.net/curl because you

Re: [PHP] Mathematical differences?!

2003-09-18 Thread Dan Anderson
Without spending a lot of time looking at your problem I would speculate this is the result of round off error. What is roundoff error you ask? Well the number 0.6255264658909423 does not designate 0.6255264658909423... but 0.6255264658909423 and some fraction that could not be displa

[PHP] oop problems code

2003-09-18 Thread ORLANDO POZO
Hello, mailing list, I have problem with this oop code: class Person { var $name, $address, $age; function Person($name, $address, $age) { $this->name = $name; $this->address = $address; $this->age = $age; } } Class Employee extends Person { var $position, $salary; function

Re: [PHP] sessions and php

2003-09-18 Thread Chris Shiflett
--- Patrik Fomin <[EMAIL PROTECTED]> wrote: > start_session["test"] > register_session["test2"] Please read this: http://www.php.net/session Hope that helps. Chris = Become a better Web developer with the HTTP Developer's Handbook http://httphandbook.org/ -- PHP General Mailing List (htt

[PHP] Re: Splice problem

2003-09-18 Thread Daniel Souza
$input = array("red", "green", "blue", "yellow"); array_splice($input, 2); echo implode(',', $input); []'s Daniel Souza "Stevie D Peele" <[EMAIL PROTECTED]> escreveu na mensagem news:[EMAIL PROTECTED] > My problem is that I am splicing an array and then echoing the array > [code] > $input = arr

[PHP] sessions and php

2003-09-18 Thread Patrik Fomin
Hi, can anyone help my list the ways to create/view a session, i need to find out if my host supports any of em (kinda strange host), eg: page1.php start_session["test"] register_session["test2"] etc page2.php retrive session 1, 2 etc and display their contents regards patrick -- PHP Genera

Re: [PHP] when clients go bad

2003-09-18 Thread Eugene Lee
On Thu, Sep 18, 2003 at 05:31:52PM -0400, Tim Thorburn wrote: : : As this is a very small market, for this one client I did not create a : contract - there was however a very detailed proposal which did not include : any source files. Whether it'll stand or not, we also had a verbal : agreemen

[PHP] mm cache

2003-09-18 Thread Cristiano Duarte
http://www.turcksoft.com/en/e_mmc.htm -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] precompile php scripts

2003-09-18 Thread daniel
The projects are heavily databased, fulltext searching results, editing/inserting records, logging in and out, templating parsing. Its running on a dual P4 2G dell server. Will i see much performance ? There would prob be 20 people at a time using the systems. But alot of headroom would be good. >

Re: [PHP] precompile php scripts

2003-09-18 Thread Jason Sheets
Hello, take a look at http://www.turcksoft.com/en/e_mmc.htm. Basically there is a 2 to 10x performance increase generally. I wrote a web based front end to Turck MMCache to make encoding scripts easier, its available at http://phpcoder.shadonet.com If your scripts are database bound you wont

Re: [PHP] precompile php scripts

2003-09-18 Thread Leif K-Brooks
[EMAIL PROTECTED] wrote: Hi there i was wondering if there was an open source port of a php script compiler for the server. Will this make alot of difference in performance at all. I know this may have been asked many times, is the encoders also a compile i dont particularly need to encode/decode

[PHP] precompile php scripts

2003-09-18 Thread daniel
Hi there i was wondering if there was an open source port of a php script compiler for the server. Will this make alot of difference in performance at all. I know this may have been asked many times, is the encoders also a compile i dont particularly need to encode/decode code but compile for perfo

Re: [PHP] Best way to approach object construction errors?

2003-09-18 Thread Mike Migurski
>I've created a class called university, it has a constructor which can >accept an id. If the id is sent during construction the constructor will >connect to a MySQL db to set all of the objects member variables to the >MySQl counterparts. > >I'd like to include some error notification so if I send

Re: [PHP] update password cookie

2003-09-18 Thread Chris Shiflett
--- John Kaspar <[EMAIL PROTECTED]> wrote: > I'm just storing its hash. Then comparing it to the database hash. > Is that bad? Yes, but the risk is not so much that the user's password is in danger of being acquired, but rather than this step is not necessary to impersonate the user. This hash of

RE: [PHP] update password cookie

2003-09-18 Thread Chris W. Parker
John Kaspar on Thursday, September 18, 2003 4:05 PM said: > I'm just storing its hash. Then comparing it to the database hash. > Is that bad? Is there a good write-up somewhere discussing > authentication techniques that you could recommend? Oh I should respond to

RE: [PHP] update password cookie

2003-09-18 Thread Chris W. Parker
John Kaspar on Thursday, September 18, 2003 4:05 PM said: > Yahoo makes you reenter your password every time you reopen your > browser. I'll check other sites though. Thanks for the advice. As it should. You don't want to store password information in a cookie, th

Re: [PHP] update password cookie

2003-09-18 Thread John Kaspar
I'm just storing its hash. Then comparing it to the database hash. Is that bad? Is there a good write-up somewhere discussing authentication techniques that you could recommend? Yahoo makes you reenter your password every time you reopen your browser. I'll check other sites though. Thanks

Re: [PHP] update password cookie

2003-09-18 Thread Chris Shiflett
--- John Kaspar <[EMAIL PROTECTED]> wrote: > My question is - how do I update the password cookie without having to > ask whether or not they want to remember it again? How can I find out > when the current cookie expires? First, I hope you're not storing a password in a cookie, since it sounds

RE: [PHP] Excel Files

2003-09-18 Thread Paul Marinas
:)...stupid me :), 10x Paul GnuPG Key http://sgi.rdscv.ro/~paulm/paulm.PGP On Thu, 18 Sep 2003, Jennifer Goodie wrote: > > Hi, is there a way to create excel files with php? > > > > Thanks. > > This was answered yesterday and I'm way too lazy to type out my reply again. > > Here is an archive se

RE: [PHP] Excel Files

2003-09-18 Thread Jennifer Goodie
> Hi, is there a way to create excel files with php? > > Thanks. This was answered yesterday and I'm way too lazy to type out my reply again. Here is an archive search on the word 'excel' http://marc.theaimsgroup.com/?l=php-general&w=2&r=1&s=excel&q=b Here is yesterday's thread http://marc.theai

Re: [PHP] when clients go bad

2003-09-18 Thread Tim Thorburn
As this is a very small market, for this one client I did not create a contract - there was however a very detailed proposal which did not include any source files. Whether it'll stand or not, we also had a verbal agreement that they did not want any source files as at the time that we began o

[PHP] Excel Files

2003-09-18 Thread Paul Marinas
Hi, is there a way to create excel files with php? Thanks. Paul GnuPG Key http://sgi.rdscv.ro/~paulm/paulm.PGP -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] update password cookie

2003-09-18 Thread John Kaspar
When my users log in, they enter their username and password, and click a checkbox to remember the login in the future. If the remember checkbox is left unchecked, the cookie expire is set to zero. I also have a page where they can change the password. My question is - how do I update the passw

Re: [PHP] webhost --0T-->

2003-09-18 Thread Ryan A
//- Hiya! -// Hey David, //- % Thats only the half of it, will send you the link once i get a few hosts to % list their packages coz now there arnt enough test packages for you to Tell me what you mean by hosts and packages. If by 'host' you mean the provider, I have real experience with DataP

Re: [PHP] Mathematical differences?!

2003-09-18 Thread Curt Zirzow
* Thus wrote Mario Werner ([EMAIL PROTECTED]): > > I ported a algorithm from JavaScript to PHP and noticed that PHP outputs a > different result than JS. For example: > > > t = 0.6255264658909423 > f = 20.5 > ln = -6.983 > d2r = 0.017453292519943295 > > $ra

Re: [PHP] Splice problem

2003-09-18 Thread CPT John W. Holmes
From: "Stevie D Peele" <[EMAIL PROTECTED]> > My problem is that I am splicing an array and then echoing the array > [code] > $input = array("red", "green", "blue", "yellow"); > array_splice($input, 2); > > echo $input; > ?> > [/code] > > and all that is echoed is "Array." I want red green to be

RE: [PHP] Splice problem

2003-09-18 Thread Jay Blanchard
[snip] My problem is that I am splicing an array and then echoing the array [code] [/snip] Shoulda kept readin', $input is now an array with red and green in it. http://www.php.net/array_splice -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Splice problem

2003-09-18 Thread Stevie D Peele
My problem is that I am splicing an array and then echoing the array [code] [/code] and all that is echoed is "Array." I want red green to be echoed. Thanks The best thing to hit the internet in years - Juno SpeedBand! Surf the we

[PHP] Resizing a jpeg stored in a database

2003-09-18 Thread Donald Tyler
Hi, I have a question that I hope you can answer. So far I have accomplished the following: Storing a jpeg in a MySQL database Retrieving the jpeg from the database Sending the jpeg to a browser and displaying it correctly Creating dynamic PNG images in PHP Resizing the dynamic PNG i

RE: [PHP] Help!!!

2003-09-18 Thread Jay Blanchard
[snip] Notice: Use of undefined constant {several times} [/snip] This means that several constants are undefined. You should have the following for each of these constants... define ("constant-name", "constant-value"); -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http

RE: [PHP] Flash Chat

2003-09-18 Thread Craig Lonsbury
> -Original Message- > From: Dan J. Rychlik [mailto:[EMAIL PROTECTED] > Sent: Thursday, September 18, 2003 12:22 PM > To: [EMAIL PROTECTED] > Subject: [PHP] Flash Chat > > > Hello, > > I was wondering if my solution would work in theory in providing > a Flash chat application. > > I would u

Re: Fw: [PHP] Problem sending HTML formated mail

2003-09-18 Thread Juan Carlos Borrero
Ok. Thank You Juan Carlos - Original Message - From: "Curt Zirzow" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, September 17, 2003 8:59 PM Subject: Re: Fw: [PHP] Problem sending HTML formated mail > * Thus wrote Juan Carlos Borrero ([EMAIL PROTECTED]): > > > > - Origi

Re: [PHP] configuring the php.ini file

2003-09-18 Thread Jason Wong
On Thursday 18 September 2003 23:01, Mark McCulligh wrote: > I have PHP on both a window and Linux box. > > If I wanted to enable Sybase from the php.ini for windows I would uncomment > the "extension=php_sybase_ct.dll" line. But in Linux you don't use the dll > but the so files. But inside of my

RE: [PHP] Mathematical differences?!

2003-09-18 Thread Jay Blanchard
[snip] How could that be?! 1:1 the same code but different outputs? Is this a PHP-bug? :-? [/snip] *feelin' kinda' smart arsed today, if no one noticed* Maybe it was a JavaScipt bug all along ? ;) Actually I am worried about the order of operations and encapsulation in the equation in $ra, math

Re: [PHP] when clients go bad

2003-09-18 Thread CPT John W. Holmes
From: "Tim Thorburn" <[EMAIL PROTECTED]> > I've done freelance web design for about 7 years now off and on. Just > recently I've found myself dealing with the worst clients in the history of > the world - ok, maybe not, but they've been pretty awful. > > After about a year of working together, th

RE: [PHP] when clients go bad

2003-09-18 Thread Jay Blanchard
[snip] ... [/snip] Work product for the customer belongs to the customer unless specifically stated differently in the contract. It is their intellectual property. I have coded both as an employee contractor for several years and it is always understood (unless the contract states differen

[PHP] Mathematical differences?!

2003-09-18 Thread Mario Werner
Hello all, I ported a algorithm from JavaScript to PHP and noticed that PHP outputs a different result than JS. For example: t = 0.6255264658909423 f = 20.5 ln = -6.983 d2r = 0.017453292519943295 $ra = (((6.6460656 + 2400.0513 * $t + 2.58e-5 * $t * $t + $f)

[PHP] when clients go bad

2003-09-18 Thread Tim Thorburn
Hi, I've done freelance web design for about 7 years now off and on. Just recently I've found myself dealing with the worst clients in the history of the world - ok, maybe not, but they've been pretty awful. After about a year of working together, the business relationship became so bad that

[PHP] autocomplete not working all of a sudden

2003-09-18 Thread Chris W. Parker
Hi everyone. Pardon the crosspost but I figure if I'm going to post the same question to two lists anyway, why not get it over with in one shot? Ok so in an attempt to lessen Windows2k pro memory footprint I just turned off three services. (1) TCP/IP NetBIOS Helper Service, (2) IPSEC Policy Agen

[PHP] Best way to approach object construction errors?

2003-09-18 Thread Mike Zornek
I've created a class called university, it has a constructor which can accept an id. If the id is sent during construction the constructor will connect to a MySQL db to set all of the objects member variables to the MySQl counterparts. I'd like to include some error notification so if I send it an

RE: [PHP] Flash Chat

2003-09-18 Thread Jay Blanchard
[snip] Do you think that this will truly work, In theory I mean. [/snip] Sure. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] [ANNOUNCEMENT] InterJinn Application Framework for PHP

2003-09-18 Thread Robert Cummings
I am pleased to announce the premier release of the InterJinn Application Framework for PHP. http://www.interjinn.com. This has been a lengthy endeavour I undertook some time ago to provide a useful framework for quickly creating powerful Web (and shell) applications. InterJinn makes its debu

[PHP] Flash Chat

2003-09-18 Thread Dan J. Rychlik
Hello, I was wondering if my solution would work in theory in providing a Flash chat application. I would use the AMFPHP to interface with the flash object. I would use a class to describe the chat room and creat new objects for private rooms. Do you think that this will truly work, In th

Re: [PHP] PHP and MYSQL don't shake hands

2003-09-18 Thread CPT John W. Holmes
From: "Frank Tudor" <[EMAIL PROTECTED]> > The problem I am having is that when I try to pass values to the > database the php fails. > > I think I have singled it down to the connection string but I am > not sure. [snip] > function db_connect() { >global $dbhost, $dbusername, $dbuserpassword,

Re: [PHP] Form CheckBox question

2003-09-18 Thread CPT John W. Holmes
From: "Yves Arsenault" <[EMAIL PROTECTED]> > I have this in my form the checkUnCheck(this); will uncheck values 1,2,3 > if None is chosen... Now when I submit this form, the output I get from > $Avail is the word Array and not the actual content ('1,2,3' if I choose > 1,2,3) > > onclick=

[PHP] Re:Form CheckBox question

2003-09-18 Thread Rodrigo Webler
If you've echo-ed or printed an Array value, yes, you'll get 'Array' as result, try to var_dump the value, and check if it isn't all well. Rodrigo -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Murugesan

2003-09-18 Thread Chris Sherwood
Hey Muru your sending viruses disguised as a ms security update either its accidental which you want to look for the Win32/NewMalware.gen cause thats what is being sent or its not which then you kinda want to be a little more inconspicious about it

Re: [PHP] Returning form vars from popup

2003-09-18 Thread R'twick Niceorgaw
Rich Fox said the following on 9/18/2003 12:24 PM>> I have a popup window, itemSelect.php, from which I would like to reload the calling page. itemSelect.php has a form, and I want to reload the calling page with these form variables. How can I do this? I can reload the page easily enough, with yo

RE: [PHP] PHP and PDF

2003-09-18 Thread Javier Tacon
Try with the pdf classes in http://www.ros.co.nz/pdf/ -Mensaje original- De: Paulo Nunes [mailto:[EMAIL PROTECTED] Enviado el: jueves, 18 de septiembre de 2003 14:59 Para: [EMAIL PROTECTED] Asunto: [PHP] PHP and PDF Importancia: Baja I ve been trying to use the PDF function to create/r

RE: [PHP] PHP and PDF

2003-09-18 Thread Jay Blanchard
[snip] I ve been trying to use the PDF function to create/read PDF files, but i ve many problems. Can anyone give a clue how can i create/read PDF files with PHP? Thanks... [/snip] Look for clues here http://us4.php.net/PDF and here http://www.google.com/search?hl=en&ie=UTF-8&oe=UTF-8&q=PHP+and+PD

[PHP] PHP and PDF

2003-09-18 Thread Paulo Nunes
I ve been trying to use the PDF function to create/read PDF files, but i ve many problems. Can anyone give a clue how can i create/read PDF files with PHP? Thanks... -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] webhost --0T-->

2003-09-18 Thread David T-G
Ryan, et al -- ...and then Ryan A said... % % Hey David, Hiya! % % Good enough. Lots of bells and whistles; that's great. % #/ % % Yep, without the bells and whistles no challenge for me to program and it % will be like any other site... Heh. % and since i still dont really consider myse

Re: [PHP] Returning FORM vars from popup

2003-09-18 Thread Raditha Dissanayake
Hi, use onSubmit() and if you have trouble with it please refer to the javascript manual, this list is for php all the best Rich Fox wrote: (Sorry, I inadvertently sent an incomplete post) I have a popup window, itemSelect.php, from which I would like to reload the calling page. itemSelect.p

[PHP] Returning form vars from popup

2003-09-18 Thread Rich Fox
I have a popup window, itemSelect.php, from which I would like to reload the calling page. itemSelect.php has a form, and I want to reload the calling page with these form variables. How can I do this? I can reload the page easily enough, with -- PHP General Mailing List (http://www.php.net/) To

[PHP] Returning FORM vars from popup

2003-09-18 Thread Rich Fox
(Sorry, I inadvertently sent an incomplete post) I have a popup window, itemSelect.php, from which I would like to reload the calling page. itemSelect.php has a form, and I want to reload the calling page with these form variables. How can I do this? I can reload the page easily enough, with this

[PHP] email receipts

2003-09-18 Thread Roger Spears
and please, could we turn off the "email receipt requested" before sending messages to this list??? I find them most annoying and time consuming for a list this large. Thanks, R -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Suppressing warning messages in file uploading though HTTP

2003-09-18 Thread Raditha Dissanayake
Hi You are welcome Binay wrote: Would you like to shade more light on how i can use java applet or activex i mean bit coding/snippet as i am newbie . shameless plug : please try http://www.radinks.com/upload it's such an uploader applet. The basic version is

RE: [PHP] Help!!!

2003-09-18 Thread Chris W. Parker
#meen shari-ah# on Thursday, September 18, 2003 1:05 AM said: Please do not post messages with "Help!!!" as the title. Everyone who posts to this list needs help in some way. It's much better if you give a short description of your problem. For example, "can't connec

[PHP] Form CheckBox question

2003-09-18 Thread Yves Arsenault
Hello, I have this in my form the checkUnCheck(this); will uncheck values 1,2,3 if None is chosen... Now when I submit this form, the output I get from $Avail is the word Array and not the actual content ('1,2,3' if I choose 1,2,3) 1  2  3  None  Am I missing something?? And no, I'm n

Re: [PHP] Suppressing warning messages in file uploading though HTTP

2003-09-18 Thread Binay
Hi Radhita! Thanks for quick response. - Original Message - From: "Raditha Dissanayake" <[EMAIL PROTECTED]> To: "Binay" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Thursday, September 18, 2003 9:37 PM Subject: Re: [PHP] Suppressing warning messages in file uploading though HTTP > Hi

[PHP] PHP and MYSQL don't shake hands

2003-09-18 Thread Frank Tudor
Guys, I have moved from a foxserv(apache, php, mysql, all in one install tool) windows test environment to a Linux apache php mysql setup specifically mandrake linux production server. The problem I am having is that when I try to pass values to the database the php fails. I think I have singled

Re: [PHP] Suppressing warning messages in file uploading though HTTP

2003-09-18 Thread Raditha Dissanayake
Hi Binay, The only way you can get the file size before upload is to use a Java applet or activex. If i am not mistaken you can remove the 'max size exceeded' warning only by recompiling php. all the best ps: appreciate if you could switch off return reciepts on your mail client. Binay wrote:

[PHP] Crash of PHP 4.3.x, having a big array

2003-09-18 Thread Martin Brenn
Servus, I got a crash of 4.3.x under Apache and direct call of php.exe under windows, when the script creates a huge array. Source: ... for ( $nCounter = 0; $nCounter < $nAmount; $nCounter++ ) { $aszExtracted [ $szPlaye

Re: [PHP] This is my fourth day of hitting this brick wall! Anyone...Purleeeeese help!

2003-09-18 Thread Marek Kilimajer
Jim Lucas wrote: > This should take care of the problem. You might also need to send back some > specific headers to tell the browser what you are sending it, but it should > work even without that being done. I think this works only in IE, always send Content-Type. -- PHP General Mailing List

[PHP] Suppressing warning messages in file uploading though HTTP

2003-09-18 Thread Binay
Hi everybody! I am uploading html,text etc files though HTTP upload form method. In my php.ini file value of upload_max_filesize is 2 MB. Now if the file size exceeds 2 MB i get warning messages saying size of the file exceeds upload_max_filesize value . I want to know how i can suppress this w

Re: [PHP] embedding PHP in MySQL

2003-09-18 Thread Marek Kilimajer
By default the evaled code is php, so you need to escape first: eval('?>'.$your_code_pulled_from_db.' Michael Winston wrote: I've been working on this for a few days and can't get it. I would like to stick some php code into a sql databases and be able to evaluate it when it's called up. Foe ex

Re: [PHP] This is my fourth day of hitting this brick wall! Anyone...Purleeeeese help!

2003-09-18 Thread Jim Lucas
also, here is a good one to try. build yourself an error document that gets called when a file that cannot befound is looked for. Then in this error document, you perform a check on the file/script name that was called. If it happens to end with .pdf, then you could assume that it is going to be

RE: [PHP] embedding PHP in MySQL

2003-09-18 Thread Javier Tacon
Instead to eval the code, try to save the query result into a new file, then execute this file (require_once, include). Something like: function executeFromQuery($query) { global $DB; $file = "/tmp/temp.php"; $code = $DB->getOne($query); $fh = fopen($file,"w"); fwrite($fh,$code); fc

RE: [PHP] Another code check

2003-09-18 Thread James Johnson
Hi John, Thanks, that was it. James -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] [Newbie Guide] RTFM, STFW, and STFA

2003-09-18 Thread Glenn E. Sieb
Jay Blanchard wrote: [snip] Perhaps we could add this link to the Newbie Guide ( found this in archives and with s/tuxedo/catb/ ) How To Ask Questions The Smart Way, by Eric Steven Raymond http://www.catb.org/~esr/faqs/smart-questions.html [/snip] It is number 9 on the Newbie Guide which (I hit se

[PHP] embedding PHP in MySQL

2003-09-18 Thread Michael Winston
I've been working on this for a few days and can't get it. I would like to stick some php code into a sql databases and be able to evaluate it when it's called up. Foe example, let's say there's some text in a table in MySql that says "blah blah blah blah blah blah blah blah". I wan the end,

RE: [PHP] [Newbie Guide] RTFM, STFW, and STFA

2003-09-18 Thread Jay Blanchard
[snip] Perhaps we could add this link to the Newbie Guide ( found this in archives and with s/tuxedo/catb/ ) How To Ask Questions The Smart Way, by Eric Steven Raymond http://www.catb.org/~esr/faqs/smart-questions.html [/snip] It is number 9 on the Newbie Guide which (I hit send too) leads me to

RE: [PHP] [Newbie Guide] RTFM, STFW, and STFA

2003-09-18 Thread Jay Blanchard
[snip] Perhaps we could add this link to the Newbie Guide ( found this in archives and with s/tuxedo/catb/ ) How To Ask Questions The Smart Way, by Eric Steven Raymond http://www.catb.org/~esr/faqs/smart-questions.html [/snip] It is number 9 on the Newbie Guide -- PHP General Mailing List (http:

[PHP] configuring the php.ini file

2003-09-18 Thread Mark McCulligh
I have PHP on both a window and Linux box. If I wanted to enable Sybase from the php.ini for windows I would uncomment the "extension=php_sybase_ct.dll" line. But in Linux you don't use the dll but the so files. But inside of my extensions folder on the Linux box there is nothing. For were are al

Re: [PHP] [Newbie Guide] RTFM, STFW, and STFA

2003-09-18 Thread Christophe Chisogne
Wouter van Vliet wrote: So, since I'm not quite a newbie I did not read all the guides .. RTFM (Read The F*ck!ng Manual) and STFW (Search The [EMAIL PROTECTED] Web) I already knew, but what does STFA stand for ;).. In a "word" : s/STFA/STFAQ/ From ESR's Jargon File v4.4.4 (some hacker culture, yes

Re: [PHP] Another code check

2003-09-18 Thread CPT John W. Holmes
From: "James Johnson" <[EMAIL PROTECTED]> > Can anyone see what's wrong with the following code? It produces the > following in the browser: > > Warning: Cannot add header information - headers already sent by (output > started at /home/.paco/campuscb/campuscorkboard.com/AdPay_MC.php:11) in > /hom

[PHP] Another code check

2003-09-18 Thread James Johnson
Hello, Can anyone see what's wrong with the following code? It produces the following in the browser: Warning: Cannot add header information - headers already sent by (output started at /home/.paco/campuscb/campuscorkboard.com/AdPay_MC.php:11) in /home/.paco/campuscb/campuscorkboard.com/AdPay_MC.

Re: [PHP] How can one find out what Headers have been sent by a script.

2003-09-18 Thread William Bailey
I have found something that seems to work: Typical i get stuck on something for ages and then as soon as i post to the list i figure something out :) oh well hope it helps somebody else. :) On Thursday 18 September 2003 15:10, William Bailey wrote: > Hello all, > > Does anybody know of

Re: [PHP] [Newbie Guide] RTFM, STFW, and STFA

2003-09-18 Thread Curt Zirzow
* Thus wrote esctoday.com | Wouter van Vliet ([EMAIL PROTECTED]): > Quite Right ! > > So, since I'm not quite a newbie I did not read all the guides .. RTFM (Read > The F*ck!ng Manual) and STFW (Search The [EMAIL PROTECTED] Web) I already knew, but > what does STFA stand for ;).. Archives Curt

Re: [PHP] [Newbie Guide] RTFM, STFW, and STFA

2003-09-18 Thread CPT John W. Holmes
From: "esctoday.com | Wouter van Vliet" <[EMAIL PROTECTED]> > So, since I'm not quite a newbie I did not read all the guides .. RTFM (Read > The F*ck!ng Manual) and STFW (Search The [EMAIL PROTECTED] Web) I already knew, but > what does STFA stand for ;).. Hi newbie. Why don't you search the arch

  1   2   >