Im new to PHP and want to know if it is possible to reference PHP scripts
from a html page, the equivalent to an <% include%> tag in asp.
If so what is the syntax?
Thanks
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-m
Is it possible to use odbc to connect to a mysql database.
If not which database functions should i use
--
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: [E
What PHP funstions should i use to connect to a MS SQL database.
can i use the mysql or the odbc commands ?
--
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
Is there a PHP alternative to Perls use strict command.
For anyone who doesnt know Perl, use strict forces local declaration of
variables
thanks
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To c
I am used to perl syntax of:
$var->{'abc'} for a hash (associative array)
Can this syntax be done for PHP.
What other syntax is there for PHP hashes? Any that look like this?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional command
In perl the code to extract browser info is:
$length = $ENV{'HTTP_USER_AGENT'};
What is the equivalent code in PHP.
Thanks
--
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 admi
g. You can include phpinfo() anywhere to see the output values of
> your script.
>
> Matt Friedman
>
>
>
> - Original Message -
> From: "Costas" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Tuesday, March 27, 2001 8:01 AM
> Subj
when should i use .php and when should i use .phtml.
Thanks
--
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]
$str = "Mozilla/4.0 (compatible; MSIE 5.01; Windows NT 5.0)";
I need to fetch the 5th charcter after ".compatible; M" in $str (ie
'5').
- The following gets me the fifth character along (ie 'l')
$variable = substr ($str, 5, 1);
How do i tell the substr to start counting from ".compatibl
How do i extract the position (integer counting from the left) of the letter
M (beginning 'MSIE'.
$str = "Mozilla/4.0 (compatible; MSIE 5.01; Windows NT 5.0)";
NOTE, i only want a single integer (it is 28, i counted manuallt!!)
Thanks
--
PHP General Mailing List (http://www.php.net/)
To un
Is there an equivalent in PHP of the following code:
equivalent of asp's <%= strTest %>
But not echo ""
Thanks
--
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
11 matches
Mail list logo