php-windows Digest 7 Jul 2004 06:53:26 -0000 Issue 2309
Topics (messages 24114 through 24120):
Re: Self-calling script problem.
24114 by: Gryffyn, Trevor
Lose 19% weight. New weightloss available to you.
24115 by: Susan H. Schneider
Session On Window [Urgent]
24116 by: M. Imran Khan
24118 by: Jason Barnett
Re: check boxes... set the VALUE or just echo CHECKED????
24117 by: Gryffyn, Trevor
24119 by: Bobo Wieland
PHP extension problem in new XP site
24120 by: George Pitcher
Administrivia:
To subscribe to the digest, e-mail:
[EMAIL PROTECTED]
To unsubscribe from the digest, e-mail:
[EMAIL PROTECTED]
To post to the list, e-mail:
[EMAIL PROTECTED]
----------------------------------------------------------------------
--- Begin Message ---
> > http://160.221.21.129/timelog/?user_id=99999
>
> This is what I don't understand.
> The thing is, the correct call should be
>
> http://160.221.21.129/timelog/index.php?user_id=99999
>
> and inside you should have
>
> $user_id = $_GET['user_id'];
>
> Unless it is a typo on your mail ...
>
>
> Luis
Omitting the script name in the URL should call the current script. So
this will probably work, but I don't know under what circumstances it
WONT work. I don't know if that's an IIS lazy programmer compensator or
if it's an industry standard functionality. But at least in some cases,
the first URL above will work the same as the second.
I prefer to spell out everything myself, but that's my preference in
style.
-TG
--- End Message ---
--- Begin Message ---
Hello, I have a special offer for you...
WANT TO LOSE WEIGHT?
The most powerful weightloss is now available
without prescription. All natural Adipren720
100% Money Back Guarant�e!
- Lose up to 19% Total Body Weight.
- Loss of 20-35% abdominal Fat.
- Up to 300% more Weight Loss while dieting.
- Increase metabolic rate by 76.9% without Exercise.
- Reduction of 40-70% overall Fat under skin.
- Suppresses appetite for sugar.
- Burns calorized fat.
- Boost your Confidence level and Self Esteem.
Get the facts about all-natural Adipren720 <http://adipren10.com/>
---- system information ----
does exposed text Generally various [Web images behavior
existing strongly latest native takes does difficult [Web
own lives What numbers Activity found settings Most
Simplified colors contribution like interaction behavior employ alone
system instead yet elements source consistency interplay environment
--- End Message ---
--- Begin Message ---
Dear Users,
Can I manage the PHP session on windows.
I am running the Apache 1.3 and PHP. I got the warning:
Warning: open(/tmp\sess_2b69db87d2a153561e2972b4fb5eac3c, O_RDWR) failed: m (2) in
c:\program files\apache group\apache\htdocs\test\sess.php on line 2
Please can some one help me regarding this.
Regards,
M. Imran Khan
--- End Message ---
--- Begin Message ---
M. Imran Khan wrote:
Dear Users,
Can I manage the PHP session on windows.
I am running the Apache 1.3 and PHP. I got the warning:
Warning: open(/tmp\sess_2b69db87d2a153561e2972b4fb5eac3c, O_RDWR) failed: m (2) in
c:\program files\apache group\apache\htdocs\test\sess.php on line 2
Please can some one help me regarding this.
Regards,
M. Imran Khan
Do you have an existent tmp directory, and does your Apache process have
access to it? My guess is you just need to add the directory.
Jason
--- End Message ---
--- Begin Message ---
For HTML form elements that can be checked or selected or whatever, I
like to do something like this:
if ($conditionistru) { $checked = " CHECKED" } else { $checked = ""; }
echo "<input type=\"radio\" name=\"search\"
value=\"something\"$checked>";
If I was doing this for a combo/option box, I'd have a list of the
options in an array, use a "foreach" to create the <option> entries and
check the value from the array against the currently used value and
assign $checked = " CHECKED" if they match. This way, the previously
selected option is always auto-selected in your web form.
Part of the reason I put the space inside the quotes with the CHECKED is
so the HTML that's output is nice and clean. Nothing like seeing a
blank space and wondering what got omitted.
I don't know if that's the proper way.. But I don't see anything wrong
with it stylistically and it works for me.. And seems to qualify for
'easy' in my book.
-TG
> -----Original Message-----
> From: Leo G. Divinagracia III [mailto:[EMAIL PROTECTED]
> Sent: Monday, July 05, 2004 4:21 AM
> To: [PHP-WIN]
> Subject: [PHP-WIN] check boxes... set the VALUE or just echo
> CHECKED????
>
>
> i'm thinking of just adding the CHECKED word to the ECHO'ed HTML
> statement instead of dealing with the VALUE.
>
> what's the "proper" vs the "easy" way?
>
> thanks... i googled a few pages and it really didnt give a
> good result.
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
--- End Message ---
--- Begin Message ---
With xhtml syntax which I prefer it should be:
<input type='radio' name='search' value='something' checked='checked' />
.bobo
----- Original Message -----
From: "Gryffyn, Trevor" <[EMAIL PROTECTED]>
To: "[PHP-WIN]" <[EMAIL PROTECTED]>
Cc: "Leo G. Divinagracia III" <[EMAIL PROTECTED]>
Sent: Tuesday, July 06, 2004 3:54 PM
Subject: RE: [PHP-WIN] check boxes... set the VALUE or just echo CHECKED????
For HTML form elements that can be checked or selected or whatever, I
like to do something like this:
if ($conditionistru) { $checked = " CHECKED" } else { $checked = ""; }
echo "<input type=\"radio\" name=\"search\"
value=\"something\"$checked>";
If I was doing this for a combo/option box, I'd have a list of the
options in an array, use a "foreach" to create the <option> entries and
check the value from the array against the currently used value and
assign $checked = " CHECKED" if they match. This way, the previously
selected option is always auto-selected in your web form.
Part of the reason I put the space inside the quotes with the CHECKED is
so the HTML that's output is nice and clean. Nothing like seeing a
blank space and wondering what got omitted.
I don't know if that's the proper way.. But I don't see anything wrong
with it stylistically and it works for me.. And seems to qualify for
'easy' in my book.
-TG
> -----Original Message-----
> From: Leo G. Divinagracia III [mailto:[EMAIL PROTECTED]
> Sent: Monday, July 05, 2004 4:21 AM
> To: [PHP-WIN]
> Subject: [PHP-WIN] check boxes... set the VALUE or just echo
> CHECKED????
>
>
> i'm thinking of just adding the CHECKED word to the ECHO'ed HTML
> statement instead of dealing with the VALUE.
>
> what's the "proper" vs the "easy" way?
>
> thanks... i googled a few pages and it really didnt give a
> good result.
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--- End Message ---
--- Begin Message ---
Hi all,
I've just moved form Win2k to XP (to get my wireless card to function!) and
having re-installed everything, but using the most up-to-date downloads (but
not v5 yet), I'm hgaving a problem with a script that builds a PDF page from
Filemaker.
This is the error I get:
==================================
Fatal error: Call to undefined function: pdf_new() in
C:\Inetpub\wwwroot\fx\cover.php on line 48
PHP Warning: Unknown(): Unable to load dynamic library
'.;C:\PHP\extensions;\php_pdf.dll' - The specified module could not be
found. in Unknown on line 0
==================================
And the relevant bit from the php.ini
==================================
; Directory in which the loadable extensions (modules) reside.
extension_dir = ".;C:\PHP\extensions;"
==================================
Does anyone see any problem with my setup? Does anyone have a solution?
Other PHP stuff appears to be working fine, though my script hasn't got to
the 'smarty' part yet.
MTIA
George in Oxford
--- End Message ---