On Fri, Jan 09, 2004 at 01:11:38PM +0800, Louie Miranda wrote:
>
> is there anyway of detecting flash? in php
Not really. But you're not completely out in the cold.
Note that PHP runs on the server, so any test you do has to be offloaded
to the client side. Use Javascript for this. Use MING t
Louie Miranda wrote:
is there anyway of detecting flash? in php
Detecting whether the user has Flash enabled, you mean? No. PHP is
server-side.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
is there anyway of detecting flash? in php
-- -
Louie Miranda
http://www.axishift.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
In article
<[EMAIL PROTECTED]>,
[EMAIL PROTECTED] says...
> I'm very new to PHP.
> I want to display /var/log/lastlog with php on a webpage, but I need
> some help. How do I do that?
> Looking at the docs it looks like file() would work, but I couldn't get
> it to display the file.
> Carlton.
>
Turbo wrote:
I use windows Xp,apache,php 4.3.4.I can recieve variable from form by
$_POST[''] (Short Term).But i can not recieve variable from form by
$HTTP_POST_VARS[''] (Long Term).Include other recieve variable (
GET,SESSION,COOKIE).
Yes you can. Let me use my crystal ball and guess that you
Hi
I use windows Xp,apache,php 4.3.4.I can recieve variable from form by
$_POST[''] (Short Term).But i can not recieve variable from form by
$HTTP_POST_VARS[''] (Long Term).Include other recieve variable (
GET,SESSION,COOKIE).
How to customize config?
Matrix
--
PHP General Mailing Lis
I currently have websites with two ISP's.
I am getting a lot of warnings throughout a .php script on one server - such
as:
php_hostconnect()
I have used the _same_ .php script exactly on my other ISP's server and I
don't get any warnings.
In addition, I have tested this script locally on Apache
use funciton rename
http://si2.php.net/manual/en/function.rename.php
rename($old,$new) or die("can't do that!");
"Matt Hedges" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Hello,
>
> thanks to ya'll I've gotten a picture uploaded... but now what I can't
> figure out how to do is
Alex Crivat wrote:
Hallo,
I;ve just installed php5 and found that overload() function does not
work. Actually it does not exist...I get this error :
Fatal error: Call to undefined function overload() in
/usr/share/pear/DB/DataObject.php on line 2889
Any ideas ?
10x
overload is the standard behavior
Can anyone clarify this for me? Is open_basedir recursive or restricted to
the exact paths specified?
--
Matt Grimm
"Matt Grimm" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> If my server has an open_basedir restriction in place for my home
directory,
> I understand that to mean
Robin Kopetzky wrote:
I'm trying to read using $_POST, 4 radio buttons named "miles". I tried
reading the selected value with $_POST['miles[0]'], etc. with no success.
I've even tried using foreach to read the selected radio button with no
success.
It's just $_POST['miles']. :)
--
---John Holmes.
Hello Robin,
Friday, January 9, 2004, 12:31:16 AM, you wrote:
RK> I'm trying to read using $_POST, 4 radio buttons named "miles". I tried
RK> reading the selected value with $_POST['miles[0]'], etc. with no success.
Radio buttons can only have 1 eventual outcome (hence the whole point
of them) a
Good evening.
I'm trying to read using $_POST, 4 radio buttons named "miles". I tried
reading the selected value with $_POST['miles[0]'], etc. with no success.
I've even tried using foreach to read the selected radio button with no
success.
Help!! I'm totally stumped with this one. I thought the
Nabil wrote:
HI,
Anyone can help , how to post variables from server side .. as from php page
to other without HTML form and submistion ???
i want post method , to post my vars to another php on another server , then
i have to read the body that will be printed by fopen ... so i can not use
Locati
On Thu, 2004-01-08 at 16:27, Carlton L. Whitmore wrote:
> I'm very new to PHP.
> I want to display /var/log/lastlog with php on a webpage, but I need
> some help. How do I do that?
> Looking at the docs it looks like file() would work, but I couldn't get
> it to display the file.
I would guess tha
Hello all,
I have a big problem with the mail function in a php script.
If I run this script with root access, the mail function is working.
If I try to run it like http://www.i-s-u.nl/test.php it won't work.
What is happening, what can I do???
Below the little script:
Thanks,
Rolf
I'm very new to PHP.
I want to display /var/log/lastlog with php on a webpage, but I need
some help. How do I do that?
Looking at the docs it looks like file() would work, but I couldn't get
it to display the file.
Carlton.
--- Matt Matijevich <[EMAIL PROTECTED]> wrote:
> [snip]
> Anyone can help , how to post variables from server side .. as from php
> page to other without HTML form and submistion ???
> [/snip]
>
> I have never used it but I think http://pear.php.net/package/HTTP_Client
> is what you want to look a
[snip]
Anyone can help , how to post variables from server side .. as from php
page
to other without HTML form and submistion ???
[/snip]
I have never used it but I think
http://pear.php.net/package/HTTP_Client is what you want to look at
--
PHP General Mailing List (http://www.php.net/)
To un
[snip]
any ideas?
[/snip]
Have you tried move_uploaded_file?
http://www.php.net/move_uploaded_file
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hello,
thanks to ya'll I've gotten a picture uploaded... but now what I can't
figure out how to do is rename it. I want to rename it something like
$id.extension... right now it is just showing up in the directory as the
original file... any ideas?
thanks
matt
--
PHP General Mailing List (h
HI,
Anyone can help , how to post variables from server side .. as from php page
to other without HTML form and submistion ???
i want post method , to post my vars to another php on another server , then
i have to read the body that will be printed by fopen ... so i can not use
Location:
example :
--- Børge Strand <[EMAIL PROTECTED]> wrote:
> I have a problem with html headers using sessions.
I think you mean HTTP headers.
> I guess it has to do with the Content-type line.
Yes, and you seem to have a fundamental misunderstanding between using PHP
as an Apache module versus using PHP as a
On Thu, 2004-01-08 at 14:14, BÃrge Strand wrote:
[snip]
> Do you have any ideas what I should do to make both .php and .cgi
> versions work?
> Here's test3.cgi:
> ==
> #! /usr/local/bin/php
> print 'Content-type: text/html' . "\n\n";
>
I have a problem with html headers using sessions. I guess it has to
do with the Content-type line. My ISP uses PHP 4.3.4 with
register_globals = On (although I want this to work with Off too).
My program (test3.cgi, test3.php) simply logs the number of times I
have accessed a web site. As a php
Hello Khoa,
On 8 Jan 2004 at 0:13, khoa vo wrote:
>
>
> Your name:
>
>
That's fine, but that's not what you have up on your web space. Your form is pointing
to
action.html, not action.php.
>
> #!/lusr/bin/php
> Hi .
Ok, you
If my server has an open_basedir restriction in place for my home directory,
I understand that to mean I can only open files in the same directory as
whatever script is currently running. Is that correct?
--
Matt Grimm
Web Developer
The Health TV Channel, Inc.
(a non - profit organization)
3820 L
php-general Digest 8 Jan 2004 19:57:13 - Issue 2519
Topics (messages 174034 through 174064):
Re: script/binary that tracks links through logs
174034 by: Mike Migurski
php on linux..
174035 by: khoa vo
174036 by: "Miguel J. Jiménez"
174043 by: Jay Blanchard
C
Hallo,
I;ve just installed php5 and found that overload() function does not
work. Actually it does not exist...I get this error :
Fatal error: Call to undefined function overload() in
/usr/share/pear/DB/DataObject.php on line 2889
Any ideas ?
10x
--
Alex Crivat
WWW: http://axu.rdsnet.ro
GPG:
You can't use variables inside single quotes, either.
This:
'/path/to/old.$today'
ought to be:
"/path/to/old.$today"
--
Matt Grimm
"Jas" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> I think I must be missing something but this command isn't renaming the
> file specified... Poi
Roger Spears wrote:
Try this:
system(rename('/path/to/new.sh', '/path/to/old.$today'));
Actually, it should be this:
rename('/path/to/new.sh', '/path/to/old.$today');
--
paperCrane
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi jason,
Quoting Jas <[EMAIL PROTECTED]>:
>
> system("rename('/path/to/new.sh', '/path/to/old.$today')");
>
I don't think this is correct syntax. Either use the php rename function like
rename('/path/to/new.sh', '/path/to/old.$today');
or if you want to use system then use
system ("rename '
Jas wrote:
> I think I must be missing something but this command isn't renaming the
> file specified... Pointers, tips appreciated!
>
> system("rename('/path/to/new.sh', '/path/to/old.$today')");
>
> /to directory has permissions set to current user and is also owned by
> the current user (test_
I think I must be missing something but this command isn't renaming the
file specified... Pointers, tips appreciated!
system("rename('/path/to/new.sh', '/path/to/old.$today')");
/to directory has permissions set to current user and is also owned by
the current user (test_user)... I can write f
$_SERVER['SCRIPT_NAME']
or
$_SERVER['PHP_SELF']
--
Matt Grimm
Web Developer
The Health TV Channel, Inc.
(a non - profit organization)
3820 Lake Otis Parkway
Anchorage, AK 99508
907.770.6200 ext. 686
907.336.6205 (fax)
E-mail: [EMAIL PROTECTED]
Web: www.healthtvchannel.org
"Louie Miranda" <[EMAIL
--- Gal <[EMAIL PROTECTED]> wrote:
> Header("Location: ./error.php?iErrorType=1");
Always use an absolute URL for the Location header.
Hope that helps.
Chris
=
Chris Shiflett - http://shiflett.org/
PHP Security Handbook
Coming mid-2004
HTTP Developer's Handbook
http://httphandboo
I prefer phpDocumentor
http://phpdocu.sourceforge.net/
---
Vincent Jansen
-Original Message-
From: Richard Davey [mailto:[EMAIL PROTECTED]
Sent: donderdag 8 januari 2004 16:44
To: Karam Chand
Cc: [EMAIL PROTECTED]
Subject: Re: [PHP] PHP code documentation tool
Hello Karam,
Thursday
[snip]
What is the best way to document such projects? How
you developers document your project?
[/snip]
GIYF
http://phpdocu.sourceforge.net/
http://www.epersonae.com/snapping/archives/000390.php
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub
Hello Karam,
Thursday, January 8, 2004, 3:41:36 PM, you wrote:
KC> Is there any tool like doc-o-matic for PHP or anybody
KC> developing something like that?
http://www.phpdoc.de/
--
Best regards,
Richardmailto:[EMAIL PROTECTED]
--
PHP General Mailing List (http:/
Hello
I recently got a fairly big project in PHP. Before
starting I would like to clear some doubts.
What is the best way to document such projects? How
you developers document your project?
For .NET etc. there are many documentation tools like
doc-o-matic etc.
Do we need to document the code b
On Thu, 2004-01-08 at 00:20, Peter Vertes wrote:
> Hello List,
>
> I've tried googling but couldn't come up with anything useful so
> I'm turning to the list. Could anyone send me a link to a tutorial on
> how to resize images with GD ? Thanks in advance...
FYI: Personally, I've found passi
On Thu, 2004-01-08 at 03:33, Andy Higgins wrote:
> Hello,
>
> I have a requirement to run two different sites that are in different time
> zones on the same machine. Does anyone know if this is possible to do by
> running two instances of php and making a change in the php.ini? Or do you
> have an
I would like to know if someone has already built an application where PHP
access a Progress database. I'm not into Progress, so I've been experiencin'
some issues on it's configuration with PHP, since PHP has no built-in
Progress connectivity (as MySQL, Sybase...).
I got some stuff about it on htt
Don't forget to use the '@' before the mysql function so it doesn't show
errors...
Example:
[EMAIL PROTECTED]("..");
-Original Message-
From: Gal [mailto:[EMAIL PROTECTED]
Sent: quinta-feira, 8 de Janeiro de 2004 14:11
To: [EMAIL PROTECTED]
Subject: [PHP] Re: Error redirect functio
if () // Ok
{
}
else{
Header("Location: ./error.php?iErrorType=1");
die();
}
Doug Parker wrote:
I have a message board script that requires certain parameters like
message_id, thread_id, etc. The whole thing works fine, I'd like to have a
generic error page to default to in the case that someo
I have a message board script that requires certain parameters like
message_id, thread_id, etc. The whole thing works fine, I'd like to have a
generic error page to default to in the case that someone fools with the
parameters above - for example, setting the thread id to 400 when there are
only 3
Where is your data stored? if you are using a DB surely using order by
would less painfull?
all the best
dareal hamsta wrote:
[ Please copy me off list. ]
Say I have 7 items of data and I wish to sort them into 3 columns in a
HTML table. The items are unevenly sized, so rather than print them
Hi,
According to my understanding HTTP_RAW_POST data is populated only if
PHP engine did not recognize the encoding of the post data. Since it
recognizes www-url-encoded and multipart/form-data pretty well you are
not likely to get much use out of it. However you can easily gain access
to raw
Hello Richard,
On 7 Jan 2004 at 21:02, Richard Kurth wrote:
> I can't seam to get this while loop to work properly. It should create
> a message that has the first two lines and then it will list all the
> domain that meat the criteria.
>
> $lines = "The following are web sites that are at 95%
[snip]
Your name:
#!/lusr/bin/php
Hi .
[/snip]
If you are using PHP with a browser page you do not need the bash line
(#!/lusr/bin/php) in the page. Place a page on the server that has the
following (no need for anything else) t
http://sourceforge.net/forum/message.php?msg_id=2361065
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Chris Hayes wrote:
It takes a lot more of users to tamper with POST data than with GET
Not a lot more. Simply save the slightly modified form
on a webserver you have access to (hidden field)
-- or better create php code that generate the form
OK, aunt Annie cant do that, but she wouldnt ever thougt
Hi,
Thursday, January 8, 2004, 6:33:45 PM, you wrote:
AH> Hello,
AH> I have a requirement to run two different sites that are in different time
AH> zones on the same machine. Does anyone know if this is possible to do by
AH> running two instances of php and making a change in the php.ini? Or do y
It is working But i can not always control php.ini on the host ..!!!
and i tried
ini_set("always_populate_raw_post_data" , "1");
but not working , and i had to chanhe in my local php.ini ...
Please Advice
>I want to get the POSTED data as it is without letting php to parse it.
You may be thinki
It is working But i can not always control php.ini on the host ..!!!
and i tried
ini_set("always_populate_raw_post_data" , "1");
but not working , and i had to chanhe in my local php.ini ...
Please Advice
"Mike Migurski" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> >I want to ge
Hello,
I have a requirement to run two different sites that are in different time
zones on the same machine. Does anyone know if this is possible to do by
running two instances of php and making a change in the php.ini? Or do you
have any other suggestions on how this can be done?
Thank you.
Reg
khoa vo wrote:
I am a newbie. I'm trying to write a php script and put it on the
linux server at school.
Your name:
#!/lusr/bin/php
Hi .
I did locate php to find the path where php is installed and i got
/lusr/bin/php.
inde
I am a newbie. I'm trying to write a php script and put it on the linux
server at school.
Your name:
#!/lusr/bin/php
Hi .
I did locate php to find the path where php is installed and i got
/lusr/bin/php.
index.html is working f
>does anyone know of a program/script that tracks incoming links from site
>that youve traded links with. but not a simple php script that requires
>the other site to link to www.mysite.com/links_in/12/ but some software
>that analyses apache access logs for the referer field. this would mean
>the
59 matches
Mail list logo