On 09-Sep-2001 Dana Holt wrote:
I have a query that uses a LEFT JOIN, but the two tables have some columns
with the same name. How can I tell the columns from each table apart? It
seems that the joined table overwrites the values from the other table.
If the column is part of the join
I can't seem to do any system(), exec(), passthru(), etc on my windows
system..
I've tried doing command /c command...
Its showing
Warning: Unable to fork [command /c net] in c:\phpdev3\www\net.php on line 2
- James ReDucTor Mitchell
--
PHP General Mailing List (http://www.php.net/)
Hi,
I'm using homesite 4.5.1 and I've not had the problem you describe.
However, since I use a remote server, when I have a php page up, and go to
design view, funny things do happen. I just don't go there anymore.
Hugh
- Original Message -
From: Andonny [EMAIL PROTECTED]
To: [EMAIL
On php.net I found this:
When you use REMOTE_ADDR for getting the IP of the current user, sometimes
you get the IP of the ISP Cache server.
When this happens, the HTTP_X_FORWARDED_FOR is also set, it contains the IP
of the user.
[...]
Note that the X-Forwarded for header might contain multiple
The session handling of php seems not to work very well on my computer:
if session.gc_probability is set to a value smaler 35, it never executes my
gabarage_collection-function. When it is bigger than 35, it's executed every
time.
I'm using W2K and php 4.02? Does anybody knows the reason for
I think my question could be restated to: What characters are potentially
lethal in user input. I can do the regex. But don't know what to parse out
of the strings.
would removing \ / . do the trick?
Why whould you want to strip things? Check if the input meets a certain
requirement..
Hi!
Please help me.
Warning: socket_set_timeout() is not supported in this PHP build in .
Can I use function socket_set_timeout() on win32?
In documentation is not any comment about availability on win32.
I am finding informations about long time, but unsuccessful :(
Thanks you for any
Can anyone tell me of a good tutorial on configuring mysql on win98, or explain what
steps should I take in order to make it work. I have downloaded win. version of
mysql and installed it. How am I suposed to access mysql databases from php script,
and is there any need to configure my server
Yep,
As far as I know, it's not recommended by Allaire themselves to use Design
mode with PHP/ASP unless you want it to muck around with your code, only for
pure HTML.
Bye, John
Hugh Danaher [EMAIL PROTECTED] wrote in message
On Sunday 09 September 2001 04:46, Kevin wrote:
I think my question could be restated to: What characters are
potentially lethal in user input. I can do the regex. But don't know
what to parse out of the strings.
would removing \ / . do the trick?
You mean http://php.net/addslashes I
Ok im making grafiti board but i need to know a few things (you dont need to reply to
this one)
a) how do i make php write to the top of a text document?
b) how do i make a table with a scroll bar in?
c) are you mad at me for doing this post?
d) does anyone know the code for changing the
Hello to All,
I have a problem. I had a multiple form the result is stored in a MySQ
L table...
and i had no problem with this
The result in form is stored like this :
option1|option2|option3etc
i used implode function.
But how to make in other way ! I mean to get result
hello!
option1|option2|option3etc
i used implode function.
But how to make in other way ! I mean to get result from Mysql and form to s
elect it
I use this and i have an array ... but what next ?
$wyp = explode(|, $wyposazenie);
I haven't used explode for a while, but I
Hi all,
is it possible to create a table that automatically
updates its contents every 30 seconds?
Thanks in advance,
Kostis Mentzelos.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the
Ok, this isn't exactly PHP, more HTML, but I am not on any other mailing
lists that contain Web Developers, but what I am after is Designs/Layouts
for websites...So if anyone has some, or knows some good sites to get some..
BTW, I am after free ones, i don't want to have to pay for them..
Kostis Mentzelos [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
is it possible to create a table that automatically
updates its contents every 30 seconds?
I would use JavaScript to make the page reload itself.
Note: this could generate a LOT of traffic.
--
You could use cron...
- Original Message -
From: Kostis Mentzelos [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, September 10, 2001 12:50 AM
Subject: [PHP] new to php
Hi all,
is it possible to create a table that automatically
updates its contents every 30 seconds?
Thanks
I was thinking, you know how they have those millionth customer things in shops,
course ya do
Well, i have a simple counter on my site and i was wondering if i could do the same
thing, like everytime you go on there if the counter is a multiple of 500 you get to
have your site as a pop up for
is it possible to create a table that automatically
updates its contents every 30 seconds?
I would use JavaScript to make the page reload itself.
Note: this could generate a LOT of traffic.
Yeah.. just until someone has javascript disabled. A meta tag refresh would
do a better job..
Ok, this isn't exactly PHP, more HTML, but I am not on any other mailing
lists that contain Web Developers, but what I am after is Designs/Layouts
for websites...So if anyone has some, or knows some good sites to get some..
Ever considered using a search engine?
Just found
You could use cron...
Perhaps you've got another version of cron then I've got.. mine doesn't do
less then one minute..
Only solution if you want to use cron is to add something like sleep..
Have to warn you, your ISP is going to hate you for this.
If you want your visitor to see the new
Hi,
I am using PHP script for a mailing list application. Is there a way to
track the no of users opened the email. All the images in this html email
are read from the server. In that manner can we call a script from the
email that can be used to store the no of counts. If anybody has got any
like everytime you go on there if the counter is a multiple of 500 you get
to have your site as a pop up for a week or so, well is this possible and
if yes, can anybody give me some pointer?!!?
Use your own script and add more then one for each visit :-)
Uhm, your not going to ask money from
Ya, but FreeWebTemplates is down 4 coz of a hack, and all other ones it
leads to(except templates.ws), which is why i am after other ones
- James ReDucTor Mitchell
- Original Message -
From: B. van Ouwerkerk [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, September 10,
You could use something like this
?php
$pageif = ads.php;
$count = 500;
$countfile = file(counter.txt);
$count = $countfile[0];
$fp = fopen(counter.txt, w);
fwrite($fp, $count);
fclose($fp);
$temp = $count / $count;
if(!is_float($temp))
echo scriptwindow.open('.$pageif.');/script\n; // my js
I have a website URL www.body-builders.org and users have URLs
like www.body-builders.org/user According to the virtual hosting
rules I can do any configuration tweaks by .htaccess file.
What I want to do is to offer my users URLs like users.body-
builders.org Is it possible to do with rewrite
Hewwo,
When selecting a value from a combobox, I always have a link that allows
adding a record to the table the combobox pulls it's data from. Here is my
problem:
Is it possible in any way to window.open() a popup window (JavaScript), fill
in a record, add it to the database (PHP) and then
I got a couple of URLs
http://www.uidesign.net/ Not sure whats there but I bookmarked it
http://www.guistuff.com/ This site is REALLY REALLY good... it contains lots
of free templates in many different formats to allow easy use
Hope these help
Andrew
- Original Message -
From: ReDucTor
So sprach »Fotwun« am 2001-09-06 um 16:16:25 -0700 :
Hi,
I need to send a broadcast email to our customers (about 3,000 emails). The
Well, forget it. Many major providers like Yahoo, AOL, Hotmail etc.pp.
have *VERY* SPAM strict filters in place. Especially if you use Bcc:'s,
chances are
Subdomains are first a DNS issue... The first place you have to go is
your DNS config, since users.body-builders.org wouldn't exist without an
A or CNAME record.
I don't know if mod_rewrite can do anything about the subdomains like
that, if it can't, you will have to add VirtualHost directives
Subdomains are first a DNS issue... The first place you have to go is
your DNS config, since users.body-builders.org wouldn't exist without
an A or CNAME record.
My subdomains do not have DNSs =(( and I'm not sure if I can
change this issue with .htaccess
I don't know if mod_rewrite can
How about http://wasarrested.com? IO don't know how they do it, but you
can enter whatever subdomain you want and it reflecst it on the weppage.
Example http://bill.clinton.wasarrested.com or youri.wasarrested.com.
Felix
-Original Message-
From: BRACK [mailto:[EMAIL PROTECTED]]
Sent:
php-general Digest 9 Sep 2001 18:56:01 - Issue 866
Topics (messages 66587 through 66620):
Re: Homesite php
66587 by: Hugh Danaher
66594 by: John Lim
HTTP_X_FORWARDED_FOR
66588 by: Tobias Strauß
session.gc_probability
66589 by: Tobias Strauß
Re: Sterilize
Good point, felix...
I didn't even think of catch-all DNS domains... I don't know how to set
them up, but I'm sure with a catch-all and mod_rewrite, you can
accomplish something useful.
Check google for catch all dns or something of the like.
--Matt
-Original Message-
From: Felix
There isn't any difference, if your php.ini settings allow it
(short_tags, I believe), you can use ? instead of ?php
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Sunday, September 09, 2001 2:43 PM
To: [EMAIL PROTECTED]
Subject: [PHP] difference between
right... i didnt understand a word of that, anyway could you answer the
question please?
Uhm.. You don't understand it?? Then.. oh well.. never mind.
If you've got a counter which adds 1 for each visit just make it add 50 or
100 or as many as you like.
Lots of counters in the world.. I'll
The problem comes if you use php to generate xml documents in xml you
use the tag ?xml.. if php is setup to handle ? then it takes that then
throws a parse error as it attempts to read the xml bit.
Simplest solution if you are using php to generate xml tags is to always use
php to generate
Well, forget it. Many major providers like Yahoo, AOL, Hotmail etc.pp.
have *VERY* SPAM strict filters in place. Especially if you use Bcc:'s,
chances are high that a lot of your will bounce.
If you'll be doing something like this more often, it'll be a lot easier
and a lot more successful if
NO!! im saying when the counter gets to 500, 1000, 1500 etc it redirects you
to a page which you type in your information and you get a pop up on my site
for the week! Kapesh?
Be happy!
-lk6-
http://www.StupeedStudios.f2s.com
Home of the burning lego man!
ICQ: 115852509
MSN: [EMAIL PROTECTED]
It is an operator in PHP: %
ie. echo 3 % 2;
-Rasmus
On Sat, 8 Sep 2001, Ville Mattila wrote:
Eli jakojäännös (modulo) lasku. PHP:ssä voi tulla ongelmia oikeiden vastausten kanssa,
kun se muuttelee muuttujatyyppiä tarvittaessa. Eli kokonaisluvuista reaaleja jne.
Kannattaa tarkistaa, ennen
Hi!
So...
A)
?php
define(INPUT_FILE, test.abc); //Input file
$if = fopen(INPUT_FILE, r) or Die(); //Open the input file
$of = fopen(INPUT_FILE..$$$, w) or Die(); //Open temporary file
FPutS($of, $yourdata); //Write data first
while (!FEof($if)) //Then...
NO!! im saying when the counter gets to 500, 1000, 1500 etc it redirects you
to a page which you type in your information and you get a pop up on my
site for the week! Kapesh?
You should have made clear what you wanted to do in the first place. Not in
a sentence one should read 5 times to
Just noticed a strange problem with one of my business servers. It's
configured identically (afaik) to all of my other servers (which do not
exhibit this behavior), with Apache 1.3.20 and PHP 4.0.6, running on Linux
Mandrake 7.2.
The problem occurs only when requesting PHP documents. Say, for
I don't want to ask all these silly questions constantly time, but being
lazy overcomes the urge not to do so.
Having a page somethin/somewhere/index.php?do=thisand=that. This page
does some updating and database queries. Hitting the reload button makes
these things happen again (obviously). My
On Monday 10 September 2001 05:51, ReDucTor wrote:
Ok, this isn't exactly PHP, more HTML, but I am not on any other mailing
lists that contain Web Developers, but what I am after is Designs/Layouts
for websites...So if anyone has some, or knows some good sites to get
some..
BTW, I am after
On the hosting provider, HTTPS connections don't work. But,
I'm told the command-line version of curl does work.
That'd probably be because they didn't install the HTTPS-able
version of cURL. Check out curl.haxx.se for more info.
Jason
--
PHP General Mailing List (http://www.php.net/)
To
I would like to know why PHP adds slashes to the double quote,
single quote, and backslash characters when submitting a form.
In particular it would be nice if the PHP manual or some other
manual mentioned this but I could not find any official
documentation on this issue. Why does PHP add
This is standard PATH_INFO behaviour. I don't really see a DoS issue
here. Use piped logs or something and teach your logging system not to
log these if you have an issue with it. DoS from filling log files isn't
something we can do much about.
-Rasmus
Just noticed a strange problem with
Hello ,
I'm afraid that I have the mail() is not supported in this PHP build
problem. I have serached the archives to find an answer to this
problem, but can only find others with the same problem and no
solutions.
Please let me know how this can be fixed, it is a MAJOR headache !
--
Best
On Sun, 9 Sep 2001 13:34, Dana Holt wrote:
I have a query that uses a LEFT JOIN, but the two tables have some
columns with the same name. How can I tell the columns from each table
apart? It seems that the joined table overwrites the values from the
other table.
Anyone know?
Thanks.
--
Jon Thompson Coon [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
I don't want to ask all these silly questions constantly time, but being
lazy overcomes the urge not to do so.
Having a page somethin/somewhere/index.php?do=thisand=that. This page
does some
Hi Rasmus!
Thanks for your explanation. Unfortunately I am using a server on which I
do not have write access to php.ini. I have also been noticing that
a submitted \ is received as when I use stripslashes() thus
stripslashes() is not a totally safe alternative. Is there a
way that I can
Like all other PHP config directives you can set it in your .htaccess file
using:
php_value magic_quotes_gpc off
And you are wrong on the \ part. If magic_quotes_gpc is on and you
submit a string that contains \ then it will be escaped to \\\ and a
StripSlashes() will turn it back into \
Like all other PHP config directives you can set it in your
.htaccess file using:
php_value magic_quotes_gpc off
And you are wrong on the \ part. If magic_quotes_gpc is on and you
submit a string that contains \ then it will be escaped to \\\ and a
StripSlashes() will turn it back
On Sun, 9 Sep 2001, Rasmus Lerdorf wrote:
Like all other PHP config directives you can set it in your .htaccess file
using:
php_value magic_quotes_gpc off
Thank you so much for pointing yet another useful piece of information.
Sorry to bother you with one last question but while I run
Hi,
I've been trying to figure this thing out for 3 hours now. Lets say we have
a variable $x. Now I need to assign $x with similar output that comes from
an include function.
For anyone who did not understand me -- Instead of the stupid include()
function outputing the file contents to the
Hi folks,
I've just downloaded, configured and installed OpenLDAP from
www.openldap.org. Now I have to recompile PHP to support it,
which is proving interesting.
http://www.php.net/manual/en/install.configure.php says to
use --with-ldap[=DIR], where The parameter is the LDAP base
install
On Mon, 10 Sep 2001 12:18, Jason Murray wrote:
Hi folks,
I've just downloaded, configured and installed OpenLDAP from
www.openldap.org. Now I have to recompile PHP to support it,
which is proving interesting.
http://www.php.net/manual/en/install.configure.php says to
use
Hi,
I've been trying to figure this thing out for 3 hours now. Lets say we
have
a variable $x. Now I need to assign $x with similar output that comes from
an include function.
For anyone who did not understand me -- Instead of the stupid include()
function outputing the file contents to
file() probably won't do it, unless you call an http:// file request to
your webserver - PHP won't execute other PHP code in another file when
pulled in thru file().
What you are looking for is most likely output buffering.
Read up on ob_start at php.net/ob_start. Basically turn output
Hey all,
Ive got a bit of a curly one I haven't been able to work out yet... Here is
the scenareo
I have a GSM Modem sitting on the serial port of a FreeBSD 4.0 box. It has
some software running which basically conrols the GSM modem.
When I use it command line, I issue it the command and
Hi All
Does anyone know is there any web base email system which is written in
PHP?
thanks.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL
www.hotscripts.com
www.sourceforge.net
both of them have some..
Squirrell is one I can think of in particular.
Brad C.
-Original Message-
From: Sall Him [mailto:[EMAIL PROTECTED]]
Sent: Sunday, September 09, 2001 11:18 PM
To: [EMAIL PROTECTED]
Subject: [PHP] PHP Web Base Email
Hi
I am a newbie and having some problems with a function I found in a script:
while(list($key,list($tag,$data))=each($array))
From what I have read of list(), what I assume is happening here is that its
takeing a 2 dimensional array and assigning the key value pairs accordingly,
so that I can
Oh... I am looking for something like hotmail, yahoo mail, but they are
not written by PHP, I want some ready to use web base email done by PHP
Brad R. C. wrote:
www.hotscripts.com
www.sourceforge.net
both of them have some..
Squirrell is one I can think of in particular.
Brad C.
Ok,
Let me explain my situation...
I am trying to make an autoresponder, I want to make it in PHP, I am using
qmail, so in PHP what i was hoping to do was read STDIN, and put in my
.qmail the path to php, then the script, but I don't know where php is
located on the server(not my server,
On Mon, 10 Sep 2001 12:57, Chris Aitken wrote:
Hey all,
Ive got a bit of a curly one I haven't been able to work out yet...
Here is the scenareo
I have a GSM Modem sitting on the serial port of a FreeBSD 4.0 box. It
has some software running which basically conrols the GSM modem.
Hi,
Anyone interested in exchanging services, you could
provide hosting to me and i could program for you ?
Do You Yahoo!?
Send a newsletter, share photos files, conduct polls, organize chat events. Visit
http://in/ groups.yahoo.com
i think a great load of people here, want to do there own programming :D
after all this is the place for programming... :D
- James ReDucTor Mitchell
- Original Message -
From: Natasha [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, September 10, 2001 2:49 PM
Subject: [PHP]
Thanks robin, this is very useful!
Robin Vickery wrote:
[EMAIL PROTECTED] (Mike Gifford) writes:
Hello,
I'm trying to replace a couple of lines of code:
$dotpos = 1 - (strlen($userfile_name) - strpos($userfile_name, '.'));
$extension = substr($userfile_name, $dotpos);
with a
Thanks..
_lallous wrote:
?
$str = /home/mike/test.txt;
if (preg_match(/[^\.]+$/, $str, $matches))
$ext = $matches[0];
else
$ext = no extension;
echo extension=$ext;
?
Mike Gifford [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
Hello,
I'm trying
On Mon, 10 Sep 2001, Mike Gifford wrote:
Thanks robin, this is very useful!
yep, although pathinfo() is much easier:
$extension = pathinfo($userfile_name, PATHINFO_EXTENSION);
-Sterling
Robin Vickery wrote:
[EMAIL PROTECTED] (Mike Gifford) writes:
Hello,
I'm trying to
Sall Him wrote:
Does anyone know is there any web base email system which is written in
PHP?
Horde/IMP (http://www.horde.org)
--
H | Life is the art of drawing without an eraser. - John Gardner
+
Ashley M.
So sprach »Neil Zanella« am 2001-09-09 um 23:20:12 -0230 :
Hi Rasmus!
Thanks for your explanation. Unfortunately I am using a server on which I
do not have write access to php.ini. I have also been noticing that
No need to; if you're allowed to, you can create a .htaccess.
a submitted \
You received this email because you are in our database.
To unsubscribe please see below. Thank you.
**
The VIDEO BEAT! -- No 1. September 10, 2001
Welcome to The VIDEO BEAT!
We specialize in rare 1950s 1960s
75 matches
Mail list logo