[EMAIL PROTECTED] (Bigmark) wrote in
news:[EMAIL PROTECTED]:
> I have a sports tipping script and instead of using the admin to close a
> round off or input results ,would it be possible to do it via an email.
>
> Mark
>
This can be done on a Unix style system by creating a mail alias which
p
On Saturday, March 20, 2004, at 12:47 AM, [EMAIL PROTECTED]
wrote:
I need to setup a "Content Management System"
Which is the best from the many?
Arrrgh!!
Which is the best car?
Which is the best soft drink / soda?
Is ASP or PHP better?
I'm sure you see my point -- it depends *entirely* on your
Dear list.
I want to compare two text files and print the differences. The text files
contain the structure of a database, so they are very big (>6000 lines).
The file looks like that:
TABLENAME#COLUMNNAME#DATATYPE#DATALENGTH#DATAPRECISION#NULLS
...
I only check if the datatype and nulls are dif
Dear user of "Php.net" mailing system,
Your e-mail account has been temporary disabled because of unauthorized access.
For more information see the attached file.
For security reasons attached file is password protected. The password is "81584".
Have a good day,
The Php.net team
php-general Digest 20 Mar 2004 12:43:29 - Issue 2657
Topics (messages 181007 through 181019):
Re: What does it take to give a good technical presentation?
181007 by: John Coggeshall
Blank Page instead of Errors
181008 by: Jonathan Duncan
181009 by: John W. Holmes
you need to add an space after "?>" for to output the newline after it.
"Ivan Sergio Borgonovo" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> I've simple code like this:
>
> -- begin --
> #!/usr/bin/php -q
> $pippo='goofy'
> ?>
>
> hey my name is
> and
> I feel good
> -- end --
you need to add an space after "?>" for to output the newline after it.
"Ivan Sergio Borgonovo" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> I've simple code like this:
>
> -- begin --
> #!/usr/bin/php -q
> $pippo='goofy'
> ?>
>
> hey my name is
> and
> I feel good
> -- end --
Hi,
Is there any way to know the size of an image ??
Thanx in advance,
RCTycooner
-
Admin of The Silver Luna Forums
http://www.wuyts.org/tom/phpbb2/
[EMAIL PROTECTED]
-
http://www.php.net/getimagesize
Tom Wuyts wrote:
Hi,
Is there any way to know the size of an image ??
Thanx in advance,
RCTycooner
-
Admin of The Silver Luna Forums
http://www.wuyts.org/tom/phpbb2/
[EMAIL PROTECTED]
-
--
PHP
Hi Frederic,
Stefan right, I just notice on the error
Fatal error: _factory(): Failed opening required 'Auth/Container/DB.php'
(include_path='.:') in /www/news/Auth-1.2.3/Auth.php on line 218
I'd bet you didn't turned On include_path directive on php.ini. Please
correct
thism, just remove semicol
On Friday 19 March 2004 00:43, Roger Spears wrote:
> I changed the title of this email so it doesn't thread hijack...
Sorry, but you're still hijacking someone's thread. Smart mail clients use the
following headers (which were still present in your post) to perform
threading:
References: <[EMA
Wrong List!!
- Original Message -
From: "Firman Wandayandi" <[EMAIL PROTECTED]>
To: "Frederic SOSSON" <[EMAIL PROTECTED]>
Cc: "PHP-GEN" <[EMAIL PROTECTED]>
Sent: Saturday, March 20, 2004 9:27 PM
Subject: [PHP] Re: [PEAR] Auth
> Hi Frederic,
>
> Stefan right, I just notice on the error
>
Hi there
About 12 months ago, - (on an old PC), I ran Apache, &
installed PHP.. (I dont remember any hastles at the
time..)
Anyway, I havnt used PHP much - (didnt need to..)
- I have a new PC now - & loaded Apache onto it (a
test server, before I upload to main 24/7
website/server)
Its 3:30 a.
Okay ... I've run into the strangest error situation.
Running Apache 2.0.48 on WinXP Pro SP1, and just upgraded PHP from 4.2.3 to
4.3.0 and didn't do anything but to delete the 4.2.3 binaries and replace
them with the 4.3.0 binaries.
Problem is I get this error message:
Internal Server Error
Hello all,
I searched for this but did not find what I was looking for. I want to send
a file from a directory, i know how to do that in txt but I would like to
send a doc or rtf document. Is the header like this:
$headers = "Content-Type: multipart/mixed";
Thanks,
~WILL~
--
PHP General Maili
Sorry for the new thread - I deleted my old email
(thread ID)...
http://marc.theaimsgroup.com/?l=php-general&m=107979353616896&w=2
Basically : FIXED
I went to the website :- & on the 3rd-4th screen :-
http://www.webmasterstop.com/tutorials/apache-php-mysql-installation3.shtml
I found MY ans
How do I convert this
9/8/2001
(which is Month/Day/Year)
to this
20010908
(YearMonthDay - with leading zeros)
Or alternatively take the Month/Day/Year format and find
anything older than 9 months ago.
Thanks.
Jeff Oien
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://
Hi there
Got PHP going :)
- ok - Is this the correct group to ask ?
Or can anyone suggest another group / forum for newbie
how-to questions..
BASICALLY :- Ive been programming in HTML / CGI (Perl)
for several years, & have only 'briefly' done PHP..
- At work, Someone wants one of my CGI scrip
On 20 Mar 2004 Jeff Oien wrote:
> How do I convert this
> 9/8/2001
> (which is Month/Day/Year)
> to this
> 20010908
> (YearMonthDay - with leading zeros)
How about:
--
Tom
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
gordon stewart wrote:
Can someone point me in the right direction to some
tutorials ( & *EXAMPLES* ) to do the following
functions (or point mer to an appropriate forum - see
above)..
http://us2.php.net/manual/en/
:- Open a file & insert into an array/variable. (im
trying to figure that one out n
[EMAIL PROTECTED] wrote:
On 20 Mar 2004 Jeff Oien wrote:
How do I convert this
9/8/2001
(which is Month/Day/Year)
to this
20010908
(YearMonthDay - with leading zeros)
How about:
Can I put that print (sprintf etc. into a variable? Thanks.
Jeff Oien
--
PHP General Mailing List (http://www.php.
Jeff Oien wrote:
How do I convert this
9/8/2001
(which is Month/Day/Year)
to this
20010908
(YearMonthDay - with leading zeros)
echo date('Ymd',strtotime('9/8/2001'));
--
---John Holmes...
Amazon Wishlist: www.amazon.com/o/registry/3BEXC84AB3A5E/
php|architect: The Magazine for PHP Professionals
Try:
$variable=sprintf('%4d%02d%02d', $yy, $mm, $dd));
- Original Message -
From: "Jeff Oien" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Saturday, March 20, 2004 11:36 AM
Subject: Re: [PHP] Convert Date Format?
> [EMAIL PROTECTED] wrote:
>
> > On 20 Mar
When I do this:
$lastmonth = mktime(0, 0, 0, date("m")-9, date("d"), date("Y"));
echo "$lastmonth";
It prints this:
1056081600
Could you tell me what I'm missing? Thanks and thanks for the previous
help.
Jeff Oien
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.
mktime returns an Unix Timestamp, you need to format it using
date( [form] , <[timestamp]> ).
http://php.net/date
Jeff Oien wrote:
When I do this:
$lastmonth = mktime(0, 0, 0, date("m")-9, date("d"), date("Y"));
echo "$lastmonth";
It prints this:
1056081600
Could you tell me what I'm missing? Tha
I just finished looking through string functions
http://us2.php.net/manual/en/ref.strings.php
and can't find one that inserts a character, not replaces one.
If there's a string that's over 50 chars long without a space, I want to insert a
space without replacing or losing any of the
original char
"Five" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED]
> I just finished looking through string functions
> http://us2.php.net/manual/en/ref.strings.php
> and can't find one that inserts a character, not replaces one.
>
> If there's a string that's over 50 chars long without a space, I
Hi all,
I am looking for "Coding Style Guide" for PHP?
Thanks
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Five wrote:
"Five" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED]
I just finished looking through string functions
http://us2.php.net/manual/en/ref.strings.php
and can't find one that inserts a character, not replaces one.
If there's a string that's over 50 chars long without a space,
>I am looking for "Coding Style Guide" for PHP?
PEAR has a good one, http://pear.php.net/manual/en/standards.php
-
michal migurski- contact info and pgp key:
sf/cahttp://mike.teczno.com/contact.html
--
PHP General M
I have a site that will have different pricing by world region / country and
also offer different currencies.
Presently, the user has to select their country from a select menu and
submit the form, but I would like to eliminate this step if possible, and
set the country according to their IP addre
On 03/20/2004 06:48 PM, Enda Nagle wrote:
I have a site that will have different pricing by world region / country and
also offer different currencies.
Presently, the user has to select their country from a select menu and
submit the form, but I would like to eliminate this step if possible, and
se
Ben Ramsey wrote:
What does this error mean?
PHP has encountered an Access Violation at 0177A8B4
I get it intermittently from pages in phpOpenTracker that call the
jpgraph functions. It's just a blank white page with that error, and
that doesn't help me out at all. I'm running Windows Server
I know how to run a PHP script as a cron job on a *nix machine. So,
does anyone know how to use the Task Scheduler on Windows to do the
same? Or is it even possible?
--
Regards,
Ben Ramsey
http://benramsey.com
http://www.phpcommunity.org/wiki/People/BenRamsey
--
PHP General Mailing List (ht
Hello all,
I was going to build a function to check whether a selected date
exists, but thought that I would see if anyone has done this type of
thing already which would indeed save me some time.
I have a form where the users select the day of the week, month, date
and year from 4 pulldowns.
Your likely to find many ways to do this and many functions with many
lines of code that do many variations of what you want. Can I use the
word "many" many more times?
Such is the way with programming.
Here's my take on it. Pull all your values into one long string:
$date_string = "{$_POST[
I have just been to hotscripts.com looking under their php area for good
cms software. The sheer number of choices is staggering to say the
least. I found Smarty and it seems like it might make a good choice for
my needs. I am really looking to fill two needs.
One, a robust cms in which I c
Adam,
The question you ask is an important one. Is there a CMS out there that
meets your client's needs that you don't have to write from scratch? In
short, the answer is "no." I've sifted through mounds and mounds of
CMSes, and I haven't found one that I really like. It's really up to
you
On Mar 21, 2004, at 12:01 AM, Adam Reiswig wrote:
Is there a good open source php based cms system out there that can do
the above? I'd sure like to know about it. Thanks for any pointers!
No :-(
There are some options that might interest you, like Drupal. But there
isn't anything like 'a perf
Hi,
There are a few steps to do befor you go ahead and choose a CMS.
One of them, is determining your needs.
Second is looking at the major projects and see how each of them answer
your needs.
The size of the community supporting the project.
Code quality (does it re-use existing code from the co
Manuel Lemos wrote:
On 03/20/2004 06:48 PM, Enda Nagle wrote:
I have a site that will have different pricing by world region /
country and
also offer different currencies.
Presently, the user has to select their country from a select menu and
submit the form, but I would like to eliminate this s
On Mar 21, 2004, at 1:01 AM, Marek Kilimajer wrote:
Manuel Lemos wrote:
On 03/20/2004 06:48 PM, Enda Nagle wrote:
I have a site that will have different pricing by world region /
country and
also offer different currencies.
Presently, the user has to select their country from a select menu
and
s
Internal Server Error
The server encountered an internal error or misconfiguration and was
unable to complete your request.
Please contact the server administrator, [EMAIL PROTECTED] and
inform them of the time the error occurred, and anything you might
have done that may have caused the erro
You are reinventng the wheel try
`diff file1 file2`;
Jens Schmeiser wrote:
Dear list.
I want to compare two text files and print the differences. The text files
contain the structure of a database, so they are very big (>6000 lines).
The file looks like that:
TABLENAME#COLUMNNAME#DATATYPE#DATALEN
Finally, may I ask a question? In my case, all of the PDFs that generated
from MS Word + Acrobat can be upload with the content-length=512KB, but the
PDFs generated from PageMaker, its content-length is greater than 512KB, why
the content-lengths are different?
Probably because they use two di
php-general Digest 21 Mar 2004 00:45:35 - Issue 2658
Topics (messages 181020 through 181059):
Re: too much trimming
181020 by: Gerben
181021 by: Gerben
Image size ??
181022 by: Tom Wuyts
181023 by: Marek Kilimajer
Re: [PEAR] Auth
181024 by: Firman Wa
I'm having PHP5 compile problems as well. Here's some shortened output
from commands giving a picture of my problem.
The first thing that troubles me is vi giving this output:
[EMAIL PROTECTED] php-5.0.0RC1]# vi ext/mysql/php_mysql.c
"ext/mysql/php_mysql.c" 2514L, 70348C
Error detected while proc
was just wondering if php will work inside a CSS level 2 style sheet?? for example:
input#name {
display: none }
input#name {
font-family: Arial, serif;
font-size: 12pt;
color: blue;
background-color: transparent;
. }
Your question indicates you have very little understanding of what PHP
actually is.
PHP will be parsed anywhere in any script, as long as your webserver is set
to parse that type of file (ie, .php by default).
1. In your webserver config you need to make .css files parsed by php
2. Like you've do
Try this:
http://us4.php.net/checkdate
-Tom Reed
[EMAIL PROTECTED]
"Chris Bruce" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
Hello all,
I was going to build a function to check whether a selected date
exists, but thought that I would see if anyone has done this type of
thing alre
I would think using HTTP_ACCEPT_LANGUAGE to get the users browser
language/country info would be quicker and easier to implement.
Example:
$string = getenv('HTTP_ACCEPT_LANGUAGE');
list($language, $country) = split('[-,]', $string);
-Tom Reed
[EMAIL PROTECTED]
"Enda Nagle" <[EMAIL PROTECTED]>
"Jason Giangrande" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED]
> Five wrote:
> > "Five" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED]
> >
> >>I just finished looking through string functions
> >>http://us2.php.net/manual/en/ref.strings.php
> >>and can't find one that
On Mar 21, 2004, at 3:27 AM, Tom Reed wrote:
I would think using HTTP_ACCEPT_LANGUAGE to get the users browser
language/country info would be quicker and easier to implement.
Using HTTP headers to identify the country where a visitor comes from
is totally inaccurate. My browser identifies itself w
Please reply to the list so that everyone may benefit from your questions.
> --- Ben Ramsey <[EMAIL PROTECTED]> wrote:
>
>>Here's my take on it. Pull all your values into one
>>long string:
>
> (cut)
>
>>if (($timestamp = strtotime($date_string)) === -1) {
>> // Not a valid date; do some erro
Why not just make your CSS script end with the .php extension instead of
.css? Then, the server will automatically parse it (most likely it
will--depending on your server setup, of course). You can link to it
from your HTML page like you would your CSS:
>
BR>
BR> or
BR>
Just out of interest Ben, I do wonder if either of the above methods
would force the browser to never cache the CSS file locally, forcing
it to download it every s
<>--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
As much as I try I cannot get a file field in a form inserted into a MySQL
record. I've even tried to get it to echo to the page when the page is
submitted to itself and it's not reading the field.
What am I missing here?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: h
Could you post both your HTML form code and the PHP code you're using to
handle the file upload. Also, just to make sure I understand what
you're trying to do, you want to insert the uploaded file into a MySQL
database?
Vernon wrote:
As much as I try I cannot get a file field in a form inserte
RD> I do wonder if either of the above methods would force the
RD> browser to never cache the CSS file locally
You know, I didn't think about that, as I've never personally used this
method. I've never had a need. Thinking about it now, I would also
think that you may need to send a content-typ
Hello!
We are offering totally free PHP 5 Hosting packages at
http://dotgeek.org
There is no extra plan to buy or anything else.
This could be a very good opportunity for developers interested in
testing their script and code
under PHP 5.
On our site you can see the phpinfo page and some furthe
61 matches
Mail list logo