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 appear when
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
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
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]...
The
Suppose that form's buttons are
input type= submit name=submit value=Edit
input type= submit name=submit value=Delete
input type= submit name=submit value=New
?
switch ($submit){
case Edit:
...;
break;
case Delete:
...;
break;
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,
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 your
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 PM
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
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
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 the
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,
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 Lampn [mailto:[EMAIL PROTECTED]]
Sent: Friday, November 02, 2001 10:22 AM
To: Php-General
Subject:
Try this
$Query = "SELECT UCASE(Company) as company, Icons, ID, LogoD FROM
feComps";
List ( $company, $icons, etc ) = mysql_fetch_row( );
-Original Message-
From: Niklas Lampn [mailto:[EMAIL PROTECTED]]
Sent: Friday, November 02, 2001 10:22 AM
To: Php-General
Subject:
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 following
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] Adding
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: Thursday,
$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
I
leb Carvalho
Application Engineer
LoadRunner/APM
--
---
Enterprise Testing and Performance Management Solutions
--
---
Mercury Interactive
410 Frimley Business Park
Frimley, Surrey. GU16 7ST
United Kingdom
Telephone :
ing and Performance Management Solutions
--
---
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]
CC: [EMAIL PROTECTED]
Subjec
input type=checkbox name=mycheck[] value=value1
input type=checkbox name=mycheck[] value=value2
input type=checkbox name=mycheck[] value=value3
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
23 matches
Mail list logo