Try to put your image into your web directory
"Diksha Neel" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> dear all,
>
> hi!
> i am creating an html file through a php script.
> i am drawing a table in one of whose cells i want
> to include and image.
> but this image does not a
Just run this query avoiding all this php code
SELECT SUBSTRING( MyFieldName, 0, 30 ) FROM MyTable
Substring( fieldname, starting position, length )
"Sebastian" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Good morning all.
>
> I have a mysql query that fetches some text. I am
I suppose that argc & argv variables should be supported in future releases
of php.
At this time only cgi php supports this feature. Am i wrong?
"Christian Bartels" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
Hello!
I'm new here on the list. I hope you can help me! :)
I have a fu
Suppose that form's buttons are
That's all
"Jonathan Rosenberg" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> I have been digging through the documentation for a while, but I can't
find
> the answer to this ...
>
> If I have a form with multiple submit
First of all you have to open this file as a binary
e.g. fopen("myfile.jpg","rb");
then you shound send the apropriate html headers to display the image
e.g. header("Contet-type: image/jpeg");
"Anthony Ritter" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
>
Here you can find a php class to make it work very simply...
http://phpclasses.promoxy.com/browse.html/package/366.html
- Original Message -
From: "Thomas Edison Jr." <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, April 15, 2002 9:23 AM
Subject: [PHP] Search Results, Per Page
You 've missed this ")" .
Change it to print( form("tt.php", form_radio("group","parameters") ) );
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
If you want to use sudo you can do it with the fowling function:
function loginsu(){
$fhandle = @popen("$sudo_path -u root clear", "w");
$fputs( $fhanlde, "$supassword");
@pclose($fhandle);
}
Dont forget to edit /etc/sudoers adding the folowing line
apache ALL=PASSWD:ALL
Do it at y
Try to STOP and then START apache, not restart.
If it doesn't work make sure that there is no php.ini file in the
c:\phpinstalldir\.but only in your WINDIR.
- Original Message -
From: "Kostas Karadamoglou" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, February 26, 2002 4:06
The only way that works fine for me is to read a file char by char. When you
read the \n character add the readen chars in array's position.
Here is an example
$fp = fopen ("myfile","r");
$txtarr = array();// array to store each line of your file
$linenum = 1; // just a counter
$lin
I 'm not sure, but i beleive you can get visitor's country from Apache 's
Varialble $HTTP_ACCEPT_LANGUAGE. For further information read "Predefined
Variables" in the manual.
Hope it works!!!
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For addit
Or you can use this simply class from Manuel Lemos's site. It works with
Mysql only.
http://phpclasses.upperdesign.com/browse.html/package/366
> Hi,
>
> I need an algorithm for paging. If I have 100 pages of results, I only
> want to show
> << Prev 1 2 3 4 5 6 7 8 9 10 Next >>
>
> Where I limit
How about an Aunt!? ( I don't know if it is in use )
Ant is a hard worker in the summer and very powerfull ( can lift 30 times
it's weight ) and small.
Just Like PHP.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail:
You can do it only in few lines of code with a recursive function... You
can display full tree structure with unlimited levels.
Mysql Table :
cid int,
parent int,
Name varchar
Cid parent varchar
1 0 A
2 1 C
3 0 B
4 1 D
5 2 E
6
Try to break up html into different files for each browser type.
Switch ($browser)
{
case "ns4" :
include ns4.html; break;
case "ie5" :
include ie5.html; break;
.
.
.
default :
include ie6.html;
}
Try this
$Query = "SELECT UCASE(Company) as company, Icons, ID, LogoD FROM
feComps";
List ( $company, $icons, etc ) = mysql_fetch_row( );
> -Original Message-
> From: Niklas Lamp&igr;n [mailto:[EMAIL PROTECTED]]
> Sent: Friday, November 02, 2001 10:22 AM
> To: Php-General
> Subj
Try this
$Query = "SELECT UCASE(Company) as company, Icons, ID, LogoD FROM
feComps";
List ( $company, $icons, etc ) = mysql_fetch_row( );
> -Original Message-
> From: Niklas Lamp&igr;n [mailto:[EMAIL PROTECTED]]
> Sent: Friday, November 02, 2001 10:22 AM
> To: Php-General
> Subj
This should work ...
if ( IsSet($id) ) {
.
sql statement
}else{
.
}
- Original Message -
From: "Tshering Norbu" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, October 19, 2001 12:22 PM
Subject: [PHP] Undefined variable
> Dear list,
>
> I test the followi
This should be fine...
$month = 5;
$year = 2001;
$day = 6;
echo date( "Y/m/d", mktime( 0, 0, 0, $month, $day, $year ) );
Output "2001/05/06"
- Original Message -
From: "Daniel Alsén" <[EMAIL PROTECTED]>
To: "php" <[EMAIL PROTECTED]>
Sent: Friday, October 05, 2001 12:44 PM
Subject: [PHP
You should change sessions configuration in php.ini
The default value for sessions dir /tmp.
In windows shoud point to c:\tmp
The header error occurs because you get a warning about session.
- Original Message -
From: "Web user" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursda
-
---
> Enterprise Testing and Performance Management Solutions
> --
---
> Mercury Interactive
> 410 Frimley Business Park
> Frimley, Surrey. GU16 7ST
> United Kingdom
> Telephone : +44 (0)1276 808300
>
>
>
> >From: &
> Mercury Interactive
> 410 Frimley Business Park
> Frimley, Surrey. GU16 7ST
> United Kingdom
> Telephone : +44 (0)1276 808300
>
>
>
> >From: "Dimitris Kossikidis" <[EMAIL PROTECTED]>
> >To: "Caleb Carvalho" <[EMAIL PROTECTED]>
$field_value = "I 'm bla bla";
$field_value = addslashes($field_value);
$sql = "Insert into TABLE values('$field_value');
- Original Message -
From: "Caleb Carvalho" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, October 01, 2001 2:05 PM
Subject: [PHP] still learning php
>
Now you get an array called mycheck.
Manipulate this array in php. Remeber that only checked items are set in
array.
That means if 2 checkboxes are checked you 'll get an array with 2
positions.
Suppose that 1st and 3rd checkboxes are checked.
- Original Message -
From: "John Day" <
Now you get an array called mycheck.
Manipulate this array in php. Remeber that only checked items are set in
array.
That means if 2 checkboxes are checked you 'll get an array with 2
positions.
Suppose that 1st and 3rd checkboxes are checked.
- Original Message -
From: "John Day" <
25 matches
Mail list logo