PHPLover wrote:
I am going throught the CVS of PHP and happened to see the Style.css
file.
I found that background-color of body,html is set to White instead of
#ff which i feel is not a valid CSS.
Am i right ?
Why is it not valid? It's valid even in the proposed spec for CSS3
(their onli
I am going throught the CVS of PHP and happened to see the Style.css
file.
I found that background-color of body,html is set to White instead of
#ff which i feel is not a valid CSS.
Am i right ?
Thanks & Regards,
___
PHPLover
"Göd döësn't pläy dícë."
- Älbërt Ëínstë
Moodle.Org, an OpenSource project, needs help.
We need someone to help program a module to import WebCT quiz data into Moodle.
Any takers with a big heart for a worthwhile educational project?
John :=)
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/
Dimitri Marshall wrote:
Hi there,
I'm new to this new PHP thing and man it's frusterating. Anyway, I'm not
gonna tell you my life story, but I just need to know how to allow users to
upload files to my server . I've already made a form with the
Thanks in advance,
Dimitri Marshall
Try using $_F
Hi Dimitri,
> I'm new to this new PHP thing and man it's frusterating. Anyway, I'm not
> gonna tell you my life story, but I just need to know how to allow users
> to
> upload files to my server . I've already made a form with the name="whatever" type="file" and then a program that should get the
Thanks Adam,
:=) First thing I tried.
Oh well.
John
> > How can I verify if my ISP really does have PHP on a server I am using. They say
> > if I want PHP, I must pay an extra $15 per month. Is there somehting I can put in
> > my .htaccess to verify and maybe do this?
> >
> >
> > A
Hi there,
I'm new to this new PHP thing and man it's frusterating. Anyway, I'm not
gonna tell you my life story, but I just need to know how to allow users to
upload files to my server . I've already made a form with the http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
John Taylor-Johnston wrote:
How can I verify if my ISP really does have PHP on a server I am using. They say if I want PHP, I must pay an extra $15 per month. Is there somehting I can put in my .htaccess to verify and maybe do this?
AddType application/x-httpd-php .php .php4 .php3 .
=
This message is for the benefit of new subscribers and those new to PHP.
Please feel free to add more points and send to the list.
==
1. If you have any queries/problems about PHP try
How can I verify if my ISP really does have PHP on a server I am using. They say if I
want PHP, I must pay an extra $15 per month. Is there somehting I can put in my
.htaccess to verify and maybe do this?
AddType application/x-httpd-php .php .php4 .php3 .phtml .htm .html
Add
hello, I tried to configure php as module SAPI of the apache web server, I
put this line:
LoadModule php4_module D:/PHP4.3.3/sapi/php4apache.dll
AddModule mod_php4.c
AddType application/x-httpd-php .php
When I tested the configuration, I got this error:
Cannot remove module mod_php4.c: not found
PHP 4.3.4 has been released. The focus of this release was the resolution of
bugs and at the time of release some 70 bugs were resolved. All users are
encouraged to upgrade to 4.3.4.
PHP 4.3.4 contains, among others, following important fixes:
* Fixed disk_total_space() and disk_free_space() unde
Thank you for contacting me
Your e-mail has been forwarded to the appropriate person Mr. Imran Asghar.
We welcome all comments and suggestions.
Due to the high volume of e-mails received, not all e-mails are responded to directly.
All e-mails that are responded to are handled in the order in
Suppose we have a recordset $rs returned by query like that:
SELECT mediaID, filename, languageID
FROM yabady a
INNER JOIN yohoho b on a.ID = b.ID
ORDER BY mediaID
then to build the array you can write:
for ($i = 0; $i <= $rs->getRowCount() - 1; $i++) {
$row = $rs->getRow();
$data = array('mediaI
Hi there, i'm stumped on a problem, i am trying to create an admin tool,
which will database files which are ftp'd to the server first. A drop down
list of flash files are viewed, and they are seperated into high and low
clips with a language key joined to them. They are stored in the database
like
Jay Blanchard wrote:
[snip]
...will say if a field is of type "ENUM", but not its possible values
(including default). Does anyone know how I can fetch possible values
of a field type of ENUM?
[/snip]
You would have to use DESCRIBE. So if
Even better is
DESC table_name column_name;
so you onl
php-general Digest 3 Nov 2003 23:46:16 - Issue 2394
Topics (messages 168382 through 168426):
Re: Mailing List
168382 by: Lowell Allen
168390 by: David T-G
Re: Web Applications and C++?
168383 by: Jay Blanchard
Re: Japanese entry into MySQL and into emails
16
Mark McCulligh wrote:
What function(s) would you use if you want to take someone's birth day and
format it on display.
I have always used strtotime, then strftime but it doesn't work if someone
was born in 1939. strtotime returns -1.
What function would you use to take the input string "1939/11/23
Thank you for contacting me
Your e-mail has been forwarded to the appropriate person Mr. Imran Asghar.
We welcome all comments and suggestions.
Due to the high volume of e-mails received, not all e-mails are responded to directly.
All e-mails that are responded to are handled in the order in
[snip]
... I can whois them on http://whois.ausregistry.net.au/and
fine them, but they can't be pinged.
Anybody know why this might be?
[snip]
I'm just answering your question why they can't be pinged.
You are perfectly right that 'gethostbyname($hostname) has nothing to do with
pings as a matter
> If you're going to ask for help, you should take it in whatever form it
> comes. Perhaps he wasn't answering your primary question, but just stating
> how it is possible to not have a ping request returned by a valid address.
> In which case he is quite right.
I am thankful he answered my quest
<[EMAIL PROTECTED]>
[EMAIL PROTECTED]:
> Thank you for contacting me
>
> Your e-mail has been forwarded to the appropriate person Mr. Imran
> Asghar.
>
> We welcome all comments and suggestions.
>
> Due to the high volume of e-mails received, not all e-mails are
> responded to directly.
>
> All e-m
"Dan Anderson" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> > the firewall is configured to block pings from outside - security
reasons - so
> > called stealth mode
>
> No, you are wrong.
If you're going to ask for help, you should take it in whatever form it
comes. Perhaps he w
> the firewall is configured to block pings from outside - security reasons - so
> called stealth mode
No, you are wrong. gethostbyname($hostname) correctly resolves my
servers, and I have disabled pings for security reasons.
gethostbyname($hostname) has nothing to do with pings as a matter of
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On Monday 03 November 2003 6:54 pm, Pablo Goose wrote:
> Hi Ian. If you're trying to access an uploaded file then you have to
> use the $_FILES array.
>
> How is that you had hoped to access this information from outside the
> $_FILES array?
It seems
Thank you for contacting me
Your e-mail has been forwarded to the appropriate person Mr. Imran Asghar.
We welcome all comments and suggestions.
Due to the high volume of e-mails received, not all e-mails are responded to directly.
All e-mails that are responded to are handled in the order in
the firewall is configured to block pings from outside - security reasons - so
called stealth mode
Dan Anderson wrote:
Some domain names on .net.au are not being resolved when I use
gethostbyname. I can whois them on http://whois.ausregistry.net.au/and
fine them, but they can't be pinged.
A
Some domain names on .net.au are not being resolved when I use
gethostbyname. I can whois them on http://whois.ausregistry.net.au/and
fine them, but they can't be pinged.
Anybody know why this might be?
Thanks in advance,
Dan
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe,
What function(s) would you use if you want to take someone's birth day and
format it on display.
I have always used strtotime, then strftime but it doesn't work if someone
was born in 1939. strtotime returns -1.
What function would you use to take the input string "1939/11/23" and get
the timesta
"René fournier" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> ...will say if a field is of type "ENUM", but not its possible values
> (including default). Does anyone know how I can fetch possible values
> of a field type of ENUM?
desc $tbl_name;
You'll have to parse it, but it wi
I'm trying to output HP PCL commeands using the printer_write command.
For example:
$str=sprintf("\033&d0D"); // Underline Text
$str.="Text to print";
$str.=sprintf("\033cE"); // Reset printer
$handle = printer_open('DOMAIN\\PSERVER');
printer_write($handle,$str);
printer_close($handle);
The
[snip]
...will say if a field is of type "ENUM", but not its possible values
(including default). Does anyone know how I can fetch possible values
of a field type of ENUM?
[/snip]
You would have to use DESCRIBE. So if
DESCRIBE db; //in the mysql table
returns --
+-+---
...will say if a field is of type "ENUM", but not its possible values
(including default). Does anyone know how I can fetch possible values
of a field type of ENUM?
Thanks.
...Rene
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On 02-Nov-2003 Koala Yeung wrote:
> Thanks a lot
>
> I'd like to remove newline only.
> Is there any simple way?
>
rtrim($str, "\r\n");
Regards,
--
Don Read [EMAIL PROTECTED]
-- It's always darkest before the dawn. So if you are going to
steal the neigh
any warnings, problems, or other issues we should be aware of... production
server, already addressed the register_globals issue
Dave
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
i found the problem myself, array has to be defined like this:
$b=array[0=>0];
then $b can be any array of any type of index and values as you wish to
"assign" to it.
"Dan" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> please help with the following:
>
> I tried this first :
> $b
Robb Kerr wrote:
What's your favorite JavaScript newsgroup? This group has been invaluable
in helping me learn PHP and need the same for JS.
I would highly recommend Evolt ( http://www.evolt.org ) -- I'm a member
and a frequent lurker (and sometime poster) on their lists. A lot of
expert minds o
Robert Sossomon wrote:
[ snipped ]
What I would LIKE it to do is pass along the keywords back to itself so
that when it is called from within itself it can be on the same search
terms.
I have made the code do this:
These are inputs to another form, which just passed this back
header("Locatio
Ian Williams wrote:
I have an XML document as a string $strXml, that looks a little like this:
1
Bob
Rover
2
Fred
Fido
What's the best way to grab a single value from this document? In the past
(in
VB), I have loaded the XML int
What's your favorite JavaScript newsgroup? This group has been invaluable
in helping me learn PHP and need the same for JS.
Thanx,
--
Robb Kerr
Digital IGUANA
Helping Digital Artists Achieve their Dreams
http://www.digitaliguana.com
http://www.cancerreallysucks.org
--
PHP General Mailing List (
"Donald Tyler" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Hi,
>
> I am publishing a site I have developed and I am having problems with
> the scripts being able to access the remote MySQL server. When I try to
> connect using the PHP scripts I just get an error saying that access
Hi,
I am publishing a site I have developed and I am having problems with
the scripts being able to access the remote MySQL server. When I try to
connect using the PHP scripts I just get an error saying that access is
denied.
I can access it fine from my machine using PHPMyAdmin so I know that
re
Bas wrote:
I want to replace something like this:
$sql = "CREATE TABLE bas_table (
)";
With this:
"CREATE TABLE hugo_table (
)";
And do the same for INSERT INTO... How do i do this?
If you know that "bas_" will not appear within your data, then a simple
str_replace() will do.
$new_d
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
I'm using the following class for a form with an image in, but I need to use a
function to validate that an image was uploaded with the correct type and
that it's not too large.
I don't seem to be able to access the information about the file from wit
> I've been working on a database wrapper class for a while
> now, MySQL to
> be specific. Until now, I've simply had a fetch function
> that returned
> an array of all the rows that the database returned, only
> because I have
> gotten so tired of always writing the same while loop to
> it
[snip]
I AM NOT THAT DUMB... I JUST WANT TO REPLACE 1 TABLE PREFIX BY
ANOTHER!!!
[/snip]
http://www.php.net/str_replace
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Mon, Nov 03, 2003 at 04:37:41PM +0100, Bas wrote:
> OKAY, I WANT TO REPLACE IN THE TABLENAME THE TEXT BAS_ WITH DUMMY_
>
> SUCH LIKE THAT "CREATE TABLE BAS_DATA" BECOMES "CREATE TABLE DUMMY_DATA"
>
> I AM NOT THAT DUMB... I JUST WANT TO REPLACE 1 TABLE PREFIX BY ANOTHER!!!
sed -i.bak
[snip]
OKAY, I WANT TO REPLACE IN THE TABLENAME THE TEXT BAS_ WITH DUMMY_
SUCH LIKE THAT "CREATE TABLE BAS_DATA" BECOMES "CREATE TABLE DUMMY_DATA"
I AM NOT THAT DUMB... I JUST WANT TO REPLACE 1 TABLE PREFIX BY
ANOTHER!!!
[/snip]
Then do it! And quit top posting! And quit yelling!
--
PHP Genera
OKAY, I WANT TO REPLACE IN THE TABLENAME THE TEXT BAS_ WITH DUMMY_
SUCH LIKE THAT "CREATE TABLE BAS_DATA" BECOMES "CREATE TABLE DUMMY_DATA"
I AM NOT THAT DUMB... I JUST WANT TO REPLACE 1 TABLE PREFIX BY ANOTHER!!!
"Jay Blanchard" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
[snip
I have been modifying the quote system I have been writing like mad and
have hit another brick wall of sorts.
I am trying to do a couple of things...
The search is now up and running on just a DESCRIPTION field. Anything
else at this point is unwieldy. It works perfectly however I am trying
to a
[snip]
No, i mean to replace the names in the string... And then execute
them...
[snip]
*slaps forehead* Duh, just do it?
$sqlCreateTable = "CREATE TABLE `dumBas` ( ";
$sqlCreateTable .= "`ai` int(11) NOT NULL AUTO_INCREMENT, ";
$sqlCreateTable .= "`thing` char(32) default NULL, ";
$sqlCreateTabl
On Thu, 2003-10-30 at 17:00, Chris Shiflett wrote:
> So the server where you're running the PHP script can't connect to
> the server you specify in your include() call. So, you can now remove
> PHP from the problem and work on that.
>
> [...]
>
> Hope that helps.
>
> Chris
Thank you Chris..i solve
No, i mean to replace the names in the string... And then execute them...
"Jay Blanchard" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
[snip]
I want to replace something like this:
$sql = "CREATE TABLE bas_table (
)";
With this:
"CREATE TABLE hugo_table (
)";
And do t
PHPLover --
...and then PHPLover said...
%
% Dear All,
%
% I would like to setup a mailing list for my company.
Then set up a mailing list.
% I have a database containing email address of my clients along with other
% details.
That's good.
% How can I send them mails ?
I would highly reco
[snip]
does anybody know how php handles daylight saving issues ?
[/snip]
I am pretty sure that PHP does not 'handle' daylight savings issues at
all, but relies on the server settings for its time base.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/u
[snip]
I want to replace something like this:
$sql = "CREATE TABLE bas_table (
)";
With this:
"CREATE TABLE hugo_table (
)";
And do the same for INSERT INTO... How do i do this?
[/snip]
Top of the morning to you Bas!
I have a couple of questions for you.
1. Have you read any of t
I want to replace something like this:
$sql = "CREATE TABLE bas_table (
)";
With this:
"CREATE TABLE hugo_table (
)";
And do the same for INSERT INTO... How do i do this?
Regards,
Bas
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/uns
I have an XML document as a string $strXml, that looks a little like this:
1
Bob
Rover
2
Fred
Fido
What's the best way to grab a single value from this document? In the past
(in
VB), I have loaded the XML into a DOM Document, a
>a production box running 4.2.2 recently had a script added to it requiring use
>of xml functionality. The box was already compiled (a few versions earlier)
>with the --with-xml option. Since then, have upgraded this box twice
>(though it
>is due for another) using config.nice to ensure the same
The issue of entering Japanese into email from a PHP script has
been resolved. A key point was that when creating a header for an email,
not only should \r\n be used to separate lines, but immediately
preceding \r\n should be a space.
The end result was to create a variable that go
[snip]
Inappropirate but intruiging nonetheless.
[/snip]
Maybe not so inappropriate as you could use C++ dll's ...calling them
from PHP, passing variables, etc.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
> I would like to setup a mailing list for my company.
> I have a database containing email address of my clients along with other
> details.
> How can I send them mails ?
> If i write a script containing the mail function and loop the address, I
> think that might generate a script timeout error.
php-general Digest 3 Nov 2003 11:32:09 - Issue 2393
Topics (messages 168358 through 168381):
Re: passing variables to subsequent pages
168358 by: Chris Shiflett
Re: scalar value as array problem
168359 by: John W. Holmes
How to run PHP4 and PHP5 side-by-side
168360
I have only one advise for you: send yourself an email with the kanji
encoding and check the email headers with the headers you set.
Dave G wrote:
Thank you Edwin, Marek, and Eugene for your responses and
advice.
For storing the Japanese names in kanji in the database, I've
chang
hi,
do try this - "select * from my_table orer by rand() limit my_max_rows" like
"select * from questions order by rand() limit 5". works for me. i'm
surprised too. but if u still want to do it in PHP, do go ahead.
warm regards,
-shiva
"Scott" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PR
It is exactly what you need. And you can lower the sleep time, I think 1
or 2 seconds are just enough.
Glenn Gasner wrote:
The php.net documentation for the sleep and usleep functions has me
confused. I'm using shared hosting and I need to email my whole mailing
list while not clogging the share
Hello, works for me. As a workaround you can pass a random integer to te
RAND() function to be used as seed value.
Scott wrote:
Hello,
Below is a boiled-down example of the problem I'm having. I'm trying to
extract rows randomly from MySql, but I keep getting the same one. It
works if I query M
GoLive Gurus,
The problem has been resolved. I now understand much better how
"while" loops operate, and fixed the problem of the script not parsing.
I am now successfully making mailing lists using PHP.
While I was banging my head thinking there was something wrong
with how I was
68 matches
Mail list logo