Hello friends.
I need to control the users viewing from one location so that when I change the URL
string in a text file, the viewers page which has a timer automatically reads the URL
on the text pages and goes to that page.
Updating the textfile is ok. But below is the script onthe page which
is this a dangerous feature ?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
At 04:55 23.03.2003, Dan Rossi said:
[snip]
>hi guys , i am sure this worked on an earlier version of php,
>
>
>'NOT_ALLOWED_EXTENSION' => "Not Allowed File Extension, the following
>filetypes are allowed : ($this->type)\n", this is inside an array
>
>then i
hi guys..i wanna make an automatic newsleter; meanings there is no page to force the
newsletter to be sent..i wanna server to handle this
any ideas???
-
Do you Yahoo!?
Yahoo! Platinum - Watch CBS' NCAA March Madness, live on your desktop!
cron job it , and execute the script using the command line php
-Original Message-
From: fr r [mailto:[EMAIL PROTECTED]
Sent: Sunday, March 23, 2003 9:36 PM
To: [EMAIL PROTECTED]
Subject: [PHP] automatic newsletter
hi guys..i wanna make an automatic newsleter; meanings there is no page
Hi everyone,
FIRST THANKX FOR ANY HELP !!
and THANKX FOR READING :)
I'm a reall newbie on PHP and i'm build a php app to connect into a mysql
database.. but i cannot select the database
i have build the database, and created a user
with :
create database mydatabase;
use mydatabase;
create tb_u
Hi,
Sunday, March 23, 2003, 1:26:04 PM, you wrote:
MA> Hi everyone,
MA> FIRST THANKX FOR ANY HELP !!
MA> and THANKX FOR READING :)
MA> I'm a reall newbie on PHP and i'm build a php app to connect into a mysql
MA> database.. but i cannot select the database
MA> i have build the database, and cr
Cuando ejecuto el comando make me genera el siguiente error:
Zend/zend_execute.lo: file not recognized:File trycated
Collect2: ld returned 1 exit status
make ***[libphp4.la] Error 1
Esto ocurre siempre que ejecuto ./configure con la pocion.
--with-apxs=/usr/sbin/apxs
La version de PHP es.: PHP 4.
Thankx a million Tom,
I used .mysql_error() and i found it right away.
Actualy i have a config.php file with the mysql user information and i was
forgeting to do a include("config.php"); before i used mysql.
Really stupid error.
Thankx again.
Miguel Angelo
> Hi,
>
> Sunday, March 23, 2003, 1:2
php-general Digest 23 Mar 2003 13:56:11 - Issue 1955
Topics (messages 140724 through 140754):
Re: [PHP-DB] Gathering data from a database
140724 by: L0vCh1Y
Re: how to pass variable for $_GET
140725 by: Leif K-Brooks
140727 by: Nate
Re: regex
140726 by: Leif
Hello all. I am trying to figure out some session management that is in
the O'reilly book - Web Database Applications. I am getting the following
error - Error 1045 : Access denied for user: '[EMAIL PROTECTED]' (Using
password: YES)
Normally, I would think that this is because the userid and/
Got it fixed. Turns out there are typos in the book
Thanks Jason for the help.
Chris
At 08:50 AM 3/23/2003, CDitty wrote:
Hello all. I am trying to figure out some session management that is in
the O'reilly book - Web Database Applications. I am getting the following
error - Error 1045 : Ac
On 23 Mar 2003 Justin French wrote:
> That's in the user notes... ignor it... md5() does not have to be salted...
> infact, you WANT the md5() to be static... because you will compare the
> md5()'d password in the database with the md5()'d password that they submit
> on a form.
Exactly. On this
On 22 Mar 2003 David Otton wrote:
> The thing that is most likely to trip you up is people who cut'n'paste
> from Word. High-ASCII characters can slip in like that, also some
> characters that are common in European languages (accents and umlauts).
> All of these need to be translated into HTML en
Hi, I'm using a mysql connection to dinamically fill a table with
descriptions, prices, and so on...
But when the script takes the price of a Plasma Monitor, that costs 8025.00
$, it outputs only 8,00.
I recall it by typing :
echo $row_Recordset1['Prezzo']
And please note that I've seen that it
On Sun, 23 Mar 2003 14:09:26 +0100, you wrote:
>And please note that I've seen that it happens only when
>$row_Recordset1['Prezzo'] > 1000
What's the largest number you can get from the table? Exactly? 1000 is
suspiciously close to 1024. Is it possible that your table is using a
smaller data type
I'm having trouble getting cURL to work with a remote server. I'm using
Linkpoint to process a credit card transaction. (Does anyone have any
experience with Linkpoint?) I have tested my script on another server
and cURL seems to retrieve the information fine. However, I'm getting a
blank h
Im trying to create a way of storing php scripts in a mySQL database, and
then execute them using temporary files as executable script buffers..
The database retrieval is working fine but the file does not...
Ive got a table with 4 fields: execID, execName, execDesc and execProc
The last one conta
Rather than writing the code to a temporary file and then including the
file why not just use eval() on the code fetched from the database
(http://www.php.net/eval)?
Otherwise you could use generate a unique filename yourself rather than
using tmpfile.
$filename = md5(uniqid());
Of course you
On Sun, 23 Mar 2003 10:51:43 -0500, you wrote:
>My question was about input. What happens if someone enters an ASCII
>147 or 148 in a form field, for example? Will PHP interpret them as
>quotes? Or is only an ASCII 34 seen as a quote. If the former, will
>addslashes() add shashes to them?
Not sure why things like this are so difficult. I have an authentication
script which allows users access to certain pages based on their user level.
If they click on a link to go to a page their not allowed to, I want to be
able to just reload the page their on and display a message saying they a
On Sun, 23 Mar 2003 12:15:25 -0500, you wrote:
>Not sure why things like this are so difficult. I have an authentication
>script which allows users access to certain pages based on their user level.
>If they click on a link to go to a page their not allowed to, I want to be
First, why are the pa
One other problem is that I need to know the page the came from in order to
reload it. i.e. if they try to access a restricted page from six.html I
want to reload six.html - if they try from eight.html then eight.html needs
to be reloaded.
- Original Message -
From: "David Otton" <[EMAIL
On March 23, 2003 10:22 am, Beauford.2002 wrote:
> One other problem is that I need to know the page the came from in
> order to reload it. i.e. if they try to access a restricted page
> from six.html I want to reload six.html - if they try from
> eight.html then eight.html needs to be reloaded.
Hi everybody,
I've been looking for a script to determine who is on my page (people
have to log in). So far, I've been using a script that updates the time
in the database continuously as long as the person is on the page. That
way, the script could determine whether the user is still online or not
Hiya
Im having difficulties calling array values from outside script.
I have db.api.php
$username = $row[0];
$password = $row[1];
$email = $row[2];
echo "THE USERNAME IN DB.API IS $username";
echo "THE PASSWORD IN DB.API IS $password";
echo "THE EMA
Hola Gairo,
No es que te pueda ayudar mucho, pero por si te sirve de algo yo instalé
Apache 2.0 y PHP 4.2.x en un sistema Red Hat a partir de los RPM's
disponibles en los CD's de redhat (o en su web) y no tuve que preocuparme de
compilar ni nada. No dices si tu sistema es *nix o MS-W, pero espero
Emanuele,
Some parts of the world use the coma as the separator between whole numbers
and decimals (e.g. Germany & France) and php is formating the number
according to this style. I surmise that the numbers stored in your database
have been stored with comas separating the thousands from the hundr
The following short script retrieves a file over HTTP:
$url = 'http://www.example.com/';
implode('',file($url)); // or file_get_contents()
Now I'd like to find out which file was really retrieved, for instance
http://www.example.com/index.html. Is this possible and how?
Background:
I need to wr
how bout add a last logged in field , and then do a check where the last
logged in field is NOW() etc ..
-Original Message-
From: Oliver Witt [mailto:[EMAIL PROTECTED]
Sent: Monday, March 24, 2003 6:24 AM
To: [EMAIL PROTECTED]
Subject: [PHP] who is on the page?
Hi everybody,
I've been lo
oh silly me you might need also an on/off flag , but need a way to determine
when they close the connection
-Original Message-
From: Oliver Witt [mailto:[EMAIL PROTECTED]
Sent: Monday, March 24, 2003 6:24 AM
To: [EMAIL PROTECTED]
Subject: [PHP] who is on the page?
Hi everybody,
I've been
On Sun, 23 Mar 2003 21:21:39 +0100, you wrote:
>The following short script retrieves a file over HTTP:
>
>$url = 'http://www.example.com/';
>implode('',file($url)); // or file_get_contents()
>
>Now I'd like to find out which file was really retrieved, for instance
>http://www.example.com/index.ht
What you might want to try is to set a cookie when the user first enters the
page, but set it's length to 5 minutes. Then everytime the cookie is resent
to the page you count it as a user. But if they leave, then the cookie
destroy's itself. You can have the cookie reset it's self, or set to when
e
The use of the standard mail(...) function is just not working and I
would really appreciate some patient soul's time to access:
http://www.up.net/~jolove/PHP/EMail/EmailPHP.php
and look at the code ... it really is very short ...
The function send() returns success, yet my mail client, Eu
> I've been looking for a script to determine who is on my page (people
> have to log in). So far, I've been using a script that updates the
time
> in the database continuously as long as the person is on the page.
That
> way, the script could determine whether the user is still online or
not.
> Ho
thanks - found a solution... both method's worked for me
"Nate" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> stripslashes("\'2003-1-3 00:00:01\' AND \'2003-3-10 23:59:59\'");
>
> "Domintcom" <[EMAIL PROTECTED]> wrote in message
> news:[EMAIL PROTECTED]
> > ok - found urldecode w
> Hi, I'm using a mysql connection to dinamically fill a table with
> descriptions, prices, and so on...
>
> But when the script takes the price of a Plasma Monitor, that costs
> 8025.00
> $, it outputs only 8,00.
> I recall it by typing :
>
> echo $row_Recordset1['Prezzo']
>
> And please note t
> is this a dangerous feature ?
Depends what kind of server you're on to start with. If you have a
dedicated server, then it's not as big of a deal. If you're on a shared
server, then anyone else on that server can write your .htaccess files
for you (generally).
---John W. Holmes...
PHP Architec
Don't know if you realize this or not, but when you pass the variables, you
DO NOT enclose them in ' marks...
So...
http://blah.com/myscript.php?date=2003-2-1%2000:00:01'%20AND%20'2003-3-1%202
3:59:59&othervar=1234
Then on your myscript.php page,
$_GET['date'] will equal "2003-1-3 00:00:01 AN
The link in question is there by design and should be there, but below is
what I am talking about.
> Even better, if a user cannot be validated then you can redirect them back
to where they
> came from (referrer). That would effectively achive your goal by
> refreshing the original page no matter
Hello John,
Please make a copy of the file with a .phps or .txt extension so the
code is not parsed by PHP.
Thanks,
Jason
John Love wrote:
The use of the standard mail(...) function is just not working and I
would really appreciate some patient soul's time to access:
http://www.up.net/~
-> gert
Monday, March 24, 2003 sent:
gv> hello everyone,
gv> with this code, a table is loaded with info from the mysql db with id = '1'.
gv> but now i want to make a button, and when it is clicked, he has to renew the
gv> table with the info from the db with id ='2'
gv> does anyone know has
Does any one know how to calculate the difference between two dates. I need
to find out the age of a user to make sure they are over the age of 13. I
have searched for hours on this and found nothing that will help.
TIA
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: h
I'm having some problems with imagerotate() - e.g. it won't work at all.
I've tried many different ways to get it to work, but I have yet to see it
do anything at all. I'm using PHP 4.3.1 on XP. I know that GD is working
properly because I can do other image-manipulation with it without error.
Plu
php-general Digest 24 Mar 2003 01:56:22 - Issue 1956
Topics (messages 140755 through 140789):
PHP Session Management
140755 by: CDitty
140756 by: CDitty
Re: Password Authentication
140757 by: trlists.clayst.com
Re: Removing Risky Characters
140758 by: trlist
On 24-Mar-1998 Beauford.2002 wrote:
> Does any one know how to calculate the difference between two dates. I
> need
> to find out the age of a user to make sure they are over the age of 13. I
> have searched for hours on this and found nothing that will help.
>
Start here:
echo date('Y-m-d', st
Hi,
Ask them who the president of the United States was before Britney
Spears, that should work pretty well :)
Otherwise, check out the Date package in PEAR at
http://pear.php.net/package-info.php?pacid=57
Greg
--
phpDocumentor
http://www.phpdoc.org
Don Read wrote:
On 24-Mar-1998 Beauford.2002
On March 23, 2003 02:34 pm, Beauford.2002 wrote:
> The link in question is there by design and should be there, but
> below is what I am talking about.
>
> > Even better, if a user cannot be validated then you can redirect
> > them back
>
> to where they
>
> > came from (referrer). That would effe
Greetings!
I have several (up to 100) input boxes being generated on the fly.
I need to somehow grab the names generated for each one to then insert the
values into a database (MySQL), one per row.
I've looked at variable variables on php.net, but I thought I would pick your
brains, just in case
By the way, some names are various colorsappended with a size letter (i.e.
BlackM, GreenXL, etc.)
others are simply a letter incremented starting with a.
Thanks
Quoting Richard Whitney <[EMAIL PROTECTED]>:
### Greetings!
###
### I have several (up to 100) input boxes being generated on the fly
hi there is a way to include files once in php3 ?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
You could write a wrapper around the include function that uses a global
array, each time it is called it checks the global array to see if the
file has been included, if it hasn't it includes the file and adds the
file to the array.
Jason
daniel wrote:
hi there is a way to include files once i
It's definitely going through the if statement as it does "reload" the
page - print($_SERVER['HTTP_REFERER']); shows
http://www.myserver.com/oldpage.html - which is correct. print("{$userlevel}
and {$neededlevel}"); also shows the correct info. $no_permission does
have a string, but even if I har
Hi,
Does anyone know of a php (or other really) based web app that provides
spreadsheet like tables with formulae support?
Cheers,
Brad
--
Bradley C. Goldsmith <[EMAIL PROTECTED]>
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
My server has cURL built into its php module, but it doesn't support
SSL, and thus doesn't support requests to secure servers, i.e. https.
It was an effort in itself to get them incorporate cURL, and I was just
wondering if I should move immediately to a new host - if this were just
ridiculous.
On Monday 24 March 2003 12:04, Richard Whitney wrote:
> By the way, some names are various colorsappended with a size letter (i.e.
> BlackM, GreenXL, etc.)
>
> others are simply a letter incremented starting with a.
If I was doing this I would put all form elements into an array and thus name
the
hello all,
having a little problem. I know i have a connection to the mysql database
but for some reason i can't get this to update the database when submit is
clicked. perhaps i am overlooking something.. Here is part of the script:
if($HTTP_POST_VARS[send]) {
$result = $db->sql("UPDATE comme
On March 23, 1998 08:53 pm, Beauford.2002 wrote:
> It's definitely going through the if statement as it does "reload"
> the page - print($_SERVER['HTTP_REFERER']); shows
> http://www.myserver.com/oldpage.html - which is correct.
> print("{$userlevel} and {$neededlevel}"); also shows the correct
> i
Thanks for your suggestions everyone - I have the problem under control!
Richard
Quoting Jason Wong <[EMAIL PROTECTED]>:
### On Monday 24 March 2003 12:04, Richard Whitney wrote:
### > By the way, some names are various colorsappended with a size letter
### (i.e.
### > BlackM, GreenXL, etc.)
###
JWH> SELECT TO_UNIXTIME(your_column) FROM table ...
It doesn't work... MySQL returns error - what could be trouble in? I
also tried
SELECT TO_UNIXTIME(foo) AS bar FROM baz
But it's look like it doesn't know such function :\.
I tried table in next types: TIMESTAMP,DATETIME.
--
Best regards
"Sebastian" <[EMAIL PROTECTED]> wrote:
> having a little problem. I know i have a connection to the mysql database
> but for some reason i can't get this to update the database when submit is
> clicked. perhaps i am overlooking something.. Here is part of the script:
>
> if($HTTP_POST_VARS[send])
All,
I think everything is now moved; cvs checkouts should still be fine, and as
dns changes over, commits will become possible again. (if you need to make a
commit now, please tell your system that cvs.php.net happens to point at
pb11.pair.com)
When dns converges, work will continue on lxr and b
Just a heads up,
we should be moving the cvs apparatus from one server to another in the next
few hours. The only down time will be whilst your dns updates, and this will
_only_ affect cvs COMMITS -- not checkouts.
Thanks for your patience.
James Cox
php sysadmin
--
James Cox :: [EMAIL PROTECTE
63 matches
Mail list logo