Re: [PHP] possible jscript/php/frames question!!

2005-06-17 Thread Tom Rogers
Hi, Saturday, June 18, 2005, 8:47:58 AM, you wrote: b> hi... b> i've got a problem where i'm trying to play with imagemaps. i created a test b> image map, but when i select inside the image map, i 'see' the "?x,y" from b> the imagemap, appended to the url in the browser address bar... i get b> ht

Re: [PHP] Problems with header()

2005-06-17 Thread Tom Rogers
Hi, Saturday, June 18, 2005, 7:55:10 AM, you wrote: MM> I have to send a PDF file after a submit on a form. The PDF is well created, MM> and I'm sending it to the client with this: MM> $fpdfName = "/tmp/" . session_id() . ".pdf"; MM> // Vamos a mandar el PDF MM> header('Content-type: application

RE: [PHP] possible jscript/php/frames question!!

2005-06-17 Thread Chris W. Parker
bruce on Friday, June 17, 2005 5:05 PM said: > chris... > > i'll humour you.. although i'm pretty sure you have no idea as to > what i'm trying to acomplish.. or how to get to my goal... > > the basic issue is to allow a user to click inside an image map, and > to translate the coordinates

RE: [PHP] possible jscript/php/frames question!!

2005-06-17 Thread bruce
chris... i'll humour you.. although i'm pretty sure you have no idea as to what i'm trying to acomplish.. or how to get to my goal... the basic issue is to allow a user to click inside an image map, and to translate the coordinates to something else, prior to sending the information back to the s

RE: [PHP] possible jscript/php/frames question!!

2005-06-17 Thread Chris W. Parker
bruce on Friday, June 17, 2005 3:48 PM said: > i've got a problem where i'm trying to play with imagemaps. i created > a test image map, but when i select inside the image map, i 'see' the > "?x,y" from the imagemap, appended to the url in the browser address > bar... i get http://foo.com?3,5

[PHP] Re: Problems with header()

2005-06-17 Thread Matthew Weier O'Phinney
* Martín Marqués : > I have to send a PDF file after a submit on a form. The PDF is well created, > and I'm sending it to the client with this: > > $fpdfName = "/tmp/" . session_id() . ".pdf"; > > // Vamos a mandar el PDF > header('Content-type: application/pdf'); > // El archivo se va a llamar li

Re: [PHP] Extensions: parameters as references

2005-06-17 Thread Yasir Malik
Is there any list (or forum) that can help me with this? Thanks, Yasir On Fri, 17 Jun 2005, Yasir Malik wrote: Date: Fri, 17 Jun 2005 11:51:24 -0400 (EDT) From: Yasir Malik <[EMAIL PROTECTED]> To: php-general@lists.php.net Subject: [PHP] Extensions: parameters as references I am creating a PH

[PHP] possible jscript/php/frames question!!

2005-06-17 Thread bruce
hi... i've got a problem where i'm trying to play with imagemaps. i created a test image map, but when i select inside the image map, i 'see' the "?x,y" from the imagemap, appended to the url in the browser address bar... i get http://foo.com?3,5 etc... is there a way to prevent this from occurin

[PHP] Report

2005-06-17 Thread Mail Delivery Subsystem
ALERT! This e-mail, in its original form, contained one or more attached files that were infected with a virus, worm, or other type of security threat. This e-mail was sent from a Road Runner IP address. As part of our continuing initiative to stop the spread of malicious viruses, Road Runner s

Re: [PHP] call func from button

2005-06-17 Thread Philip Hallstrom
Is there a way to call a php function from a button press to display the results further down on the same page? I want to avoid setting up an 'output-area' in a frame or having to put my function in a separate script. http://developer.apple.com/internet/webcontent/xmlhttpreq.html http://www.xml.

[PHP] call func from button

2005-06-17 Thread Malcolm Mill
Is there a way to call a php function from a button press to display the results further down on the same page? I want to avoid setting up an 'output-area' in a frame or having to put my function in a separate script. Thanks, Malcolm. -- PHP General Mailing List (http://www.php.net/) To unsubscrib

[PHP] Problems with header()

2005-06-17 Thread =?iso-8859-1?q?Mart=EDn_Marqu=E9s?=
I have to send a PDF file after a submit on a form. The PDF is well created, and I'm sending it to the client with this: $fpdfName = "/tmp/" . session_id() . ".pdf"; // Vamos a mandar el PDF header('Content-type: application/pdf'); // El archivo se va a llamar libreDeuda.pdf header('Content-Disp

Re: [PHP] Re: Converting [and] to XML format- help/advise requested

2005-06-17 Thread Dotan Cohen
On 6/16/05, Sebastian Mendel <[EMAIL PROTECTED]> wrote: > Dotan Cohen wrote: > > On 6/15/05, Sebastian Mendel <[EMAIL PROTECTED]> wrote: > >> Dotan Cohen wrote: > >> > > Hi gurus. I'm having fun replacing the text within [ and ] to XML > > format on 4000+ files on a windows XP machine. I in

[PHP] sorting object props

2005-06-17 Thread D_C
is there a way to sort the properties of an object by their name, much like sort works on arrays? i am getting back an object from a database query and want to list the resulting items in alpha order by field name... -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http:/

Re: [PHP] OT - Blank subject lines!!!

2005-06-17 Thread -{ Rene Brehmer }-
That's why I have this at the top of my mail filters: if subject matches regexp ([[:blank:]][[:blank:]][[:blank:]]+) | (^$) | (^[[:blank:]]+$) transfer to trash I'm using Eudora btw... Was gonna do a filter to dump all subjects that have nothing else but "help" in them too, but haven't quite d

RE: [PHP] Problem with array

2005-06-17 Thread Leila Lappin
Try this I think it will work. $count = count($arry); for ($i=0; $i<$count; $i++) { // do something with $array[$i] } cout($array) brings back the number of elements in the array which limits the lookup index. -Original Message- From: Rick Emery [mailto:[EMAIL PROTECTED] Sent: Frid

Re: [PHP] PHP autogenerating Website Templates

2005-06-17 Thread Matthew Weier O'Phinney
* John Nichel <[EMAIL PROTECTED]> : > [EMAIL PROTECTED] wrote: > > Maybe off topic: > > > > I would not agree totally with that link because this really doesn't > > make a sense: > > > I am new in PHP and got so many times "RTFM" answers and didn't find > > them helpful at all. From 'skilled

Re: [PHP] Problem with array

2005-06-17 Thread Rick Emery
Quoting Ross <[EMAIL PROTECTED]>: As with my previous post the problem is the pieces of the array can vary from 1 to 4 items. So pieces 3 and 4 are often undefined giving the 'undefined index' notice. All I really want to do is display the array pieces if they EXIST. But as they are inside a ech

Re: [PHP] Reading binary file data into variable

2005-06-17 Thread JamesBenson
I have one for windows, think it works with PHP4 aswell, not sure where i put it so let me know if you require it and Ill dig it up? problem is it wont work on Linux. Jay Blanchard wrote: [snip] Did you try using fopen's binary safe read? Something like : [/snip] Shy of being able to do

Re: [PHP] PHP autogenerating Website Templates

2005-06-17 Thread [EMAIL PROTECTED]
Ok. Maybe I went a little bit over the edge :). I agree APSOLUTLY that asking questions without ANY research doesn't make a sense either. And, as you mentioned, is not helpful at all, neither for person who asked or the one who's going to try to answer. But, sometimes, in my opinion, RTFM is u

[PHP] Re: Fshockopen error while opening a https stream urgent help needed

2005-06-17 Thread JamesBenson
You pointed the configure line to the source files and not the installed version of openssl, you should compile and install openssl first, change... --with-openssl-dir=/usr/local­/src/webserver/openssl-0.9.7d to... --with-openssl-dir=/usr/local­ Or wherever you installed openssl, /usr/local

Re: [PHP] Re: How to print variable name and contents

2005-06-17 Thread Edward Vermillion
On Jun 17, 2005, at 9:18 AM, Bob Winter wrote: nntp.charter.net wrote: I want to write a trace procedure and call it with variable names, and I am having trouble with the syntax. My goal is to have a procedure that will echo lines such as: Trace: $myvar="the contents of $myvar My attempt

Re: [PHP] PHP autogenerating Website Templates

2005-06-17 Thread John Nichel
[EMAIL PROTECTED] wrote: Maybe off topic: I would not agree totally with that link because this really doesn't make a sense: The point of doing all the points (or as many as you can) is to do for yourself. If you (same thing) want someone to do a task for you with no research/work on your

RE: [PHP] PHP autogenerating Website Templates

2005-06-17 Thread Jay Blanchard
[snip] [/snip] The thing is that the OP asked such a broad question. How many answers are there to the question that he asked? I have taught entire semesters with less broad questions. And you're right...RTFM doesn't always work, but would come back with, "I RTFM and I still don't understand

Re: [PHP] PHP autogenerating Website Templates

2005-06-17 Thread [EMAIL PROTECTED]
Maybe off topic: I would not agree totally with that link because this really doesn't make a sense: "... Before asking a technical question by email, or in a newsgroup, or on a website chat board, do the following: 1. Try to find an answer by searching the Web. 2. Try to find an answer by

Re: [PHP] PHP autogenerating Website Templates

2005-06-17 Thread John Nichel
The Doctor wrote: Question: Is there a package that can autogenerate a Web Site using templates based on BSD/Apache/Mysql/PHP ?? IT would be nice to know. Poster, meet Google. Google, poster. I hope you two will have many happy years together. http://www.catb.org/~esr/faqs/smart-question

RE: [PHP] PHP autogenerating Website Templates

2005-06-17 Thread Jay Blanchard
[snip] Question: Is there a package that can autogenerate a Web Site using templates based on BSD/Apache/Mysql/PHP ?? [/snip] Yes? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: How to print variable name and contents

2005-06-17 Thread Bob Winter
Bob Winter wrote: nntp.charter.net wrote: I want to write a trace procedure and call it with variable names, and I am having trouble with the syntax. My goal is to have a procedure that will echo lines such as: Trace: $myvar="the contents of $myvar My attempt that didn't work is to wri

[PHP] Extensions: parameters as references

2005-06-17 Thread Yasir Malik
I am creating a PHP extension. In my function, I want the parameter to be a reference. The extension function works fine only if the variable passed is initialized. For example, here is the extension function: ZEND_FUNCTION(first_module) { zval *parameter; if (zend_parse_parameters(ZEN

[PHP] SVG SESSION

2005-06-17 Thread 04083259
hi every one i am using php5 apache2 windows-xp and internet exlorer version 6 to create svg tools (adobe 3 the plagin) i have written a very simple code which has a session variable the problem when i click the next botton to go to the next page a dialog box comes up (called download file ) givin

[PHP] Re: Using Exec Function

2005-06-17 Thread Jason Barnett
Davide Pasqualini wrote: I did as You suggested: but Hello.Exe, a very simple program, doesn't run and my browser seems waiting something from the server. Can I run a program (exe file) in another way ? Thank in advance for your help. Davide PHP will just sit there waiting for Hello.exe t

[PHP] Re: How to print variable name and contents

2005-06-17 Thread Bob Winter
nntp.charter.net wrote: I want to write a trace procedure and call it with variable names, and I am having trouble with the syntax. My goal is to have a procedure that will echo lines such as: Trace: $myvar="the contents of $myvar My attempt that didn't work is to write a function: functi

[PHP] PHP autogenerating Website Templates

2005-06-17 Thread The Doctor
Question: Is there a package that can autogenerate a Web Site using templates based on BSD/Apache/Mysql/PHP ?? IT would be nice to know. -- Member - Liberal International This is [EMAIL PROTECTED] Ici [EMAIL PROTECTED] God Queen and country! Beware Anti-Christ rising! nk.ca started 1 Ju

[PHP] Message could not be delivered

2005-06-17 Thread Mail Delivery Subsystem
ALERT! This e-mail, in its original form, contained one or more attached files that were infected with a virus, worm, or other type of security threat. This e-mail was sent from a Road Runner IP address. As part of our continuing initiative to stop the spread of malicious viruses, Road Runner s

[PHP] Re: just test

2005-06-17 Thread Davide Pasqualini
OK, in the task manager Hello.EXE is running (owner SYSTEM) but I don't see anything on the screen "Edgars Klavinskis" <[EMAIL PROTECTED]> ha scritto nel messaggio news:[EMAIL PROTECTED] > > Edgars > > > > Davide Pasqualini wrote: > > >I did as You suggested: > > > > >$win_cmd = "\"C:\\Hello.exe\

Re: [PHP] passthru() passing variables

2005-06-17 Thread Jason Barnett
What is a reliable cross-platform way of showing which user PHP is running as? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] just test

2005-06-17 Thread Edgars Klavinskis
Edgars Davide Pasqualini wrote: I did as You suggested: but Hello.Exe, a very simple program, doesn't run and my browser seems waiting something from the server. Can I run a program (exe file) in another way ? Thank in advance for your help. Davide -- PHP General Mailing List (ht

Re: [PHP] Using Exec Function

2005-06-17 Thread Davide Pasqualini
I just need to understand how I can run Hello.exe Thanks for your help Davide ""Richard Lynch"" <[EMAIL PROTECTED]> ha scritto nel messaggio news:[EMAIL PROTECTED] > On Thu, June 16, 2005 6:23 am, Davide Pasqualini said: > > I'm Windows XP Professional SP1, Apache 2.0.50 and PHP 5.0.4 > > I'm t

[PHP] Re: Using Exec Function

2005-06-17 Thread Davide Pasqualini
I did as You suggested: but Hello.Exe, a very simple program, doesn't run and my browser seems waiting something from the server. Can I run a program (exe file) in another way ? Thank in advance for your help. Davide -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: h

Re: [PHP] Complinging 4.2.0 on FC4 Test 3

2005-06-17 Thread Jochem Maas
Andy Pieters wrote: Hi All I am trying to compile php 4.2 on Fedora Core 4 Test 3 can't help you there - its the kind of thing that make me lose hair too! :-/ ... Ps: I know that PHP 5 is out, but I need this to port my program to 4.2+ < 5.0 why are you porting to an previous major ve

[PHP] Re: incrementing a register global

2005-06-17 Thread Aaron Todd
Thanks for all the suggestions. I am going to plan on trying them out just to see some other ways of making it work. I finally got it to work after hours of just playing around with the code. Here is what I ended up doing: for($i=1;$i<=$boxes;$i++){ echo $_GET['name'.$i]; } Moving the $i i

[PHP] Re: incrementing a register global

2005-06-17 Thread Aaron Todd
Just so there is no confusion...I mistyped the line: $names = substr(strrchr($_SERVER['QUERY_STRING'],"&"),7,1); It should be a 5 instead of a 7 at the end: $names = substr(strrchr($_SERVER['QUERY_STRING'],"&"),5,1); -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: h

Re: [PHP] need help/sample code for php/apache/imagemagick

2005-06-17 Thread Rory Browne
For the determining what part of the picture the user is refering to I'd use image maps - which depending on your situation can be serverside, or clientside. I wouldn't bother with imagemagick, in this case, and just stick to gd. On 6/17/05, bruce <[EMAIL PROTECTED]> wrote: > hi... > > i'm consi

[PHP] need help/sample code for php/apache/imagemagick

2005-06-17 Thread bruce
hi... i'm considering creating a short test app/game to allow users to use their mouse to select items from a given image/pic. i'd like to be able to take some basic shapes, and construct an image/mosaic from them. i'd then like to be able to display the image to the user, and have the user select

Re: [PHP] [RE-PHRASE] PHP ZIP Class

2005-06-17 Thread Jochem Maas
Jay Blanchard wrote: I am in need of a PHP class or script or something that will allow me to like Richard mentioned - exec out to the shell and zip there I wrote a little/simple class when I was bored, here you go, HIH - (sorry about the linewrapping) I use the class in backoffice settin

Re: [PHP] Re: If I have 2 arrays...

2005-06-17 Thread Jochem Maas
Jason Barnett wrote: Jay Blanchard wrote: [snip] Close... I think array keys are preserved from the (original) first array, but other than that those appear to be the values that should intersect. [/snip] After a var_dump I am seeing that there is an extra space in each element of one array

RE: [PHP] undefined index

2005-06-17 Thread Kim Madsen
> -Original Message- > From: Ross [mailto:[EMAIL PROTECTED] > Sent: Thursday, June 16, 2005 8:51 PM > if ($quantity == 0){ > > } >else { > > $pieces = explode(" ", $quantity); >$formatted_price = sprintf('%0.2f', $pricecode); > echo " cellspacing=\"5\"> width=\"40\">$pie