RE: [PHP-WIN] Session not working

2004-02-27 Thread Sudeep Sarath
Hello Yi Socheat, I think i am right in variable declaration. On both the pages i used $_SESSION['value'] instead of $_session[value]. Still it gives the blank page.. ...SuDeEp.. Yi Socheat [EMAIL PROTECTED] wrote: You write the wrong name because PHP function name or variable is

RE: [PHP-WIN] Session not working

2004-02-27 Thread Sudeep Sarath
Hi Yi Socheat, Thanxx a lot. It worked. I tried your example. It was working fine. And in my program i added session id (SID) to the end of the URL. It worked perfectly. Thanx for your suggestions. BYE .SuDeEp Yi Socheat [EMAIL PROTECTED] wrote: Hi sudeep, Please run the example

[PHP-WIN] gd error

2004-02-27 Thread Rafi Sheikh
I am trying to use jpgrap with php. For that I need gd enabled. Following is from my php.ini-as you can sees, it is listed. However, I do not see gd related info when I run php_info() ; Directory in which the loadable extensions (modules) reside. extension_dir = c:\php extension=php_gd2.dll

[PHP-WIN] HMTL E-mails with images (again)

2004-02-27 Thread Michael Horton
Hi, Having just recently started to try and use php (by necessity- the only person in the department who used php left us recently). I'm trying to make a form to send out a specific e-mail to the selected recipients. I've managed to get it to send an html e-mail to the recipients I want, but I

Re: [PHP-WIN] HMTL E-mails with images (again)

2004-02-27 Thread Erwin Kerk
Michael Horton wrote: Hi, Having just recently started to try and use php (by necessity- the only person in the department who used php left us recently). I'm trying to make a form to send out a specific e-mail to the selected recipients. I've managed to get it to send an html e-mail to the

Re: [PHP-WIN] HMTL E-mails with images (again)

2004-02-27 Thread Erwin Kerk
Michael Horton wrote: Most common solution is to put the images somewhere on an webserver and embed them in your html as: img src=http://your.web.server/image.extension; / Hmmm, I tried that, but got the familiar red cross in a box problem... Mike Are the images protected against hot-linking,

[PHP-WIN] Regular Expression on tool output

2004-02-27 Thread Jim MacDiarmid
Hi Everyone, I'm still very new to this regular expression thing and I'm hoping someone can offer some help. I've been able to match parts of this but now I'm at a loss. A little background on this. I'm running a console EXE tool to generate some output to display currently logged in users in

[PHP-WIN] Re: HMTL E-mails with images (again)

2004-02-27 Thread Manuel Lemos
Hello, On 02/27/2004 11:26 AM, Michael Horton wrote: Having just recently started to try and use php (by necessity- the only person in the department who used php left us recently). I'm trying to make a form to send out a specific e-mail to the selected recipients. I've managed to get it to send

[PHP-WIN] ubsubscribe

2004-02-27 Thread Sebastian
ubsubscribe -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-WIN] Strange Substr Behavior

2004-02-27 Thread Ron.Herhuth
I'm trying to cycle through a keyword printing out three character groupings starting from each letter in the keyword. Here is the script I am using: $searchWord = acme corporation $chars = strlen($searchWord); echo $searchWordbr; for($i=0;$i=$chars;$i++) { $j = $i + 3; echo $i . : . $j .

RE: [PHP-WIN] Strange Substr Behavior

2004-02-27 Thread Gerardo Rojas
The way this is writtien won't work. Because the substr() functions takes 2 arguments. The first is the start position and the second is the length. So you are increasing the length or 'j' in the example. It is not a fixed value of 3. -- Gerardo S. Rojas mailto: [EMAIL PROTECTED]

RE: [PHP-WIN] Strange Substr Behavior

2004-02-27 Thread Derrick Hermanson
Here this code will get you what you are looking for. ? $searchWord = acme corporation; $chars = strlen($searchWord); echo $searchWordbr; for($i=0;$i=($chars-3);$i++) { #$j = $i * 3; echo $i . : . $j . ; echo substr(($searchWord),$i,3) . br; } ? If you want it to look like what you had

[PHP-WIN] Re: HMTL E-mails with images (again)

2004-02-27 Thread Justin Patrin
Michael Horton wrote: Hi, Having just recently started to try and use php (by necessity- the only person in the department who used php left us recently). I'm trying to make a form to send out a specific e-mail to the selected recipients. I've managed to get it to send an html e-mail to the

Re: [PHP-WIN] Strange Substr Behavior

2004-02-27 Thread Meteorlet Woody
Ron.Herhuth,Hello You have made a mistake.look at the declaration of substr function: string substr(string string, int start, int [length]); The third parameter means sub-string's length,not the position.Hence,you should do like this: ?php

Re: [PHP-WIN] HMTL E-mails with images (again)

2004-02-27 Thread Sudeep Sarath
Hi Michael, I hope i can give u the solution for this. The task is u have to specify the actual path of the your image files. For example In your HTML file if there is the img tag which refers to the image file test.jpg then u have to mention that like this img