On a site that uses a popup window to display images, I want to prevent
people from hotlinking directly to the popup page because it just looks like
crap if not sized properly with controls removed.
But I'm not sure how I can prevent someone from doing this. It appears the
HTTP_REFERER isn't alway
On Friday 01 November 2002 18:57, N.Paramaguru wrote:
> Hi,
>
> I'm currently developing clubs and groups...the individual group pages are
> displayed based on the group id like login.php?id=1...etc,during Creation
> of the group the user is allowed to enter their subdomain and to select a
> domain
On Saturday 02 November 2002 06:16, Adam Humphrey wrote:
> I just upgraded my PHP from 4.2.2 to 4.2.3 and now I have a problem. Right
> now I have some HTML with included PHP. When the client opens a page with
> PHP and HTML it used to (under 4.2.2) display all the HTML before the PHP
> and then
On Saturday 02 November 2002 14:10, Daniele Baroncelli wrote:
> I am not sure if I have been clear.
>
> I can't actually find out where the libphp4.so has been placed.
Assuming you have done 'make', 'make install', use 'find / -name libphp4.so'
to find where it is.
Or just do 'make install' agai
I am not sure if I have been clear.
I can't actually find out where the libphp4.so has been placed.
Daniele
"Daniele Baroncelli" <[EMAIL PROTECTED]> wrote in message
news:20021102060742.99705.qmail@;pb1.pair.com...
> Dear all,
>
> I have been trying to install php 4.2.3 on my virtual server,
Dear all,
I have been trying to install php 4.2.3 on my virtual server, where Apache
1.3.27 is installed
The installation procedure seems to be right, but I can't find the
"libphp4.so" file
My configuration parameters where:
./configure --enable-inline-optimization --with-apxs=/usr/local/apache/
[EMAIL PROTECTED]
---
E-Mail: Bryan Cassidy <[EMAIL PROTECTED]>
Operating System: FreeBSD 4.6.2
Gaim: bsdsys
Yahoo Messenger: bsdsys
Please do not simply Reply-To: Bryan Cassidy
<[EMAIL PROTECTED]> It is OK to Cc: me as
On 2 Nov 2002 03:26:36 -
[EMAIL PROTECTED] wrote:
> Hi! This is the ezmlm program. I'm managing the
> [EMAIL PROTECTED] mailing list.
>
> I'm working for my owner, who can be reached
> at [EMAIL PROTECTED]
>
> To confirm that you would like
>
>[EMAIL PROTECTED]
>
> added to the php-gen
I'm looking for some well thought out advice on session management.
I've created a class for handling session management across an unlimited
number of domains (without using cookies) however it has some inherent
problems. In order to differentiate between users, it is using the IP
Address. I rea
Hi,
I'm currently developing clubs and groups...the individual group pages are displayed
based on the group id like login.php?id=1...etc,during Creation of the group the user
is allowed to enter their subdomain and to select a domain from the available list and
all this details are stored in my
SED wrote:
When I use sessions in PHP or just plain login/password in $_POST, can
3rd parties or hackers monitor the transmission, between me and user,
and somehow decode the transmission and use the variables to login other
time or overtake the current session?
If so, how likely is for someone
Hi,
Friday, November 1, 2002, 11:11:52 PM, you wrote:
SJ> Sorry to keep on at you guys but this is really getting to me now!
SJ> I want to pull a shipping quantity (the very last record in the Db) into
SJ> a page and am still having problems. Tried looping through the records
SJ> and I can't seem
I'm writing a script which crawls through ftp servers, retrieving file
listings and saving them to a DB so they may be searched.
What happens, is the script connects to the ftp server, and asks for a
listing of a directory. The ftp server apparentally sends the script the
file listing, but then th
I just upgraded my PHP from 4.2.2 to 4.2.3 and now I have a problem. Right
now I have some HTML with included PHP. When the client opens a page with
PHP and HTML it used to (under 4.2.2) display all the HTML before the PHP
and then process the PHP and finally (when processing completed) finish th
yeah i just noticed that myself too,
and unfortunatly people do code their html like that..
J
On Friday, Nov 1, 2002, at 21:44 US/Eastern, David U. wrote:
Jule Slootbeek wrote:
oops didn't catch two little bugs
Jule
function getTitle($url)
{
$file = @fopen($url, 'r');
if(!$file) {
$rline = "
Jule Slootbeek wrote:
> oops didn't catch two little bugs
>
> Jule
>
> function getTitle($url)
> {
> $file = @fopen($url, 'r');
>
> if(!$file) {
> $rline = "Error, contact webmaster";
> } else {
> while (!feof ($file)) {
> $line = fgets($file);
> if (substr_count(strtoupper("$line"), "") >= 1)
"SED" <[EMAIL PROTECTED]> wrote:
> I'm not very familiar to this stuff, but if I wanna use https:// do
> don't I need a key from Verisign (or similar) to make it work?
Yes and no. If you're going to use it on a production server, yes.
If it's on a test server but you still want to be somehow "pro
Hello SED,
"SED" <[EMAIL PROTECTED]> wrote:
> Thank you for the reply, what do you mean by "sniffing", do you mean
> everbody can monitor our browsing?
I'm not really sure how I can answer your question but let me just put it
this way.
Everybody CAN monitor our browsing but:
1. That doesn't mean
oops didn't catch two little bugs
Jule
function getTitle($url)
{
$file = @fopen($url, 'r');
if(!$file) {
$rline = "Error, contact webmaster";
} else {
while (!feof ($file)) {
$line = fgets($file);
if (substr_count(strtoupper("$line"), "") >= 1) {
$rline = strip_tags("$line");
Can't you just call the contents of the page into a variable and extract
what you need with regular expressions?
Php / Html makes no difference its all text to fopen..
~
> is there a way using fopen() or something similar t
hmm, figured it out...all of a sudden it did work:
here's the code, it loads a URL and returns the title...
dunno what it would be used for, but it aught we some more about php..
i'll probbly implement it on a link page ir something
Jule
function getTitle($url)
{
$file = @fopen($url, 'r');
if(
well, i got it to read a html file, but the problem is that it reads it
after it loads it, so it doesn't read the tags, and i'm looking for the
string in between and
is there a way using fopen() or something similar to read an html/php
file before it's loaded?
Jule
On Friday, Nov 1, 2002, a
This is not meant to put down the php/xml combo. Just putting down my 2
cents from my experience
thus far, into the archive for anyone else looking for info.
I just started getting deep into parsing xml yesterday, and the dust has
just begun to settle.
Im parsing rss files versions 0.91 - 2.0 j
I bit you are doing something like this:
copy("$file", "file") ;
- Original Message -
From: "marcelo" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, November 02, 2002 11:19 AM
Subject: [PHP] uping to plaese help
> Hi need some help please
>
> What is wrong with my code?
>
$sql="INSERT INTO `users` (login,passwd) VALUES ('$logintxt',
'password($passwdtxt)')" ;
mysql_db_query("mysite",$sql);
- Original Message -
From: "Mr. BuNgL3" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, November 02, 2002 10:32 AM
Subject: [PHP] Can't store info on a mysq
Hi need some help please
What is wrong with my code?
it is supposed to upload 2 files but instead gives me this error
Warning: Unable to open 'Array' for reading
The code
O Leme upload
Jornal O Leme
$md = MD5($passwdtxt);
$sql="INSERT INTO users (login,passwd) VALUES (\"$logintxt\", \"$md\")";
mysql_query($sql) or die(mysql_error());
next time, show the error messages you got.
Also, ALWAYS USE mysql_error() when executing mysql_query() -- see above
=
"Mr
Hi...
My problem is that i can't store info in a mysql database... ex:
I want to store this info in my database: login/passwd and i have the php
code...
what i'm doing wrong? : |
thanks...
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.
I'm not very familiar to this stuff, but if I wanna use https:// do
don't I need a key from Verisign (or similar) to make it work? If so,
who control who is what on the internet?
Regards,
Sumarlidi E. Dadason
SED - Graphic Design
_
Tel: 896-0376, 461-5501
E-mail:
It might, you should test it to find out.
John Meyer wrote:
I've got a regexp:
(EV[0-9]{2})!([0-9]{4}-[0-9]{2}-[0-9]{2})!(GR[0-9]{2}).txt
My question is, will it match this:
EV01!2002-11-09!VR01!GR01.txt
And anything formatted like this: (EV02, and so forth).
--
PHP General Mailing L
I've got a regexp:
(EV[0-9]{2})!([0-9]{4}-[0-9]{2}-[0-9]{2})!(GR[0-9]{2}).txt
My question is, will it match this:
EV01!2002-11-09!VR01!GR01.txt
And anything formatted like this: (EV02, and so forth).
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.n
Thank you for the reply, what do you mean by "sniffing", do you mean
everbody can monitor our browsing?
-Original Message-
From: @ Edwin [mailto:copperwalls@;hotmail.com]
Sent: 1. nóvember 2002 21:47
To: SED
Cc: [EMAIL PROTECTED]
Subject: Re: [PHP] Security - Maybe a silly question
Hell
cope with readdir() or dir().
I always use one of these functions and I'm wondered if there are more
efficient solution to do it !
- Original Message -
From: "Shaun Thornburgh" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, November 02, 2002 9:00 AM
Subject: [PHP] Number of fi
i thought fopen() was only for local files, didn't even bother looking,
but now i think about it..it makes perfect sence to open url's as well,
thanks a lot!
Jule
On Friday, Nov 1, 2002, at 17:42 US/Eastern, John Nichel wrote:
Docs -> Function Reference -> Filesystem Functions -> fopen()
It w
What you need to do with the input number is to do an ereg_replace() and
eliminate the commas from the string, then use the string variable where
needed. Then, when you want to display the variable, use the
number_format() function.
Hope this helps,
Hugh
- Original Message -
From: <[EMAIL
Docs -> Function Reference -> Filesystem Functions -> fopen()
It was hidden.
Jule Slootbeek wrote:
hey
is there a way to get the URL header? the tags etc?
i couldn't find any function in the docs, but maybe i just don't know
where to look.
if there's a function that pulls in an entire page t
Yes,
Between user and server, everydata pass through DNS, routeur, etc...
So if you don't want someone (hackers or FBI of CIA) to decode your data,
use SSL server (https://) with certificate-
- Original Message -
From: "SED" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, Novem
Perhaps the table name 'desc' is reserved word for 'order by' so MySQL
cannot use it as table name-
So why don't you print out the mysql_error() using for example die-
like this:
$inquiry = mysql_query("select id,link,heading,desc from links where heading
like '%$entry%' or desc like '%$entry%' or
hey
is there a way to get the URL header? the tags etc?
i couldn't find any function in the docs, but maybe i just don't know
where to look.
if there's a function that pulls in an entire page that;s fine too i
can work with that..
any help appreciated
TIA
Jule
Jule Slootbeek
[EMAIL PROTECTED]
Add square brackets to the end of the name of each check box, ie...
And on the page you submit the form too, you will be able to access this
as an array...
$_POST['searchStr'] or $_GET['searchStr'], depending on the method the
form was posted by.
ppf wrote:
Hi all:
I am having a problem in
Hello,
Use an array:
Note:
Only checked checkboxes are passed.
Access:
print $_REQUEST['foo'][0]; // the first one
print $_REQUEST['foo'][1]; // the second
You can use named indices too:
print $_REQUEST['foo']['bar'];
Mix and match, have fun.
Regards,
Philip
--
PHP Gen
How can i find out how many files exist in a dir?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Well, what you could do is write one function that gets all the
values that you need and fills the variables up with them, AND write a
bunch of functions that get one value at a time. Then depending on the
conditions or parameters/values needed or recieved and such, you can call
the fun
Hi Richard Archer,
On Thu, 31 Oct 2002 12:24:15 -, you wrote about "RE: Capitalizing
names etc. part II - found a solution" something that looked like this:
>You should consider the fact that, even as surnames, names like
>Mackintosh and Mackenzie (and as someone else suggested here 'Macon')
Hello,
"SED" <[EMAIL PROTECTED]> wrote:
> When I use sessions in PHP or just plain login/password in $_POST, can
> 3rd parties or hackers monitor the transmission, between me and user,
> and somehow decode the transmission and use the variables to login other
> time or overtake the current session
Hi every1
This is a theorical question about the best way to use classes.
I have a class named anything, and also theres a table named ahything ..
The class attributes are the same fields of the table like this
Class anything {
var $something1;
var $something2;
var $so
Hello Everyone,
Does anyone have an regular expression or other way to extract an email
address out of a string.
I have been using:
if (ereg ("^" .
"[a-z0-9]+([_\\.-][a-z0-9]+)*" .//user
"@" .
"([a-z0-9]+([\.
When I use sessions in PHP or just plain login/password in $_POST, can
3rd parties or hackers monitor the transmission, between me and user,
and somehow decode the transmission and use the variables to login other
time or overtake the current session?
If so, how likely is for someone to manage it
Hi all:
I am having a problem in accessing form data from
multiple check box
of same name with different values, like this
Where
Thats all fine
Here is my form header
"Kevin Stone" <[EMAIL PROTECTED]> wrote in message
news:020201c281ec$04515820$6601a8c0@;kevin...
> Confirm that you're using the proper header information in your HTML
> tag..
>
> -Kevin
>
> - Original Message -
> From: "Shaun Thornburgh" <[EMAIL
Confirm that you're using the proper header information in your HTML
tag..
-Kevin
- Original Message -
From: "Shaun Thornburgh" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, November 01, 2002 1:51 PM
Subject: [PHP] Re: uploading files
> My apologies, here is the code!
>
>
Hello,
"Jay Fitzgerald" <[EMAIL PROTECTED]> wrote:
[snip]
> ===
> session_start();
>
> if (isset("valid_id"))
> {
> echo "$_SESSION[valid_id]";
> }
> else
[/snip]
Perhaps, it's because you need to ask
if (isset($_SESSION['valid_id'])) ?
- E
--
PHP General Mailing
My apologies, here is the code!
//copy image to server
if ($image != "none") {
if (copy ($image, $dir.$image_name)){
echo "File upload successful!";
} else {
echo "File upload unsuccessful!";
}
//new name of image
$new_name = "$property_id-$category_id-$sub_category_id.jpg";
Restart apache... that should be it
on XP use the Restart Script in you apache program group
on unix do a
/usr/local/apache/bin/apachectl graceful
or just
apachectl graceful
if it is in your path
HTH,
Matt
At 05:50 AM 11/2/2002 +0900, you wrote:
<[EMAIL PROTECTED]>
--
PHP General Mail
I am attempting to upload image files to the server from a users browser
using the following code, however, the images seem to get corrupted, they
look completely different and the file sizes are generally smaller, also it
sometimes says file upload unsuccessful, even when it does upload the file?
Hello,
"samug" <[EMAIL PROTECTED]> wrote in message
news:20021101163718.65263.qmail@;pb1.pair.com...
> There's no php.sql, so I'll put it here.
>
There's php.db, however... :)
- E
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hello,
(B
(B"David Russell" <[EMAIL PROTECTED]> wrote:
(B> Hi all,
(B>
(B> I upgraded php and apache on my development machine (Windows XP). I am
(B> now running apache 1.3.27 and php 4.2.3.
(B>
(B> When I run a phpinfo(), I get my full list of stuff as expected, except
(B> that the apac
Hello,
(B
(B"Adam" <[EMAIL PROTECTED]> wrote in message
(B[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
(B> I need a string expression to verify an alpha numeric password. This is
(Bwhat
(B> i've come up with , however it does not work:
(B>
(B> elseif ( (!ereg ("^[a-zA-Z]+$", $password)) ||
What am I doing wrong here? I have a login form that visitors enter their
"use"name and "use_psswrd" in to log in...the form action is this code:
==
session_start();
if ($_REQUEST[use_name] && $_REQUEST[use_psswrd])
{
$connection = mysql_connect("SERVER","USER","PASS") o
<[EMAIL PROTECTED]> wrote:
>
> > Asking for something illegal is *wrong*.
>
> But just stealing it without asking is OK?
>
Tell me.
if (that was a joke){
I need to rephrase myself...
> Let's get busy coding--jokes and laughs (and ...whatever)
> can be found somewhere else...
should
> Asking for something illegal is *wrong*.
But just stealing it without asking is OK?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Asking for something illegal is *wrong*.
But, there's always a better/proper way of dealing with this kind of
person/situation.
Let's get busy coding--jokes and laughs (and ...whatever) can be found
somewhere else...
- E
--
"Do not answer anyone
I just moved some *working* code from a Win2k server running PHP 4.2.1
to a FreeBSD server running 4.2.3 and the following code no longer
works...
$templatetext = preg_replace("//e", "g_includecallback(\"\\1\")", $templatetext);
if (!preg_match("/([[:ascii:]]+?)([[:ascii:]]+?)([[:ascii:
Easy Liam, the guy posted to the list asking for something illegal. It is
not like he had posted something like we have all seen before where a broad
question is asked and a broader answer given.
Jay
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/un
<>
Disrespect or not, anyone ever copy a game? Or a CD or tape? Or a movie?
Anyone ever download anything off the Internet? It's all the same, and I
doubt any of the people on the list showing the same disrespect this person
may have showed have never done that. Again, cut this poster some slack a
Okay enough now.
--
M.CHAILLAN Nicolas
[EMAIL PROTECTED]
www.WorldAKT.com Hébergement de sites internets.
"John Nichel" <[EMAIL PROTECTED]> a écrit dans le message de news:
[EMAIL PROTECTED]
> I for one think that poster didn't enough grief. I mean, you go on and
> on about making a 'mistake',
I for one think that poster didn't enough grief. I mean, you go on and
on about making a 'mistake', but it's not like his mistake was to ask a
JavaScript or MySQL question in a php mailing list. He asked for an
illegal version of software from those who make / contribute to the
software. Tha
php-general Digest 1 Nov 2002 18:19:05 - Issue 1679
Topics (messages 122384 through 122438):
PHP-GTK 0.5.2 released
122384 by: Andrei Zmievski
Re: Displaying Data of a MySQL Table in PHP
122385 by: Jason Wong
php development environment
122386 by: Simon Taylor
> > Who can tell me where I can get the cracked Zend Encoder 3.0 ?
>Are you a muppet?
>
>This list is run by the people who make Zend Encoder!
>
>FOOL
>Ah, my first laugh of the day.
Okay, that's enough. I'm incredibly disappointed in this list. It's very
helpful at times, but at other times can
At 10/31/2002 03:00 PM, John Wards wrote:
On Thursday 31 Oct 2002 3:00 pm, jianking wrote:
> Who can tell me where I can get the cracked Zend Encoder 3.0 ?
Are you a muppet?
This list is run by the people who make Zend Encoder!
FOOL
Ah, my first laugh of the day.
--
S. Keller
UI Engineer
T
And you may want to try
$query = "select `id`, `link`, `heading`, `desc` from `links` where
`heading` like '%" . $entry . "%' or `desc` like '%" . $entry% . "' or
`keyword` like '" . %$entry% . "'";
if ( ! $inquiry = @mysql_query ( $query, $connection ) )
Robert Cummings wrote:
Echo your qu
Echo your query and ensure that $entry has data in it, otherwise
matching '%%' will match everything as you are getting.
Cheers,
Rob.
samug wrote:
>
> There's no php.sql, so I'll put it here.
>
> I'm trying to do a search from mysql database like this:
>
> if (!$inquiry = mysql_query("select i
uncompress eXtremePHP. It may get have a weird directory name. Change the
directory name to xpl.
copy xpl to /Users/pierreva/Sites/xpl either from the CLI or just drag the
xpl dir into your Site dir
cd /usr/local/lib
sudo vi php.ini
while in vi type /auto_prepend
(this is to search to the
There's no php.sql, so I'll put it here.
I'm trying to do a search from mysql database like this:
if (!$inquiry = mysql_query("select id,link,heading,desc from links where
heading like '%$entry%' or desc like '%$entry%'
or keyword like '%$entry%'",$connection)){
print "Search was unsuccesful!
The syntax as I have used it is (not the cleanest or best way to do
it by a long run - but it works):
>
this will have the checkbox be checked by default, also you can do what
ever other things you need to do based on the on/off conditions.
On Fri, 1 Nov 2002 10:47:43 -0500
"DonPro" <[EMAIL PRO
Did you install from the source code or a pre-compiled bin? (from Marc
Liyanage.?)
I installed PHP from Marc Liyanage pre-compiled bin
If so there is usually no php.ini file with it. If you are using
Marc's binary package then create a blank php.ini
file:
sudo mkdir -p /usr/local/li
if ( isset ( $_POST['shipper_save'] ) ) {
echo ( "It's Checked" );
}
Or use $_GET['shipper_save'] depending on your forum method.
DonPro wrote:
Hi,
I have a form with a checkbox like so:
When I submit, the value is always shown as "ON" regardless of whether I've
checked the checkbox or not.
Hi,
I have a form with a checkbox like so:
When I submit, the value is always shown as "ON" regardless of whether I've
checked the checkbox or not. So this begets the question, How can I code my
PHP form processing script to determine whether the checkbox was checked?
Thanks,
Don
--
PHP Ge
http://www.mysql.com/doc/en/Adding_users.html
http://www.mysql.com/documentation/lists.html
Kelly Meeks wrote:
Sorry for the OT post, quick mysql question...
I've found a couple of cool utilites that will create basic forms from a mysql table (add/edit/delete/search), which look they could save
Hi all,
I upgraded php and apache on my development machine (Windows XP). I am
now running apache 1.3.27 and php 4.2.3.
When I run a phpinfo(), I get my full list of stuff as expected, except
that the apache version reported is 1.3.24.
Has anyone else seen this. Have I done something wrong?
Th
Sorry for the OT post, quick mysql question...
I've found a couple of cool utilites that will create basic forms from a mysql table
(add/edit/delete/search), which look they could save some time coding.
However, I can't connect with them because my server is setup as localhost. I
How do you cr
Did you install from the source code or a pre-compiled bin? (from Marc
Liyanage.?)
If so there is usually no php.ini file with it. If you are using Marc's
binary package then create a blank php.ini
file:
sudo mkdir -p /usr/local/lib
sudo touch /usr/local/lib/php.ini
Then you wi
> -Original Message-
> From: @ Darwin [mailto:superbus22@;attbi.com]
> Sent: 01 November 2002 10:17
>
> Well, the way I've read it is that if you use require within control
> structures then all files are included, regardless of whether
> the script
> exits before it reaches its next if..
I'm using WebDAV in Apache 2, whenever I try to get an html file it works
fine, but when I try to get a PHP file I get an error saying it cannot get
filename.php. How come I can only get html files through WebDAV? Is there
a way to change this? Thanks!!
--
PHP General Mailing List (http://ww
I need a string expression to verify an alpha numeric password. This is what
i've come up with , however it does not work:
elseif ( (!ereg ("^[a-zA-Z]+$", $password)) || (!ereg ("^[0-9]+$",
$password)))
can anybody help? Thanks in advance
ADAM
--
PHP General Mailing List (http://www.php.net/)
On Friday 01 November 2002 22:04, Steve Jackson wrote:
Please use a descriptive subject!
> I have called it in another page by doing
> get_shipping($shipping)
>
> And then
>
> Echo "test $shipping";
$returned_variable = get_shipping($shipping);
echo $returned_variable;
Or you can use the return
Steve Jackson wrote:
function get_shipping($shippingvar)
{
$conn = db_connect();
$query = mysql_query("SELECT MAX(receipt_id) from receipts");
$myrow = mysql_fetch_row($query);
$shippingvar = $myrow["shipping"];
return $shippingvar;
Check http://php.net/mysql_fetch_row ... specifically, mysql
Hi,
I have been trying for most of the day to pull a variable from a db.
Finally managed that. Now I need to pass the result of a function to
another function.
How do you do this?
I assume the following if called in another page can be used?
function get_shipping($shipping)
{
$conn = db_connect()
hi.. a newbie here
a user fill up a form with username and password
passing the form through 'POST'
a session was created,
a user login,
a user logout + session destroy,
but after that if the user press back button
on the browser seems like the browser
will repost the username and password back
t
Hi,
When the user logs in , i create a session with session varialbles, the
session cookie is saved on clients computer.
When i log off i say
session_unset();
session_destroy();
setcookie(session_name());
The session in the tmp is deleted , but the cookie is still there , i know
this because wh
Hi,
When the user logs in , i create a session with session varialbles, the
session cookie is saved on clients computer.
When i log off i say
session_unset();
session_destroy();
setcookie(session_name());
The session in the tmp is deleted , but the cookie is still there , i know
this because wh
I installed PHP 4.2.3 on Mac OS 10.2.1 , activating the PHP Module with
the following commands on terminal window
cd /etc/httpd"
sudo apxs -e -a -n php4 libexec/httpd/libphp4.so"
echo 'echo "AddType application/x-httpd-php .php" >>
/etc/httpd/httpd.conf' | sudo sh -s
It works fine and I would l
Sorry to keep on at you guys but this is really getting to me now!
I want to pull a shipping quantity (the very last record in the Db) into
a page and am still having problems. Tried looping through the records
and I can't seem to get it to return anything:
function get_shipping($shippingvar)
{
$
> I need to write a stand alone script runing on a server that checks
and
> updates a database every week, is this posable and if so
> could some one direct me to a tutorial or to any info on doing this.
Yes, it's possible. Look into cron to run your script on a schedule.
---John Holmes...
--
Are you familiar with PHP, or are you more worried about how to "call"
and execute the script from the server itself on a weekly basis ( cron
job) ?
On Fri, 2002-11-01 at 14:41, DavÃð Ãrn Jóhannsson wrote:
> I need to write a stand alone script runing on a server that checks and
> updates a da
I need to write a stand alone script runing on a server that checks and
updates a database every week, is this posable and if so
could some one direct me to a tutorial or to any info on doing this.
Regards, David
Hi,
I need some help with a regexp for preg_split. I want the string
str = "this is 'a string that' contains phrases";
to be split into:
arr[] = "this";
arr[] = "is";
arr[] = "a string that";
arr[] = "contains";
arr[] = "phrases";
but I'm having some trouble coming up a good regexp
On Friday 01 November 2002 19:11, Ramesh Pillai wrote:
> Hai!
> I had downloaded Apache2.0.43 from apache site and
> installed on my linux7.1 box, the configure/make .make
> install went smooth, after that I started Apache
> server.
>
> Now my problem is when I tried to access localhost
> through a
Well, OK
I think your problem is here:
You sql *could* and probably does return more than one row.
Yet, your code as it is now will only return the first row.
You need to cycle through the result rows with a while statement, like
this:
while ($myrow = mysql_fetch_assoc($result)) {
$my_id
On Friday 01 November 2002 19:22, Davíð Örn Jóhannsson wrote:
> I have two arrays and I have complete list of numbers in one of them,
> lets call it $complete[]
> and another that has some values of the complete one, lets call that one
> $part[], now if I want to
> return an array with all the valu
1 - 100 of 115 matches
Mail list logo