> -Original Message-
> From: Michael Stearne [mailto:[EMAIL PROTECTED]
> Sent: Thursday, May 19, 2005 4:17 PM
> No. It's RedHat Fedora Core 3.
And? (/etc/selinux/ ;-)
It´s a thing that troubles a lot in Feodora3 installations
--
Med venlig hilsen / best regards
ComX Networks A/S
Hi All,
how would one get them to display in php pages..? Is it like ASP where
you have to set a codepage number..? I've set this at the top of my pages,
and this for the font
$product_data_output
I don't claim to know much about HTML either. I'm just building a little
dynamic site for my compan
Kristen G. Thorson wrote:
> Following is a snippet of code that I am trying to debug. Most of the
> time, the variable $sn (set on the last line), correctly contains the
> variable $this_customer_num. On some occasions, however, it does not
> contain $this_customer_num. I cannot figure out what
Hi friends,
I am Rittwick Banerjee
and i have made a mysql based user name and password program but I found
that
what ever I entered in the user name and password feild the php file dose
not working.
I set this code for user name and password
$sql = " SELECT `User_name` AND `User_pass` FROM `us
Something along these lines should get you started
Tclothes (holds all the possible variations of size, colour and style)
Id PK
Styleid FK to Tstyle
Sizeid FK to Tsize
Colourid FK to Tcolour
Tstyle
Styleid PK
StyleDescription VARCHAR
Tsize
Sizeid PK
SizeDescription VARCHAR
Tcolour
Colourid PK
C
Hi,
I'm making this middle-range site (i. e., not so little, bit not so big,
either), and i want users that subscribe to my site to have their
confirmation made by email.
Does anyone sugests a simple, yet effective way to do this ?
Please, don't misunderstand me.
The PHP part i know.
The sugesti
Robert Meyer wrote:
Hello All,
Just a comment on PHP5. I never used PHP until just over two weeks ago,
though I have been a software engineer since 1975. What one can do with
PHP5 is awesome.
What a great recommendation! It was very nice to read how someone who
obviously has buckets of IT expe
Hi,
I'm making this middle-range site (i. e., not so little, bit not so big,
either), and i want users that subscribe to my site to have their
confirmation made by email.
Does anyone sugests a simple, yet effective way to do this ?
Please, don't misunderstand me.
The PHP part i know.
The sugesti
$sql = "select User_name, User_pass from user where User_name =
'$_POST[user_id]' and User_pass = '$_POST[user_pass]'";
assuming user_id isnt an int
Rittwick Banerjee wrote:
Hi friends,
I am Rittwick Banerjee
and i have made a mysql based user name and password program but I
found that
what eve
Hello!
Sorry if this is off topic. I'm making a php site where one can order a
kit and now I would like to mark the kits with bar codes generated by
the php script. I would also need some kind of bar code hardware reader
and some way for a computer to read the result from the bar code reader,
g
Hi George,
Thank you for your answer.
The future users of the site i'm doing can register freely.
No need for aproval.
I just want to ensure that there are no fake subscriptions or fake e-mails.
I was thinking more in something like an email sent back after the form
fill, with an URL back to th
On Friday 20 May 2005 09:21, Mário Gamito typed:
> Hi,
>
> I'm making this middle-range site (i. e., not so little, bit not so big,
> either), and i want users that subscribe to my site to have their
> confirmation made by email.
>
> Does anyone sugests a simple, yet effective way to do this ?
Whe
> -Original Message-
> From: Rittwick Banerjee [mailto:[EMAIL PROTECTED]
> Sent: Friday, May 20, 2005 3:59 AM
> To: php-general@lists.php.net
> Subject: [PHP] mysql with php
>
>
> Hi friends,
>
> I am Rittwick Banerjee
>
> and i have made a mysql based user name and password program
>
You can either email them an URL containing an activation code, which
would have them activate in their browser.
If you don't understand the terms .forwared, or MTA, you should
probably either learn more about them or skip to the third paragraph.
If you want them to activate using their email clie
Noticed that there was still something missing in this:
$sql = "select User_name, User_pass from user where User_name =
'$_POST['user_id']' and User_pass = '$_POST['user_pass']'";
Quotes around the POST Args.
George
> -Original Message-
> From: eoghan [mailto:[EMAIL PROTECTED]
> Sent:
What I do is generate a random key, save it in the database, send them an
email with a link that they must click to validate their email:
http://www.mysite.com/[EMAIL PROTECTED]&[EMAIL PROTECTED]
9j(*(hn3983n*(j
Its not foolproof, I know, but it is simple and effective, as you say.
Heres a quick
The way i did it was, put a 25char hash inside the "registered" column,
then sent an email to the user containing something like
domain.com?user=id_number&hash=hash
then i did "select userID where userID = $_GET['user'] & registered =
$_GET['hash']"
(not exactly the sql phrase, but i dont feel li
try this:
$sql = "
SELECT User_name, User_pass
FROM `user`
WHERE User_name= '$_POST[user_id]'
AND User_pass = '$_POST[user_pass]'
";
-afan
Rittwick Banerjee wrote:
Hi friends,
I am Rittwick Banerjee
and i have made a mysql based user name and password program but I
> Hello!
>
> Sorry if this is off topic. I'm making a php site where one
> can order a
> kit and now I would like to mark the kits with bar codes generated by
> the php script. I would also need some kind of bar code
> hardware reader
> and some way for a computer to read the result from the
I'm trying to ftp a file. I looked in the php manual and I don't see a
character limit for ftp_fput().
I'm getting the following error
ftp_fput(): Specified object name too long, limit is 10 characters:
CF-20050520. in /home/www/cf/test.php on line 45
There was a problem whi
Hello Emil,
Friday, May 20, 2005, 4:45:49 AM, you wrote:
E> I've never done anything like this before, do you know of any good
E> starting points? I don't know anything about bar codes.
http://www.phpclasses.org and search for barcode
--
Leif (TB lists moderator and fellow end user).
Using Th
Emil wrote:
Hello!
Sorry if this is off topic. I'm making a php site where one can order
a kit and now I would like to mark the kits with bar codes generated
by the php script. I would also need some kind of bar code hardware
reader and some way for a computer to read the result from the bar
co
Ave,
On 5/19/05 6:08 PM, "Rory Browne" <[EMAIL PROTECTED]> wrote:
> if you have an image generated by
> http://www.example.com/createimage.php , you could always refer to it
> as http://www.example.com/createimage.php/{no_of_seconds_since_unix_epoch}.png
It's sounding logical, but could you exp
Hi,
anyone has taken ZEND PHP Certification Exam??? Please can you give me
some information about it?
Thank you,
Martin
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi,
Following the previous discussion regarding confirmation of
subscriptions (to all the people who replied, my thanks), i now generate
an URL something like this:
http://www.bar.com/[EMAIL PROTECTED]&code=vu782
Then in file confirma_registo_action.php, i do:
$email= $_GET['email'];
$
Ave,
On 5/19/05 5:41 PM, "Marek Kilimajer" <[EMAIL PROTECTED]> wrote:
> If more then one user is accesing the page, you might overwrite the
> first one's verify.png image. Simple and sufficient solution is to
> append a random string to the filename:
>
> $image_filename= 'verify_' . md5(rand())
Hi,
Following the previous discussion regarding confirmation of
subscriptions (to all the people who replied, my thanks), i now generate
an URL something like this:
http://www.bar.com/[EMAIL PROTECTED]&code=vu782
This hit will come from someone's mail client.
Then, in file confirma_registo_acti
Hello Mário,
Friday, May 20, 2005, 4:48:07 PM, you wrote:
MG> http://www.bar.com/[EMAIL PROTECTED]&code=vu782
MG> for testing, but it does print nothing. So, i'm not getting the
MG> parameters from the URL. I have register_globals=Off in php.ini
MG> Why is this wrong and how to make it right ?
It seems that none of the current major Linux distros provide PHP5
binary installation packages. By major I mean, RedHat, Fedora (it
will be in F4 when released), Mandriva, Debian, Ubuntu, possibly
others. Seriously, none have standard PHP5 packages, even optional
ones. Does no-one use PHP5
On 5/20/05, Martin Zvarik <[EMAIL PROTECTED]> wrote:
> anyone has taken ZEND PHP Certification Exam???
http://zend.com/store/education/certification/yellow-pages.php
> Please can you give me
> some information about it?
http://zend.com/store/education/certification/zend-php-certification.php
-
Mark Sargent wrote:
Hi All,
how would one get them to display in php pages..? Is it like ASP where
you have to set a codepage number..? I've set this at the top of my pages,
and this for the font
$product_data_output
I don't claim to know much about HTML either. I'm just building a little
dynami
On 5/20/05, Martin Zvarik <[EMAIL PROTECTED]> wrote:
> Hi,
>
> anyone has taken ZEND PHP Certification Exam???
Yes. Loads of people here have taken it. Loads of other people here
set the questions.
> Please can you give me some information about it?
I'm sure you'll get lots of useful and encoura
On Friday 20 May 2005 17:58, Marcus Bointon wrote:
> It seems that none of the current major Linux distros provide PHP5
> binary installation packages. By major I mean, RedHat, Fedora (it
> will be in F4 when released), Mandriva, Debian, Ubuntu, possibly
> others. Seriously, none have standar
Can the server variable 'user agent' be modified/spoofed by the user?
I have a bunch movies that I want to only open if the user agent
contains Quicktime Player...
In my case, if the user agent string contains Quicktime Player, a movie
url is written for Quicktime to open
If the user agent
Ave,
My whole Auto-Image verification application and has come to get stuck at
the Cache in IE. It¹s working fine in Safari on Mac, but IE is picking up
the image from the Cache no matter what. I¹ve tried the following:
header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
header("Last-Modified: " .
Maybe I'm using "reentrant" incorrectly, but here is what I mean...
class Test {
function __get($nm) {
if ($nm == 'x')
return $this->func();
elseif ($nm == 'y')
return 'y';
elseif ($nm == 'xx')
return 'x';
}
function func() {
return $
On Fri, 2005-05-20 at 12:51, Mário Gamito wrote:
> Why is this wrong and how to make it right ?
I did this and sent myself a link to it via email, clicked it from
within my email client (Evolution) which launched a browser and called
the script successfully writing the vars to test.txt. Of course
Graham Anderson wrote:
> Can the server variable 'user agent' be modified/spoofed by the user?
>
> I have a bunch movies that I want to only open if the user agent
> contains Quicktime Player...
> In my case, if the user agent string contains Quicktime Player, a movie
> url is written for Quick
Not only can the user agent string be easly spoofed, but as a result
of its abuse by certain webmasters(mostly Banks) Browsers such as
Opera, and I believe Konqueror, have a setting that allows you to
change the user agent string as a configuration option.
The UserAgent is a hint. It is most defin
are there any php methods that can accurately determine who the client
is ?
mine is pretty basic...if I am a browser, then deny access
g
On May 20, 2005, at 1:15 PM, Chris Shiflett wrote:
Graham Anderson wrote:
Can the server variable 'user agent' be modified/spoofed by the user?
Yes, this value
Hi Richard,
It still doesn't works.
Maybe it's because it's being launched from outside the site (i. e., the
referrer is not from the site ?).
Maybe something's in php.ini ?
Any ideas ?
Warm Regards,
Mário Gamito
Richard Davey wrote:
> Hello Mário,
>
> Friday, May 20, 2005, 4:48:07 PM, you wr
Graham Anderson wrote:
Can the server variable 'user agent' be modified/spoofed by the user?
Yes, this value is being sent by the client.
Chris
--
Chris Shiflett
Brain Bulb, The PHP Consultancy
http://brainbulb.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://ww
is there another way to get reasonably accurate environment variables ?
In my case,if movies are being opened in a browser...deny access
g
On May 20, 2005, at 12:35 PM, James E Hicks III wrote:
Graham Anderson wrote:
Can the server variable 'user agent' be modified/spoofed by the
user?
is
Hello Graham,
Friday, May 20, 2005, 12:46:28 PM, you wrote:
G> Can the server variable 'user agent' be modified/spoofed by the
G> user?
Oh yeah Firefox and Opera are easy to change.
--
Leif (TB lists moderator and fellow end user).
Using The Bat! 3.5 Return RC9 under Windows XP 5.1
Build
Hi there (newbie here) - I have the following snippet of code..
$sexId = $_POST['sex'];
$fName = $_POST['fName'];
$lName = $_POST['lName'];
if ($status = $db->query("INSERT INTO names (nameId, sexId, fName,
lName) VALUES ('', $sexId, '$fName', '$lName')")) {
print "Your data was added to
Think about it. The server can only tell what the user agent is by what
the user reports. For all you know it could just be a perl script or
just a terminal session reporting as being Quicktime.
So yes, a script kiddie could spoof the user agent. Heck, some browsers
even allow you to specify the
Hi,
I have this server with "display_errors=Off" in php.ini
Now that i'm developing a new site. is there some code i can insert in
the begining of a .php file to set only for this file (not sitewide)
"display_errors=On" ?
Thanking you in advance.
Warm regards,
Mário Gamito
--
PHP General Mail
Hi there (newbie here) - I have the following snippet of code..
$sexId = $_POST['sex'];
$fName = $_POST['fName'];
$lName = $_POST['lName'];
if ($status = $db->query("INSERT INTO names (nameId, sexId, fName, lName)
VALUES ('', $sexId, '$fName', '$lName')")) {
print "Your data was added to t
I have a site where I need to do multiple queries in sequence.
I see there is a way to do consider all querys and to fail the entire
procedure if one query fails. It's a BEGIN and COMMIT statement.
mysql_query("BEGIN"); // starts the transaction
mysql_query("COMMIT"); // ends the transac
Graham Anderson wrote:
> thanks...
> I'l start exploring other options
> g
> On May 20, 2005, at 2:35 PM, Marek Kilimajer wrote:
>
>> Graham Anderson wrote:
>>
>>> is there another way to get reasonably accurate environment variables ?
>>> In my case,if movies are being opened in a browser...deny
On Fri, May 20, 2005 3:06 pm, Mário Gamito said:
> I have this server with "display_errors=Off" in php.ini
>
> Now that i'm developing a new site. is there some code i can insert in
> the begining of a .php file to set only for this file (not sitewide)
> "display_errors=On" ?
Search http://apache.
On Fri, May 20, 2005 2:02 pm, mayo said:
> I have a site where I need to do multiple queries in sequence.
In sequence, or as one single atomic un-interruptable action?
Cuz, like, just doing them in sequence is real straight forward:
$query = "select ... ";
$meaningful_variable_names_are_good = m
On Fri, May 20, 2005 1:21 pm, Mário Gamito said:
> It still doesn't works.
> Maybe it's because it's being launched from outside the site (i. e., the
> referrer is not from the site ?).
That's not it, almost for sure.
The entire Internet www would crumble if that were a common cause of the
proble
On Fri, May 20, 2005 1:53 pm, Dustin Krysak said:
> Hi there (newbie here) - I have the following snippet of code..
>
> $sexId = $_POST['sex'];
> $fName = $_POST['fName'];
> $lName = $_POST['lName'];
>
> if ($status = $db->query("INSERT INTO names (nameId, sexId, fName,
> lName) VALUES ('', $se
On Fri, May 20, 2005 12:11 pm, Rahul S. Johari said:
> My whole Auto-Image verification application and has come to get stuck at
> the Cache in IE. It¹s working fine in Safari on Mac, but IE is picking up
> the image from the Cache no matter what. I¹ve tried the following:
Are you clearing out the
Sure you can!
ini_set("display_errors", "On");
HTH.
On 5/21/05, Mário Gamito <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> I have this server with "display_errors=Off" in php.ini
>
> Now that i'm developing a new site. is there some code i can insert in
> the begining of a .php file to set only fo
On Fri, May 20, 2005 7:31 am, mayo said:
> I'm trying to ftp a file. I looked in the php manual and I don't see a
> character limit for ftp_fput().
> I'm getting the following error
>
> ftp_fput(): Specified object name too long, limit is 10 characters:
> CF-2005
On Thu, May 19, 2005 6:05 am, Rahul S. Johari said:
> I did actually remove the Header which declared it as a Image/PNG and
> everything seemed to work in both the browsers.
Great. Now it works in 2 browsers, and breaks in 237.
You MUST separate the two.
Period.
> Here's my situation though...
Hi:
I have a partially finished app using PHP and MySQL that runs on Mac
G4 running System 10.3.9. Undoubtedly, I upgraded too many things all
at the same time. Something broke. PHP and MySQL are both running. I
can use the latest phpMyADMIN and everything is there in the
database, so that s
59 matches
Mail list logo