echo(| %s | %s | %s | %s | %s |br /, $array[id],
$array[username],
$array[password], $array[status], $array[notes]);
If you look at http://www.php.net/echo you'll see that echo
does not support this syntax. If you want to use this syntax
then you should probably be using some form of
On Sat, 1 Feb 2003, Hugh Danaher wrote:
echo(| %s | %s | %s | %s | %s |br /, $array[id], $array[username],
$array[password], $array[status], $array[notes]);
try
echo | %s | %s | %s | %s | %s |br /.$array[id]. .$array[username].
.$array[password]. .$array[status]. .$array[notes];
dots
Thank you chris,
Help full
Do you have any link for installation manual
Chris Hayes [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
At 21:36 1-2-2003, you wrote:
I am studying on php. And the book say, when the server see php
extension it
is running php
on 02/02/03 3:30 PM, Bobbi-Lea ([EMAIL PROTECTED]) wrote:
I've just installed php, zend developer, mysqladmin, and apache on my pc
laptop.
Are there any available for mac 8.6 ?
Not to the best of my knowledge... mac OSX has though :)
Justin
--
PHP General Mailing List
Or add a insert_date column of type timestamp to the database. This
will automatically store the time of insertion. Then use ORDER BY
insert_date.
Edwin
Jason Sheets wrote:
You could create a integer column with an autoincrement flag, then order
the rows by this column, that should give you
I am trying to load a php script to run in the background using the exec()
function. My code looks like this:
?
//
$aqid = $db-insert_id();//grab id of newly inserted row
$cmd = php -q sendit.php $aqid /dev/null 21 ;
exec($cmd);// call sendit.php in
Are you absolutely sure that the query gives result? Try and add or die
(mysql_error()) behind mysql_connect, mysql_select_db and mysql_query.
For the rest, it looks pretty good to me
Sunfire wrote:
ok let me try this question thing again...
i am having a problem using input tags by using
See www.php.net.
Qt wrote:
Thank you chris,
Help full
Do you have any link for installation manual
Chris Hayes [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
At 21:36 1-2-2003, you wrote:
I am studying on php. And the book say, when the server see php
Don't get your question right, but you get all your vars in the
querystring after submitting the form. There, you should check on
whether or not the var is filled (i.e. $var or so). There's no
other way :-( so your guess is pretty ok.
BTW: use Javascript to modify the submitted values.
Hi,
Sunday, February 2, 2003, 3:32:28 PM, you wrote:
BS Is it possible (using an apache directive, perhaps?) to turn off php parsing
BS for certain directories within a site? (but not others?)
BS I picture something like (in httpd.conf)
BS directory /home/www/somesite.com/codearchive
BS
Helloo people,
I have to build a database abstraction class with support for XML
output. My XML output has to look like this:
?xml version=1.0 ?
result query=SELECT * FROM books
row number=1
field name=namevalue/field
field name=namevalue/field
...
/row
row number=2
field
Hi,
I building a form which will be used to set access rights to different
parts of my web album. When editing the settings for each album, like the
albums name and wether or not everyone should be allowed to upload pictures
to it, I also present a list of checkboxes to the administrators. One
howabout making the checkboxes an array i.e.
INPUT TYPE=checkbox name=checkbox[?php echo($row[0])?] VALUE=YES
then when processing ...
foreach($_REQUEST[checkbox] as $checkbox)
{...
}
Tim Ward
http://www.chessish.com
mailto:[EMAIL PROTECTED]
- Original Message -
From: anders
At 12:25 02.02.2003, Tom Rogers said:
[snip]
you could try
php_flag engine = Off
[snip]
I've tried (this works):
In the configuration for the virtual host:
AllowOverride All
In .htaccess:
AddType text/plain
php-general Digest 2 Feb 2003 13:09:31 - Issue 1859
Topics (messages 133941 through 133989):
Re: Screen Size detect??
133941 by: Martin
Re: using input tags with php
133942 by: Philip Olson
133956 by: Sunfire
133967 by: David Freeman
133971 by: David
I have register globals off, and am using both $HTTP_GET_VARS['goto'] and
$_GET['goto']. The problem is not with receiving it, the problem is sending
it. Forexample, a sample URL would look something like this after
redirecting:
http://whatever.com/index.php?goto=
- Original Message -
Hi,
Sunday, February 2, 2003, 11:07:20 PM, you wrote:
EEV At 12:25 02.02.2003, Tom Rogers said:
EEV [snip]
you could try
php_flag engine = Off
EEV [snip]
EEV I've tried (this works):
EEV In the configuration for
From: Stephen [EMAIL PROTECTED]
I have a PHP script that works on older versions of PHP but on 4.3, it
outputs nothing. Here's my code:
?php
echo 'SCRIPT language=JavaScript type=text/javascript'.\n
.\n.'if (document.location == top.location)'.\n
.' top.location=home.php?goto='
On Sat, 2003-02-01 at 20:07, John W. Holmes wrote:
Then use an ORDER BY in your query. If you're relying on the database to
spit out rows in the order they went in, then you're wrong.
Hey man thanks for pointing that out... I know it's wrong, I didn't
design it but it's what I have to
Hi,
Monday, February 3, 2003, 12:09:59 AM, you wrote:
BVB On Sat, 2003-02-01 at 20:07, John W. Holmes wrote:
Then use an ORDER BY in your query. If you're relying on the database to
spit out rows in the order they went in, then you're wrong.
BVB Hey man thanks for pointing that out... I
- Original Message -
From: CDitty [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Saturday, February 01, 2003 11:26 AM
Subject: [PHP] MySQL/PHP Associative Array Insert
A co-worker is teaching me to move to the next level in php. I have
started using associative arrays for my scripts,
Hi,
I'm having trouble designing a good html-form/MySQL combination for an
access rights system.
I'm having three tables in MySQL: members (with member information for my
site), albums (with information for separate albums with digital photos on
my site) and accessrights (which should
?php
mysql_connect(hostname, mysqluser, mysqlpassword)||die(db error
msg...);
mysql_select_db(databaseName)||die(database error msg...);
$result=mysql_query(select * from table_name);
/*heres the trick*/
while($array=mysql_fetch_array($result)){
printf(| %s | %s | %s | %s | %s |br /, $array[id],
sorry already fixed my problems but the original question was what html/php
code did i need to do the stuff..all i needed was an example 3 or so line
code...i dont need anybody to write my code for me...examples are fine
enough to get me through my problems if i have any...
btw what is your rates
if
. matches any character except newline (by default)
then
what can i use to match any character INCLUDING newline?
Use an 's' modifier.
Quote: If this modifier is set, a dot metacharacter in the pattern
matches all characters, including newlines. Without it, newlines are
excluded. This
Then use an ORDER BY in your query. If you're relying on the
database to
spit out rows in the order they went in, then you're wrong.
Hey man thanks for pointing that out... I know it's wrong, I
didn't
design it but it's what I have to work with and I'm not being paid to
fix it. And
Major security question:
I manage a shared Linux web server running PHP 4.2.3. Apache must have
read permissions on a php file necessary for a web application. For
example a conf.php file containing a MySQL password that is stored
outside the web directory:
-rw-r-1 qapache
Hi,
As a novelty item on a website I have made a few lines of code for showing
how in hours minuts and secoinds since the server was booted up (using
C:\php\php.exe -q E:\...\set_boot_time.php value under the Run section in
the Windows Registry.). The system by running a script at bootup that sets
Hey Guys,
I am looking for a quick way to do form validation using $_SESSION variables
and MD5, but my brain is mush and my logic is all botched.
Heres the scoop...
I am using 3 $_SESSION variables to test for MD5.
1. $_SESSION[MD5_OLD]
2. $_SESSION[MD5_NEW]
3. $_SESSION[MD5_VALID]
Is it possible and if so, how to send emails through SMTP servers that require
authentication (logging in)?
Thanks in advance
Nicole [EMAIL PROTECTED] wrote:
Thank you. Yes, I did chmod my scripts. chmod 754 and tried 755 too. Don't
see why it should be x on the world, though. I would think if the script is
being called by its owner, then x on the owner and group should be enough,
no?
The script has to be
The following code loops through a multidimensional array, printing the
subject heading and then the strand:
foreach( $strandx as $subjectx=$strandy )
{
print lib.$subjectx./b.br /\n;
print ul\n;
asort( $strandy ); // sorts the strands
foreach( $strandy as $str )
{ print li;
No functions that I can think of but you can write one like this:
$arrayType = 'numeric';
foreach($myArray as $key = $value) {
if(!is_numeric($key)) {
$arrayType = 'associative';
}
}
Also remember that an array can be both!
Larry
Is there a way to determine if an array
Lo all,
Does anyone have some fonts or neat PHP code / classes to generate Code
128-type Barcodes? I'm preferably looking to get the barcode generated in a
PNG / GIF type format...
--
me
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi!
I have called a index.php file in a directory.
Every time I point my browser to that directory the contents of the
directory gets displayed instead of the index.php file.
Can anyone help?
Thanks in advance
Renato
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
Hi,
Add index.php to DirectoryIndex section in your httpd.conf file, if
you're using Apache...
HTH,
Florin.
On Sun, 2 Feb 2003 17:45:33 -0800
Renato Lopes [EMAIL PROTECTED] wrote:
Hi!
I have called a index.php file in a directory.
Every time I point my browser to that directory the
On Monday 03 February 2003 00:32, Johan Köhne wrote:
Is it possible and if so, how to send emails through SMTP servers that
require authentication (logging in)?
Yes. Search the archives.
--
Jason Wong - Gremlins Associates - www.gremlins.biz
Open Source Software Systems Integrators
* Web
For a bit more in depth answer, I would recommend using the Mail class
in Pear:
http://pear.php.net/manual/en/core.mail.mail.php
Should make it very easy.
Wes
On Sunday, February 2, 2003, at 01:10 PM, Jason Wong wrote:
On Monday 03 February 2003 00:32, Johan Köhne wrote:
Is it possible
On Sunday 02 February 2003 23:53, Sunfire wrote:
hi was just wondering if there was a way to have a php file with all
constant variables like db mysqluser and password and a few other things
defined in a file of its own and then be able to use the variables in it
for the project it was built
On Sunday 02 February 2003 22:57, anders thoresson wrote:
I'm having trouble designing a good html-form/MySQL combination for an
access rights system.
[snip]
You may want to have a look at this:
http://phpgacl.sourceforge.net
It seems to provide a very comprehensive system for setting
At 17:25 02.02.2003, Chris LeBlanc said:
[snip]
Ok, so where is the err in my logic since I know there is one, because after
var3 is set I keep getting MD5 has changed, or I just don't understand the
proper use of MD5, most likely both :)
On Sunday 02 February 2003 23:10, John W. Holmes wrote:
Then don't use LOAD DATA INFILE if it's not working for you. Write a PHP
script to read each line of the file and insert it. Yes, it'll be a
little slower, but then you could also add an auto_increment or
timestamp field that'll keep
The following code loops through a multidimensional array, printing
the
subject heading and then the strand:
foreach( $strandx as $subjectx=$strandy )
{
print lib.$subjectx./b.br /\n;
print ul\n;
asort( $strandy ); // sorts the strands
foreach( $strandy as $str )
{ print li;
hi was just wondering if there was a way to have a php file with all
constant variables like db mysqluser and password and a few other
things
defined in a file of its own and then be able to use the variables in
it
for
the project it was built for?
the last i knew it could be done and all
Major security question:
I manage a shared Linux web server running PHP 4.2.3. Apache must have
read permissions on a php file necessary for a web application. For
example a conf.php file containing a MySQL password that is stored
outside the web directory:
-rw-r-1 q
On Sunday 02 February 2003 21:45, Tom Rogers wrote:
you need the php_flag bit
To be explicit it should be
php_flag engine Off
NB there is no '=' sign.
--
Jason Wong - Gremlins Associates - www.gremlins.biz
Open Source Software Systems Integrators
* Web Design Hosting * Internet Intranet
Is there a PHP version of the ColdFusion tag CFParam?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Sun, 2 Feb 2003, Lon Lentz wrote:
Is there a PHP version of the ColdFusion tag CFParam?
Go here:
http://marc.theaimsgroup.com/?l=php-generals=cfparam
Regards,
Philip
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Thanks for the suggestion, John. When I implement your code, however, I get
an error saying
Warning: Invalid argument supplied for foreach() in
home/student/peter/public_html/week4.php on line 153
where line 153 is
foreach($strandx[$subject] as $strandy )
This is the code as I have it now:
Hi All,
I need to extract text ata from PDF files. Does anyone
know if there is a PHP PDF parser?
Also, does anyone know if there is a sql wrapper for
the ffdb-php project
(http://sourceforge.net/projects/ffdb-php/)?
John created this wonderful FFDB in PHP, and I was
wondering if there are
In one file I want to display filenames and when these files was last
modified. I want this to happen even for files in other directories.
First of all, can it be done with php (I have seen that it is possible using
SSI), and in that case how?
--
PHP General Mailing List (http://www.php.net/)
Has anyone used php to send ringtones to cell phones? I've been to
sites that are doing this in ASP, so I'm pretty sure it can be done in
php. I've tried just sending headers like this...
header ( Content-Type: audio/midi );
header ( Content-Name: By-Tor's Song );
header ( Content-Version:
hi
i create a php page dynamically in my php script. this page include one of
my other php file. when i run the newly created script i get this error
Warning: SAFE MODE Restriction in effect. The script whose uid is 48 is not
allowed to access file.php owned by uid 831
Is there a way to handle
You might take a look Pear's Image_Barcode, it uses GD so it should be
able to make them in PNG.
With PEAR::Image_Barcode class you can create a barcode represent given
string. This class uses GD function because of this the generated
graphic can be any of GD supported supported image types.
Take a look at the getlastmod() function, an example of the usage would
be:
$last_mod = date (F d Y H:i:s., getlastmod());
Then you can print or operate on last_mod any way you want, if you don't
want to operate on the date you can just print the return of date.
This information is available in
Where can I find good guidelines on how to write PHP-code that's easy to
read for a human?
--
anders thoresson
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
One resource I've found valuable is the PHP Coding Standard at
http://utvikler.start.no/code/php_coding_standard.html
To quote the introduction:
The PHP Coding Standard is with permission based on Todd Hoff's C++
Coding Standard. Rewritten for PHP by Fredrik Kristiansen / DB Medialab,
Oslo
Hello,
On 02/02/2003 02:32 PM, Johan köhne wrote:
Is it possible and if so, how to send emails through SMTP servers that require authentication (logging in)?
Not via mail(). You may want to try this class for composing and sending
messages that comes with a wrapper function named smtp_mail()
Where do you define the $strandx array? What is it's value?
---John W. Holmes...
PHP Architect - A monthly magazine for PHP Professionals. Get your copy
today. http://www.phparch.com/
-Original Message-
From: Peter Gumbrell [mailto:[EMAIL PROTECTED]]
Sent: Sunday, February 02, 2003
Newbie question and OT. Sorry.
I am able to conncet to a mysql server with the following call to
mysql_connect().
$connect=@mysql_connect(,,);
There are no parameters in the function call.
Why can I connect if there are no parameters?
However, if I give mysqladmin the password of:
You can have a look at this:
http://www.aramsoft.com/barcode/barcode-0.0.8a.tar.gz
--- http://cristophus.cjb.net ---
Why static, when you can go dynamic?
On Sun, 2 Feb 2003, Chris Knipe wrote:
Lo all,
Does anyone have some fonts or neat PHP code / classes to generate Code
--- Lon Lentz [EMAIL PROTECTED] wrote:
Is there a PHP version of the ColdFusion tag CFParam?
It has been a while since I wrote CF, but I believe
cfparam just does the same thing as something like this:
cfif not isdefined(variables.foo)
cfset variables.foo = default
/cfif
The PHP equivalent
--- Renato Lopes [EMAIL PROTECTED] wrote:
Every time I point my browser to that directory the
contents of the directory gets displayed instead of
the index.php file.
It would help if we knew what Web server, but I will assume
Apache and hope for the best.
Locate your httpd.conf file, and add
Try to have a look at this:
http://www.aramsoft.com/barcode/barcode-0.0.8a.tar.gz
--- http://cristophus.cjb.net ---
Why static, when you can go dynamic?
On Sun, 2 Feb 2003, Chris Knipe wrote:
Lo all,
Does anyone have some fonts or neat PHP code / classes to generate Code
128-type
Hi all,
I just finished loading the OS to my PC once again, installed and
configured IIS and then installed PHP 4 but now, every page I try to open
tells me:
Failed opening required '/icaam7/lib/stdlib.php'
(include_path='.;c:\php4\pear')
even when my php.ini (under Windows folder) tells me
$strandx is defined with code at the top of the page, as follows
$strandx = array('English' = array('Reading', 'Writing','Oral and Visual
Communication'),
'Mathematics' = array('Number Sense and Numeration', 'Measurement',
'Geometry and Spatial Sense','Patterning and Algebra','Data Management and
Hi ppl,
I have a problem that probably very simple, but i cannot figure it out
right now
I need to get the field names of my database. I have a query like select
* from books and now i wanna have both the result and the field name. I
have been trying with mysql_field_name, but not
On Sun, 2 Feb 2003, Davy Obdam wrote:
Hi ppl,
I have a problem that probably very simple, but i cannot figure it out
right now
I need to get the field names of my database. I have a query like select
* from books and now i wanna have both the result and the field name. I
have been
what is a winmail.dat file?
thanks Karl
IncrediMail - Email has finally evolved - Click Here
All arrays in PHP are associative; we sometimes use integers to refer to
them, but the order of the array internally is not necessarily the same as
the integers; indeed, any array can have holes in them. So the question is
moot.
There are no different indexed and associative array types in PHP,
Anders Thoresson [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
Where can I find good guidelines on how to write PHP-code that's easy to
read for a human?
it is also good idea to separate html from the code, for instance by using
some template engine.
rush
--
Karl:
Your question appears to be completely off-topic but perhaps this might
help you.
http://www.gotquestions.com/xs/seeDocument.asp?topicID=14documentID=696
On Saturday, February 1, 2003, at 03:56 PM, Karl James wrote:
image.tiff
i have a listbox:
select name=users
?php
//connect to db and get query
mysql_connect(.);
mysql_select_db(...);
$query=mysql_query(select username from users);
/*finish the listbox*/
while($account=mysql_fetch_array($query)){
echo option value=$account[username]$account[username]br;
}
?
/select
From: Sunfire [EMAIL PROTECTED]
Sent: Sunday, February 02, 2003 4:53 PM
Subject: [PHP] listbox problems
i have a listbox:
select name=users
?php
//connect to db and get query
mysql_connect(.);
mysql_select_db(...);
$query=mysql_query(select username from users);
/*finish the
On Sun, 2 Feb 2003, Sunfire wrote:
i have a listbox:
select name=users
?php
//connect to db and get query
mysql_connect(.);
mysql_select_db(...);
$query=mysql_query(select username from users);
/*finish the listbox*/
while($account=mysql_fetch_array($query)){
echo option
When creating an image using the image functions how do you control the
type face size?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Jason Sheets [EMAIL PROTECTED] skrev i meddelandet
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
Take a look at the getlastmod() function, an example of the usage would
be:
$last_mod = date (F d Y H:i:s., getlastmod());
Then you can print or operate on last_mod any way you want, if you don't
Strange -- can u change it to foo.php and execute it, or do you get a 404
error (not found)?
Justin
on 03/02/03 12:45 PM, Renato Lopes ([EMAIL PROTECTED]) wrote:
Hi!
I have called a index.php file in a directory.
Every time I point my browser to that directory the contents of the
On Sun, 2 Feb 2003, Øystein Håland wrote:
Jason Sheets [EMAIL PROTECTED] skrev i meddelandet
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
Take a look at the getlastmod() function, an example of the usage would
be:
$last_mod = date (F d Y H:i:s., getlastmod());
Then you can print or
on 03/02/03 5:28 AM, John W. Holmes ([EMAIL PROTECTED]) wrote:
Pretty much. Only addition is to make sure filename.inc can't be viewed
through the browser.
... by having apache refuse to server all .inc files through http, via the
use of a .htaccess file (assuming apache server)
Cheers,
on 02/02/03 7:56 AM, Karl James ([EMAIL PROTECTED]) wrote:
what is a winmail.dat file?
PLEASE don't post in rich text / HTML -- you've been asked more than once
PLEASE ask php-specific questions
Justin
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
Can you hit it by typing the actual filename?
http://www.mydomain.com/index.php
If yes, check you httpd.conf file, and make sure that you have added
index.php as a valid index file.
Justin French wrote:
Strange -- can u change it to foo.php and execute it, or do you get a 404
error (not
- Original Message -
From: Philip Olson [EMAIL PROTECTED]
To: Øystein Håland [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Sunday, February 02, 2003 11:41 PM
Subject: Re: [PHP] How can I display lastmodified for all my php-files?
See:
http://www.php.net/readdir
how do you tell it to refuse file.inc with a .taxis file? the server i will
be running this on is a public server and they dont allow .taxis files i
dont think...i will have to check and see
- Original Message -
From: Justin French [EMAIL PROTECTED]
To: [EMAIL PROTECTED]; 'Sunfire' [EMAIL
See:
http://www.php.net/readdir
http://www.php.net/filemtime
The examples within will help you write this.
K, think it is possible to solve my problem. Here comes a almost similar question.
After looking up the stat(9 function I cant see how I can acces the 'created date' of
a file. Can I?
hi..
listbox prob fixed...
i had echo select name='user'sbr;
in the first file it should have been:
echo select name='users'br;
and in second file i had:
echo 'account[username]br';
should have been :
echo $account[username]..br;
- Original Message -
From: Matt [EMAIL
How do I get the directory size? Suppose there is a function for this.
antti
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi all,
I'm sorry for this re-post, but I do need help with this URGENT...
I just finished loading the OS to my PC once again, installed and
configured IIS and then installed PHP 4 but now, every page I try to open
tells me:
Failed opening required '/icaam7/lib/stdlib.php'
Make a php file with nothing but this in it
?php
phpinfo();
?
...and hit that in your browser. It will tell you the location of the
ini that it is using.
César Aracena wrote:
Hi all,
I'm sorry for this re-post, but I do need help with this URGENT...
I just finished loading the OS to
On Sun, Feb 02, 2003 at 04:55:08PM -0500, Matt wrote:
i have a listbox:
select name=users
?php
//connect to db and get query
mysql_connect(.);
mysql_select_db(...);
$query=mysql_query(select username from users);
/*finish the listbox*/
Coding style is a very personal issue, one codes the way he/she likes.
But, for keeping the maintenance easier, KR style (named after
Kernighan and Ritchie - the Linux fathers) would probably be the best. I
(personally) prefer it quite a lot, without much modifications.
Here are a few references
What about the coding standard found on PEAR.php.net
LW
-Original Message-
From: Maxim [EMAIL PROTECTED] [mailto:Maxim
[EMAIL PROTECTED]]On Behalf Of Maxim Maletsky
Sent: Monday, 3 February 2003 11:19 AM
To: anders thoresson
Cc:
Subject: Re: [PHP] how to write clean code.
Coding
Hello friends.
The follwing code displays the date on my webpage :
echo date (l dS of F Y h:i:s A);
However, I need to add 12 hrs to this date befor displaying on the webpage. Can
someone please help me to modify the above code?
Thanks
Denis
How do I create a graphic pie chart on the fly with PHP. I have already
figured out how to get the variables from the database and so forth am just
looking to create the graphics.
Thanks
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi,
Monday, February 3, 2003, 11:10:36 AM, you wrote:
DLM Hello friends.
DLM The follwing code displays the date on my webpage :
DLM echo date (l dS of F Y h:i:s A);
DLM However, I need to add 12 hrs to this date befor displaying on the webpage. Can
someone please help me to modify the above
Hi,
Monday, February 3, 2003, 8:24:00 AM, you wrote:
BVB When creating an image using the image functions how do you control the
BVB type face size?
If you are using imagestring() the size is determined by the font number (1 - 5)
for internal fonts. If you use true type fonts then the size is
Hello friends.
I have the following code :
The code works fine and the listbox is populated. But when I select a category and
press the Search button, the variable $CategoryName is not passed to the page
findbycategory.php. Can you please tell me where I am wrong?
Quote
form name=form3
You will have to look up how to use the GD libraries
Look up Image Functions in the manual... Or you could also google for online
tutorials/classes
Andrew
- Original Message -
From: Vernon [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, February 03, 2003 1:19 AM
Subject: [PHP]
echo date (l dS of F Y h:i:s A);
However, I need to add 12 hrs to this date befor displaying on the
webpage. Can someone please help me to modify the above code?
$t = time() + (12 * 60 * 60);
echo date (l dS of F Y h:i:s A, $t);
Larry
--
PHP General Mailing List (http://www.php.net/)
To
I just finished loading the OS to my PC once again, installed and
configured IIS and then installed PHP 4 but now, every page I try to
open
tells me:
Failed opening required '/icaam7/lib/stdlib.php'
(include_path='.;c:\php4\pear')
Since there's a slash at the beginning, it's looking for
1 - 100 of 110 matches
Mail list logo