[PHP] Window open.
I have yet another PHP question! =) How do i open a window in PHP and how do i insert information in it? I have a tables with a http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP] Image location question.
I have a question. I have created an image with imagecreatefromjpeg I have a empty page and i want to display the picture at a specefic location at the page. Does anyone know how to do that? With regards //Johan -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP] imageJPEG problem.
When trying to use a simple code like this below i receive an error which says that it cant find the header. It outputs the information in ascii and binary code. it doesn't show the picture Thanks for all the help you can give me. //Johan -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
RE: [PHP] Re: Question.
ok i have this: Now i want the echo to make a new line instead of putting everything into one large chunk. Help?!? //Johan the senile -Original Message- From: _lallous [mailto:[EMAIL PROTECTED]] Sent: den 6 september 2001 12:44 To: [EMAIL PROTECTED] Subject: [PHP] Re: Question. how you mean it/be more specific? while (list(, $value) = each($array)) { echo "value = $value\n"; } "Johan Vikerskog" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED].. . > I have done this before but my memory fails me. > > I am trying to just loop threw ny array and display it. > one row per result. > How do you do that again? > > //Johan -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP] Question.
I have done this before but my memory fails me. I am trying to just loop threw ny array and display it. one row per result. How do you do that again? //Johan -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
RE: [PHP] Carriage return.
I knew that one Jon but thanks for looking it up for me. What i need to know is if there is a way to do this without involving unix commands like "perl" "sed" "dos2unix" etc etc. I need to know if there is a simple way to do this with just php and not some regexp solution. I want to know if there is a built in function of some kind that will do this. //Johan -Original Message- From: Jon Farmer [mailto:[EMAIL PROTECTED]] Sent: den 5 september 2001 11:44 To: Johan Vikerskog (EMP); php_list Subject: Re: [PHP] Carriage return. > My php script is generating a file that is saved in Unix format. > I automatically get the "^M" in the end of everyline. Is there a way > of saving this without getting the "^M" in the end of each line? /usr/bin/perl -npe 's/\r\n/\n/g' filename will remove the Ctrl-M characters for you. You could call it straight after the line that generates the file. Regards Jon -- Jon Farmer Systems Programmer, Entanet www.enta.net Tel 01952 428969 Mob 07968 524175 PGP Key available, send blank email to [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
RE: [PHP] Carriage return.
My users perform their action which is to simulate data online with my script. Afterwards they get a result of their simulation. They have a option to save the result to a file and when they do that they get the ^M. //Johan -Original Message- From: David Robley [mailto:[EMAIL PROTECTED]] Sent: den 5 september 2001 10:29 To: Johan Vikerskog (EMP); php_list Subject: Re: [PHP] Carriage return. On Wed, 5 Sep 2001 17:22, Johan Vikerskog (EMP) wrote: > My php script is generating a file that is saved in Unix format. > I automatically get the "^M" in the end of everyline. Is there a way > of saving this without getting the "^M" in the end of each line? > > Thanks in advance > > //Johan If you are getting a ^M something is a bit wrong as that is xOD the CR character. What system are you on and what is the relevant part of your script? -- David Robley Techno-JoaT, Web Maintainer, Mail List Admin, etc CENTRE FOR INJURY STUDIES Flinders University, SOUTH AUSTRALIA I smell a rat. Did you bake it or fry it? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP] Carriage return.
My php script is generating a file that is saved in Unix format. I automatically get the "^M" in the end of everyline. Is there a way of saving this without getting the "^M" in the end of each line? Thanks in advance //Johan -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]