but most people have different ones :) you could also use a random
position :) fooeee.
Robert Cummings wrote:
On Sun, 2007-04-08 at 05:41 -0700, benifactor wrote:
indeed. i was just throwing out the idea of ever changing values.
Except IP addresses aren't ever changing ;)
C
indeed. i was just throwing out the idea of ever changing values.
Robert Cummings wrote:
On Sun, 2007-04-08 at 04:38 -0700, benifactor wrote:
hmm, why don't you md5 more then once..
for example, use a condition that will change with every visitor. like
the third num in $_S
hmm, why don't you md5 more then once..
for example, use a condition that will change with every visitor. like
the third num in $_SERVER['REMOTE_ADDR']; or something of the sort.
then make a loop..
say the third num in my ip address is 5
the person that visits after me would get my value,
im using http://www.prototypejs.org/ and have had no problems thus far.
- Original Message -
From: "Mikey" <[EMAIL PROTECTED]>
To:
Sent: Thursday, March 08, 2007 10:02 AM
Subject: [PHP] Re: What sripts,helpers to use for AJAX
Otto Wyss wrote:
I want to add some AJAX communication to
i was just trying again, and entered 406 via keyboard and pressed
submit, and it said i was successful, then i pressed back on my browser and
no longer had the error. it displayed the captcha at the top of the page
where the error was.
--
PHP General Mailing List (http://www.php.net/)
To u
yea, same for me... but maybe the variable needs to be defined for anything
to happen, as we are probably supposed to press that before we speak tha
captcha..
- Original Message -
From: "Németh Zoltán" <[EMAIL PROTECTED]>
To: "benifactor" <[EMAIL
tried, and failed. got this error:
Notice: Undefined variable: captcha in
/home/httpd/vhosts/sperling.com/httpdocs/a/c/index.php on line 29
and no captcha was displayed.
- Original Message -
From: "tedd" <[EMAIL PROTECTED]>
To:
Sent: Monday, February 26, 2007 8:04 AM
Subject: [PHP]
as of right now, when the user logs in, i have a cookie storing username...
then on all of the pages i need data i have it query the database and using
the cookie data to retrieve user information.. is there a more secure way to
do this?
--
PHP General Mailing List (http://www.php.net/)
To unsubs
i would like your input on session vs cookies regarding login data like
usernames/passwords ect...
$query = mysql_query("SELECT logos FROM table WHERE sno = '$sno' limit 1")
or die(mysql_error());
while ($result = mysql_fetch_array($query)) {
$sno = $result[logos];
}
?>
hope it helps
- Original Message -
From: "Fahad Pervaiz" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>;
have more intelligent discussions regarding php/site development
technologies that integrate with php, this is the place for it!!
peace..
-Original Message-
From: Stut [mailto:[EMAIL PROTECTED]
Sent: Monday, February 05, 2007 5:31 AM
To: benifactor
Cc: php-general@lists.php.net
Subjec
hmm it was obvious to me, tis why i asked. just had to be sure. thank you
for your help.
- Original Message -
From: "Stut" <[EMAIL PROTECTED]>
To: "benifactor" <[EMAIL PROTECTED]>
Cc:
Sent: Monday, February 05, 2007 5:30 AM
Subject: Re: [PHP] who is on
sorry if you misunderstood, i just wanted to know if it could be done with
php alone.
- Original Message -
From: "Stut" <[EMAIL PROTECTED]>
To: "benifactor" <[EMAIL PROTECTED]>
Cc:
Sent: Monday, February 05, 2007 5:18 AM
Subject: Re: [PHP] who is onli
i have built a function to tell me how many users are on my site at any given
time...
this fuction works fine, however, i want to know if what i am about to ask is
possible.
the problem i have is, this function assumes that after five minutes if the
user has not refreshed the page, or gone on
i actually just started my own non profit org... so now you can all give me
things for free. :)
p.s. i also accept donations via paypal :)
- Original Message -
From: "Jochem Maas" <[EMAIL PROTECTED]>
To: "tedd" <[EMAIL PROTECTED]>
Cc:
Sent: Friday, November 10, 2006 7:46 AM
Subject:
give us (the list) the website address.
- Original Message -
From: "Brynjar Guðnason" <[EMAIL PROTECTED]>
To:
Sent: Thursday, November 09, 2006 11:16 AM
Subject: [PHP] Staff log-in
Hi,
I need a little php script. Staff log in by entering username and password
and then the next time
you could also do this all on one page... with different if statments to
direct which part of the process your actually in.
if (processone) {
blah...
blah...
}
if (processtwo) {
blah...
blah...
}
this is how all of my pages work, to an extent, and it make things much
easier not having to pas
thank you for schooling me :) i learn something new everyday!
- Original Message -
From: "Richard Lynch" <[EMAIL PROTECTED]>
To: "benifactor" <[EMAIL PROTECTED]>
Cc:
Sent: Monday, October 09, 2006 11:02 AM
Subject: Re: [PHP] ECHO $variable
> On Mon,
ober 08, 2006 1:41 AM
Subject: Re: [PHP] ECHO $variable
> On Mon, 9 Oct 2006 00:23:00 -0700, "benifactor" <[EMAIL PROTECTED]> wrote:
> > you should try this...
> >
> > $saved_message_title = '1 Peter 5:7 "Cast all your cares on Him for He
> > c
you should try this...
$saved_message_title = '1 Peter 5:7 "Cast all your cares on Him for He
cares about you"';
- Original Message -
From: "Ron Piggott (PHP)" <[EMAIL PROTECTED]>
To: "PHP General"
Sent: Saturday, October 07, 2006 11:39 PM
Subject: [PHP] ECHO $variable
> In one of my s
yea, thanks for the input... but do you think my solution would be better
for original poster?
- Original Message -
From: "Dave Goodchild" <[EMAIL PROTECTED]>
To: "benifactor" <[EMAIL PROTECTED]>
Cc: "Robert Cummings" <[EMAIL PROTECTED]>;
how are you getting the answers? are they hard coded in html? are you
pulling them from a database? if from a database, just order them
randomly.. mysql_query("select answers from table where question = '10'
ORDER BY RAND()" ); i think this would randomize all of the results in the
answer colum o
i may be wrong, but your use of the class to me seems pointless... the reuse
aspect of your database connection could be done with a simple include...
maybe your need is different from what i suspect, being a beginner myself...
here is what i do, and maybe the list can tell me if it would be better
- Original Message -
From: "Robert Cummings" <[EMAIL PROTECTED]>
To: "Satyam" <[EMAIL PROTECTED]>
Cc: "Deckard" <[EMAIL PROTECTED]>;
Sent: Thursday, October 05, 2006 2:16 AM
Subject: Re: [PHP] Help on objects
> On Thu, 2006-10-05 at 07:04 +0200, Satyam wrote:
> > I've seen you already
-
From: "Richard Lynch" <[EMAIL PROTECTED]>
To: "benifactor" <[EMAIL PROTECTED]>
Cc: "php"
Sent: Friday, September 29, 2006 9:07 AM
Subject: Re: [PHP] class usage
> On Fri, September 29, 2006 4:35 am, benifactor wrote:
> > ..and this seems to work
ok, about five minutes ago i decided to learn classes and delve into php's oop
side.
what i came up with was this...
//start example code
class newsletter {
function send ($email,$subject,$message) {
if ($email) {
echo("the following message was sent to: $email subj
you should try to search for a headset with a splitter. i dont know if this
would work for your needs, but it would allow multiple connectons and
require only one port.
- Original Message -
From: "Jay Blanchard" <[EMAIL PROTECTED]>
To:
Sent: Wednesday, September 13, 2006 4:59 AM
Subject:
i don't really understand what your trying to do here but if im correct
there is a much easier way...
if you are trying to make a newletter sign up this is simple. there is no
reason to send the email to the database simply have the enter thier email
address, use regex to check it, if it passes th
when you insert each blog into your database, im assuming your not doing
this by hand each and every time, assign each blog an id.
in the place you want to delete the blog entries, list all of the blogs
titles and ids.
and then use mysql(delete);
example:
You Need To
Choose a post to delete";
i reload my pages with a function using a meta tag...
- Original Message -
From: "Jay Blanchard" <[EMAIL PROTECTED]>
To: "Alain Roger" <[EMAIL PROTECTED]>
Cc: "PHP General List"
Sent: Friday, April 14, 2006 9:45 AM
Subject: RE: [PHP] how to reload a PHP page via PHP code
[snip]
So
i was wondering what is the most secure way to use mysql in php. is there a
certain way it should be done or a way that is more secure than another?
iv'e seen it done many ways and was wondering if it was just preference or a if
there was a reason behind it.
if you guys could post some example
thanks all, very helpful!
- Original Message -
From: "Brady Mitchell" <[EMAIL PROTECTED]>
To: "benifactor" <[EMAIL PROTECTED]>; "php"
Sent: Friday, March 24, 2006 1:21 PM
Subject: RE: [PHP] deleting muliple feilds from a table using an array
&
example code:
//implode the value of the submitted form
//$del will look like 38, 40, 43
$del = implode(",", $idd);
//create query for the deletion of values from submited form
$query = "delete From news where id = '$del'";
//execute query
mysql_query($query) or die(mysql_error());
//echo sucess m
- Original Message -
From: "benifactor" <[EMAIL PROTECTED]>
To: "Robert Cummings" <[EMAIL PROTECTED]>; "tedd" <[EMAIL PROTECTED]>
Cc: "PHP-General" ; "Murray @ PlanetThoughtful"
<[EMAIL PROTECTED]>; "Anthony E
- Original Message -
From: "Robert Cummings" <[EMAIL PROTECTED]>
To: "tedd" <[EMAIL PROTECTED]>
Cc: "PHP-General" ; "benifactor"
<[EMAIL PROTECTED]>; "Murray @ PlanetThoughtful" <[EMAIL PROTECTED]>;
"Anthony E
thony Ettinger" <[EMAIL PROTECTED]>
To: "benifactor" <[EMAIL PROTECTED]>
Cc: "php"
Sent: Friday, March 03, 2006 3:52 PM
Subject: Re: [PHP] Mysql Rows
define $1 = 0 outside your loop.
i'm curious why you are relying on row-order in the database?
Typica
i need to find a way to find out what number of a row is in a database...
for example:
//this is the database
Username: Chuck Password: adsasa
Username: jimmy Password: adsf
Username: stewart Password: dfds
the information i need is what row jimmy resides on..
this is what i tried:
function i_
- Original Message -
From: "Ray Cantwell" <[EMAIL PROTECTED]>
To:
Sent: Tuesday, February 21, 2006 1:27 PM
Subject: [PHP] Parse Error
> Hi all,
> I am a noob and super confused right now. I have some really simple code
> and i am getting an error that reads:
> *Parse error*: syntax er
i have a question about what i beleive to be called archiving...
i am building a news script and would like to limit post to be displayed per
page i have done this successfully. what i am having probplems with is
displaying the next set of news.
here is my code:
Posted By: , On @ Edit
can someone point me in the right direction...
i need to know how many bytes are in a string
example:
$string = "blah";
string == how many bytes
also i need to know how to find out how fast a page renders
example;
page rendered in 1.114 seconds
any help would be greatly appreciated
thank
40 matches
Mail list logo