you can't access $overall->foo because you've never defined it
you need:
function load($class){
eval("\$this->$class = new $class;");
return true;
}
Tim
> -Original Message-
> From: Tularis [mailto:[EMAIL PROTECTED]]
> Sent: 17 November 200
you've included the class definition at the top of every page, right?
and why don't you just use $_SESSION["cart"] directly instead of using
$cart?
that way you don't have to worry about scoping issues and continually
passing $cart through to functions.
Tim
> -Original Message-
> From: P
This might sound stupid but what the hell. I am running Red Hat 8.0
with Apache. I have apache working fine right now. I am wanting to
learn some php but really don't know where to start/look or anything
to tell the truth. I do "everything" from my FreeBSD 4.6.2 box but
Apache runs on Red Hat. With
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
oki im traying with php 4.2.2 .
but according to the changelog ...
it seems that nothing as change between 4.2.2 and 4.2.3
so ... i don't understand
bah this must the voodoo part of the informatics :P
Le Vendredi 15 Novembre 2002 16:11, vous
http://www.php.net/manual/en/tutorial.php
Bryan Cassidy wrote:
This might sound stupid but what the hell. I am running Red Hat 8.0
with Apache. I have apache working fine right now. I am wanting to
learn some php but really don't know where to start/look or anything
to tell the truth. I do "eve
I would like to create a web page which allow people to browse the directory structure
and the files listed in every directory. If you have experience about that, could you
kindly give me some advice or references? Thanks in advance.
Cheers,
Helen
-
Get a
hi,
i'm having a little problem with session_start() and utf-8 and i want just
to figure out if this is a bug or just my incompetence.
this is the code:
TITLE
saving this little piece in ansi encoding everything is working just fine.
BUT, saving this with enconding is set to UTF-8 t
Yes, I have included class definition on the top of the page.
The reason that was using $cart is the fact that I was calling
methods/functions of the object such as $cart->AddItem()..and I was not
sure whether $_Session['cart']->AddItem would be a correct way or not
Paul
-Original Message---
Hi,
I pass arguments in the url, how do i pass multiple args?
eg. href="test.php?num=1" (only one arg)
Do i use commas , please show me !
Thanks ,
Shaun
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
href='test.html?var1=1&var2=2'
Michael Egan
-Original Message-
From: Shaun [mailto:[EMAIL PROTECTED]]
Sent: 18 November 2002 12:06
To: [EMAIL PROTECTED]
Subject: [PHP] Get[Scanned]
Hi,
I pass arguments in the url, how do i pass multiple args?
eg. href="test.php?num=1" (only one arg)
Like this:
http://fqdn.domain.com/path/path/page.php?var1=value1&var2=value2&;...
Page.php can then reference $var1 and $var2 if register globals is on
(bad idea) or $_GET['var1'] and $_GET['var2']
hth
David Russell
IT Support Manager
Barloworld Optimus (Pty) Ltd
Tel: +2711 444-7250
Fax: +271
Hello,
I could use some help.
I have two framed pages, upperframe.html and lowerframe.html. In upper frame.html:
echo "";
echo "IDSubjectOpenClose";
while($row = MySQL_fetch_array($result)) {
echo "";
echo "{$row['id']}"; ??
echo "{$row['subject']}";
echo "{$row['open']}";
ech
Hi!
I need to solve this problem:
I have a menu bar on my main page and a dynamic zone on the others levels of
my html/php site. When I am clicking the 'item 1' on my menu, I want to load
item1.php3 in the dynamic section of the next page.
So I think I have to use sometinng like get variable i
On Sun, 17 Nov 2002 22:08:36 -0800 (PST), you wrote:
>> The function imap_open() is for opening an connection to an IMAP
>> server. It doesn't operate directly on a file system and it is
>> ignorant of the actual mailbox implementation as this is all
>> abstracted by the IMAP protocol. Where the
So, the link might look like:
item 1
Then page.php might look like this:
BUT this would be smarter:
Enjoy!
Justin
on 18/11/02 11:07 PM, Cyclone Médias ([EMAIL PROTECTED])
wrote:
> Hi!
>
> I need to solve this problem:
>
> I have a menu bar on my main page and a dynamic zone on the
instead of
if(empty($item)) { ...
I would recomend
if(is_numeric($item)) { ...
Justin French wrote:
So, the link might look like:
item 1
Then page.php might look like this:
include("{$item}.php");
?>
BUT this would be smarter:
// uncomment this next line if you have register_globals OFF
/
You don't need to use forms (which you got wrong), but simple links with
target="lowerframe" and
href="lowerframe.php?tableID=$tableID", then you get in your
lowerframe.php $_GET['tableID']
Adrian Partenie wrote:
Hello,
I could use some help.
I have two framed pages, upperframe.html and lowe
<>
.
.
.
<>
The problem with this is that I need to do it at the
Linux level, or else I'm not saving PHP the trouble of
searching through every file to find it.
__
Do you Yahoo!?
Yahoo! Web Hosting - Let the expert host your site
http://webhosting
I am trying to send an email with form vars inside it but I cannot seem
to get the vars to be parsed.
Here is my code:
/* message */
$message = '
Products Purchased:
You are using single quotes, either do
$message = ' '. $some_var . ' .';
or
$message = " . $some_var ."; // using double quotes
Clint Tredway wrote:
I am trying to send an email with form vars inside it but I cannot seem
to get the vars to be parsed.
Here is my code:
/* messag
On Monday 18 November 2002 15:45, Adam wrote:
> Does anyone know if PHP has the capabilities of being able to calculate
> sunrise/sunset times by entering longitude/latitude values if someone was
> smart enough to write code for it?
I should think so.
> If not, is there any
> programs/applicatio
> -Original Message-
> From: OrangeHairedBoy [mailto:[EMAIL PROTECTED]]
> Sent: 16 November 2002 07:23
> To: [EMAIL PROTECTED]
> Subject: [PHP] Re: session handling
>
>
> Here's what you need:
>
> on page 1.php:
>
> session_start();
> $temp = 'someValue';
> session_register("temp");
>
> -Original Message-
> From: Jeff Bluemel [mailto:[EMAIL PROTECTED]]
> Sent: 17 November 2002 17:50
>
> ok - the more I look at this the more I'm a bit lost.
> passing the variables
> from php to java makes sense. however, from your scripts you
> listed it is
> only possible to pass js
> -Original Message-
> From: Scott [mailto:[EMAIL PROTECTED]]
> Sent: 17 November 2002 20:55
> To: php-general
> Subject: Re: [PHP] running php as cgi script
>
>
> Well, I've got a few test scripts to run by following the
> suggestions from
> the posts. There's just one thing that's no
You may try sending some expire headers, but probably won't help you
Hakkan Lui wrote:
Dear all,
I used PHP to generate a report on a browser, using forms. When I print the
report using Netscape->Print, a page with the following page appeared
instead of the report.
on 19/11/02 12:31 AM, Marek Kilimajer ([EMAIL PROTECTED]) wrote:
> instead of
> if(empty($item)) { ...
> I would recomend
> if(is_numeric($item)) { ...
very true -- thanks for picking that up!
Justin French
http://Indent.com.au
Web Developent &
Graphic Design
--
> -Original Message-
> From: Paul [mailto:[EMAIL PROTECTED]]
> Sent: 18 November 2002 11:49
> To: 'Tim Ward'; [EMAIL PROTECTED]
> Subject: RE: [PHP] RE: Problem with Class - incomplete object error
>
>
> Yes, I have included class definition on the top of the page.
And are you 100% sure
Me again.
I think this really badly documented in the documentation. I hope this is
solved soon. To be more detailed: The preg_replace_callback()-function
documentation says it is the same as the preg_replacec()-function, except
for the second argument. Apparently, it is not, since it doesn't
On Mon, 18 Nov 2002, Bikeman wrote:
> Me again.
>
> I think this really badly documented in the documentation. I hope this is
> solved soon. To be more detailed: The preg_replace_callback()-function
> documentation says it is the same as the preg_replacec()-function, except
> for the second ar
if (is_uploaded_file($_FILES["imagefile"]["tmp_name"]) &&
($_FILES["imagefile"]["type"] != "image/jpeg" &&
$_FILES["imagefile"]["type"] != "image/gif" && $_FILES["imagefile"]["type"]
!= "image/jpg" && $_FILES["imagefile"]["type"] != "image/png"))
I'm trying to weed out everything that isn't a .
You can still use onclick event to pass value kept in a javascript variable:
function action(url) {
location.href='http://www.domain.net/' + url + '&var=' + javascript_var;
return false;
}
Jeff Bluemel wrote:
it's easy enough to pass php variable to javascript, but doing this the
other
Helen,
> I would like to create a web page which allow people to browse the
directory structure and the files listed in every directory. If you have
experience about that, could you kindly give me some advice or references?
Thanks in advance.
=To this simple boy it seems like a strange, even a p
I installed php 4.2.3 on Apache2.
When I write I get an error message telling me that
I have an undefined variable $anyvariable. Is this something new that one
must declare all variables?
In my previous version of php the expression above would return an empty
string - no error messages...
Hope
As noted in the error, you must declare the class definition _before_
session_start():
require_once('includes/cart.php');
session_start();
methods are not stored within session
Paul wrote:
Hi All:
I have a simple page that checks for existence of object in a session.
If the object is not stor
Hi,
I am using PHP 4.2.2 and would like to know what is the expected behavior when
I don't put an explicit dot in the open_basedir path.
Should I be able to open a file in "./tmp" ?
Another question: let's say my document root is /www and I put a /www in open_basedir,
then should I be able to op
At 15:57 18.11.2002, Martin Magnusson spoke out and said:
[snip]
>I installed php 4.2.3 on Apache2.
>
>When I write I get an error message telling me that
>I have an undefined variable $anyvariable. Is this something new that one
>must declare all variables?
I apologize - javascript.
Jeff
"Marek Kilimajer" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> You can still use onclick event to pass value kept in a javascript
variable:
>
>
>
> function action(url) {
> location.href='http://www.domain.net/' + url + '&v
You need this:
while($row=mysql_fetch_array($res)) {
echo first column;
if($row=mysql_fetch_array($res)) {
echo second column;
}
}
Darren McPhee wrote:
Does anybody know of a SELECT QUERY that will select every other record of a
table ? I want to do this so that I can display m
Seems to me that you are missing the opening and closing PHP tags ()
Quoting Clint Tredway <[EMAIL PROTECTED]>:
### I am trying to send an email with form vars inside it but I cannot seem
### to get the vars to be parsed.
###
### Here is my code:
### /* message */
### $messa
I just pulled out the code that I needed help with.
I did as was suggested before and now it only outputs to the first
variable.
I still need some help with this..
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Monday, November 18, 2002 9:11 AM
To: Clint Tr
Nothing I can see. What is not working?
JohnMeyer wrote:
if (is_uploaded_file($_FILES["imagefile"]["tmp_name"]) &&
($_FILES["imagefile"]["type"] != "image/jpeg" &&
$_FILES["imagefile"]["type"] != "image/gif" &&
$_FILES["imagefile"]["type"] != "image/jpg" &&
$_FILES["imagefile"]["type"] != "i
On Monday 18 November 2002 23:19, Clint Tredway wrote:
> I just pulled out the code that I needed help with.
>
> I did as was suggested before and now it only outputs to the first
> variable.
> ### .$title.
You did not do as was suggested.
You need to do something like:
$mes
> >That's not actually true. The imap functions are an abstraction on top of
> >many different backends, not just imap. You can talk to pop and nntp
> >servers as well, for example, and yes, even a local mailstore with no
> >server involved at all.
>
> Oops, my mistake. I was not aware. And of
could somebody tell me why libphp4.so (php-4.2.3 --with-informix,
httpd-2.43, RH8, Intel) links against
libthasf.so
libthgen.so
libthos.so
libthsql.so
and misses
libifasf.so
libifgen.so
libifos.so
libifsql.so
4.2.2 works fine with these libs and does not have the above ones.
and why do i have
you need to do it another way, e.g.:
for($i=0; $i < MAX_FILES; $i++) {
if(!$_FILES['photo']['tmp_name']) break;
... now work with the file.
}
electroteque wrote:
hi i need to do a foreach on post files array ie
_REQUEST['photo'] or _POST['photo'] doesnt work
only _FILES['photo'] wor
Hi,
I create images on the fly using imagettftext
my isp recently upgraded apache and the
images no longer appear.
here's the example given in the manual with imagettftext()
i've commented out the content type so you can see
the error
http://www.sitestogo.biz/testimage.php
and here's phpinfo().
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
arf ... I failed to compile php 4.2.2
du to compiling error in sapi/apachefilter module for http2.0.43
on a RH 7.2
it's not my days
Le Lundi 18 Novembre 2002 15:42, Oliver Fänger a écrit :
> could somebody tell me why libphp4.so (php-4.2.3 -
JohnMeyer
> if (is_uploaded_file($_FILES["imagefile"]["tmp_name"]) &&
> ($_FILES["imagefile"]["type"] != "image/jpeg" &&
> $_FILES["imagefile"]["type"] != "image/gif" &&
$_FILES["imagefile"]["type"]
> != "image/jpg" && $_FILES["imagefile"]["type"] != "image/png"))
>
> I'm trying to weed out everyt
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
hum it seems that the freetype support is broken .
also phpinfo() lokk like telling it work it seems to failed
Le Lundi 18 Novembre 2002 15:56, [EMAIL PROTECTED] a écrit :
> Hi,
> I create images on the fly using imagettftext
> my i
What is everyone's opinion of the best php ide? Preferably a free one? I
currently just use multiedit but downloaded phpcoder this weekend.
Thanks,
Eddie
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Edward Peloke wrote:
What is everyone's opinion of the best php ide? Preferably a free one? I
currently just use multiedit but downloaded phpcoder this weekend.
This is regularly asked. The archives will give you all the views you need.
HTH
Chris
--
PHP General Mailing List (http://w
When I upgraded to 4.2.3 from 4.2.2 I no longer am able to see HTML before
PHP code that takes a while to process.
I made sure that I've set "output_buffering =off" but I still have this
problem.
When I hit the page with the following code on my server, it will wait 10
secs before it displays any
set error reporting to 55
--
Maxim Maletsky
[EMAIL PROTECTED]
"Martin Magnusson" <[EMAIL PROTECTED]> wrote... :
> I installed php 4.2.3 on Apache2.
>
> When I write I get an error message telling me that
> I have an undefined variable $anyvariable. Is this something new that one
> must dec
try calling implicitly flush() function:
Example code:
Working...
--
Maxim Maletsky
[EMAIL PROTECTED]
"Adam Humphrey" <[EMAIL PROTECTED]> wrote... :
> When I upgraded to 4.2.3 from 4.2.2 I no longer am able to see HTML before
> PHP code that takes a while to process.
>
> I made sure that
add single quote ['] before and after every dot [.] :
/* message */
$message = '
Products Purchased:
Customer Information:
check the value of output_handler or try calling flush() before the code.
Did you not change anything in apache?
Adam Humphrey wrote:
When I upgraded to 4.2.3 from 4.2.2 I no longer am able to see HTML before
PHP code that takes a while to process.
I made sure that I've set "output_buffering =o
Steps:
1. Install PHP. Already installed?
2. make a file accessible via browser and call it test.php
3. put this into it:
";
phpinfo();
?>
4. Now, access that file.
If you see "Hello World" outputted followed by a long blue-gray table
with lots of server data -
look at here:
www.php.net/dir
--
Maxim Maletsky
[EMAIL PROTECTED]
Helen Muller <[EMAIL PROTECTED]> wrote... :
>
> I would like to create a web page which allow people to browse the directory
>structure and the files listed in every directory. If you have experience about that,
>could you
I'm running php-4.2.2-8.0.5 on Redhat 8.0
Lately I've noticed that when doing a form, listbox variables have funky
values in certain situations. Unfortunately, I haven't been to
determined what the certain situation is.
Here's an example.
Here is the listbox in the form:
4
6
I saw some similar code once... But PHP does not have it installed by
default.
Try searching on Google, HotScripts and SourceForge... I'm sure you will
come up with something
--
Maxim Maletsky
[EMAIL PROTECTED]
"Adam" <[EMAIL PROTECTED]> wrote... :
> Does anyone know if PHP has the capabilit
where is that coming from? What encoding is that? Any info of the "b abbab abbab
baaba"
part?
--
Maxim Maletsky
[EMAIL PROTECTED]
"Roman Duriancik" <[EMAIL PROTECTED]> wrote... :
> Please Help me !
> This is not a php problem but if someone knows how to decode this :
> I have document i
That is what you should be getting right?
When you have a select statement that has a value as the first one then
that is what you will get when you post or get the form.
if you want a blank one then do
and that should not pass anything in the post or get...
On Mon, 2002-11-18 at 17:30, Dav
The explicit dot is to tell the system that you want the current working
directory.
So by saying "./tmp" you want the tmp (directory or file) that is
located in the current working directory.
If i understand what you are saying is that "./tmp" is a directory in
the current working directory. If
No, he's saying that:
echo $sqn;
displays SQN=4.
it should say simply 4
- Original Message -
From: "BigDog" <[EMAIL PROTECTED]>
To: "Dave J. Hala Jr." <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Monday, November 18, 2002 4:33 AM
Subject: Re: [PHP] Post Problem
That is what you s
I selected the option that would have the value "4", what I get is
"4SQN=4" I should get just the value "4"
On Mon, 2002-11-18 at 04:33, BigDog wrote:
> That is what you should be getting right?
>
> When you have a select statement that has a value as the first one then
> that is what you will
Probably the best way is to convert the times all into seconds and then
do the math to get the last day of the week.
Should be relatively easy...
HTH
On Mon, 2002-11-18 at 05:57, Noodle Snacks wrote:
> I want to get the unix timestamps of the first and last days of this week...
>
> Currently I
What does the entire form look like?
On Mon, 2002-11-18 at 17:43, Dave J. Hala Jr. wrote:
> I selected the option that would have the value "4", what I get is
> "4SQN=4" I should get just the value "4"
>
>
> On Mon, 2002-11-18 at 04:33, BigDog wrote:
> > That is what you should be getting rig
probably, what you tried is the most elegant way. But, you got me: "mathematically"
I did *this* for you:
\n";
print_r($res);
?>
Cheers, and thank my curiousity :)
--
Maxim Maletsky
[EMAIL PROTECTED]
"Noodle Snacks" <[EMAIL PROTECTED]> wrote... :
> I want to get the unix timestamps of the
just mail: [EMAIL PROTECTED] :) You succeded though :)
--
Maxim Maletsky
[EMAIL PROTECTED]
[EMAIL PROTECTED] wrote... :
>
>
> not sure how to post
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
--
PHP General Mailing Lis
SQN: 4SQN=4 SQN: 4SQN=4
Nifcap - Export Checks
Export Checks
https://122.192.204.199/payment/tmp/checks_4SQN=4.zip";>checks_4SQN=4.zip
https://122.192.204.199/payment/pay_menu.php"
but where is the form that you created...
That was i can see what you have set up inside of the form tag...
On Mon, 2002-11-18 at 17:51, Dave J. Hala Jr. wrote:
> SQN: 4SQN=4 SQN: 4SQN=4
>
>
>
> Nifcap - Export Checks
>
>
>
>
> >Export Checks
>
>
>
> -Original Message-
> From: Dave J. Hala Jr. [mailto:[EMAIL PROTECTED]]
> Sent: 18 November 2002 17:30
>
> I'm running php-4.2.2-8.0.5 on Redhat 8.0
>
> Lately I've noticed that when doing a form, listbox variables
> have funky
> values in certain situations. Unfortunately, I haven't b
Hi gang
I'm suffering under the lack of an SQL, which would've made this loads
easier, so instead I'm forced at using a bunch of arrays to keep track of
the info instead...
But here's the prob: I'm working on a list of premieredates for movies.
Here's the HTML version I made to figure out how to
$date = "2002-11-22";
$myvar = "a" . str_replace("-","",$date);
$$myvar = "hi";
echo "$a20021122";
Enjoy.
On Mon, 2002-11-18 at 13:05, -<[ Rene Brehmer ]>- wrote:
> Hi gang
>
> I'm suffering under the lack of an SQL, which would've made this loads
> easier, so instead I'm forced at using a bunc
Convert $day="2002-11-22" to just $day="d20021122" and $$day will be
really $d20021122
-<[ Rene Brehmer ]>- wrote:
Hi gang
I'm suffering under the lack of an SQL, which would've made this loads
easier, so instead I'm forced at using a bunch of arrays to keep track of
the info instead...
But h
I ran across this recently ... thought you might find it interesting ...
http://public.yahoo.com/~radwin/talks/yahoo-phpcon2002.pdf
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I think you should comment on this bug:
http://bugs.php.net/bug.php?id=18648
provide the details about your system configurations and everything else
that might help us to fix it. Though, it seems to be an Apache2 problem,
so try upgrading that as well.
--
Maxim Maletsky
[EMAIL PROTECTED]
"
i know nothing about building php really but
my isp recently upgraded(version 4.1.2) and now imagettftext() function doesn't
work.the error i get is:
Warning: libgd was not built with FreeType font support ..
see phpinfo()
http://217.114.163.70/info.php
what i noticed was this bit of the configur
My question was: what is supposed to happen if there is no dot
in the open_basedir path, for example:
open_basedir = /www
Should I be able to open a file in ./tmp ?
The way I understand the open_basedir doc, I should not be able.
But another PHP user is telling me that he can open a file in ./t
I'd be willing to post the entire page, but it's 154 lines of embedded
php. Here's the FORM block portion of the page. The $sqn_list_box
variable contains the listbox.
$export_form .="
Export Check file: $sqn_list_box
";
On Mon, 2002-11-18
I've enabled output buffering in php.ini with
output_buffering = On
output_handler = ob_gzhandler
I have had one user in the UK email and say their browser is crashing,
has anyone seen this with output compression?
Any other comments about using ob_gzhandler?
Chris Mason
[EMAIL PROTECTED]
Box
Like I have a clue :)
I want to convert some fields from TEXT to VARCHAR(255).
(Going from a textarea to an input type=text)
I've checked the length of each $mydata->ST, so I won't be losing data.
What I am worried about is losing data if there are \n in any of the fields.
How do I check to see i
I have a form that is acting like an email page where there Subject is being
submitted from one page to another and tagging the subject with "RE: ". I
want to be able tack the RE: on but only if it doesn't already have it
there. I know that I can use and if statement, but how to I check the left 4
Thanks for your help Jason, have you got any examples that you might be able
to send me on how you have used reformime to decode email messages
-Original Message-
From: Jason Wong [mailto:[EMAIL PROTECTED]]
Sent: 18 November 2002 05:35
To: [EMAIL PROTECTED]
Subject: Re: [PHP] PHP Script to
I want to make a very simple form which asks for a starting city/state
and an ending city/state. When the user hits submit, the number of miles
from city A to City B is displayed ... no directions, no maps, no exact
locations .. just the milage. Can I use mapquest to do this? how? Is
there anoth
Does anyone know how I can set something up that tells the distance between
one Zip Code and another? I'm needing to be able to set something up where
one user's record is compared to another and a distance is measured. Any
have any ideas?
--
PHP General Mailing List (http://www.php.net/)
To un
On Tuesday 19 November 2002 04:21, vernon wrote:
> Does anyone know how I can set something up that tells the distance between
> one Zip Code and another? I'm needing to be able to set something up where
> one user's record is compared to another and a distance is measured. Any
> have any ideas?
S
On Tuesday 19 November 2002 03:37, John Taylor-Johnston wrote:
> Like I have a clue :)
>
> I want to convert some fields from TEXT to VARCHAR(255).
> (Going from a textarea to an input type=text)
> I've checked the length of each $mydata->ST, so I won't be losing data.
> What I am worried about is
On Tuesday 19 November 2002 03:48, vernon wrote:
> I have a form that is acting like an email page where there Subject is
> being submitted from one page to another and tagging the subject with "RE:
> ". I want to be able tack the RE: on but only if it doesn't already have it
> there. I know that I
On Tuesday 19 November 2002 03:54, Simon Chilmaid wrote:
> Thanks for your help Jason, have you got any examples that you might be
> able to send me on how you have used reformime to decode email messages
Basically if you want to extract and save all attachments then you just pipe
the message to
I wrote a bug report but [EMAIL PROTECTED] bogusified my report without the
least bit of information.
My script uses multiple includes and the file names all have the same
syntax. So instead of writing each individual include, I created an
array which contains all the filenames
function LoadSectio
Hi All
I am trying to create a login page using php and mysql database.
This is the code that I am trying to use:
// File Name: auth04.php
// Check to see if $PHP_AUTH_USER already contains info
if (!isset($PHP_AUTH_USER)) {
// If empty, send header causing dialog box to appear
header('
Copy and pasted from the PHP manual:
"If the include occurs inside a function within the calling file, then all
of the code contained in the called file will behave as though it had been
defined inside that function. So, it will follow the variable scope of that
function."
So in other words any s
Is
To: <[EMAIL PROTECTED]>
Sent: Monday, November 18, 2002 2:18 PM
Subject: [PHP] Create Login Page
> Hi All
>
> I am trying to create a login page using php and mysql database.
>
> This is the code that I am trying to use:
> // File Name: auth04.php
> // Check to see if $PHP_AUTH_USER already
I recently set up a log in page. I'm doing it a little differently than
you. First I establish a session and set up two session variables
(sessusername and sesspassword).
I check to see if these variables have been set,
if they have, I then check the username and password with the database to
ma
I'm been ignored on this question for 4-5 days now. even if it is not
possible could somebody please verify this?
is it possible to pass a variable from javascript directly to php WITHOUT
using either a link, or a form submit to pass the variables? I've gotten a
work around to call an image that
Yep,
You need make global every variable used in yout include.
Maybe, you should declare-
GLOBAL $_GET ;
or do not call function to include your include
just do simply like this,
foreach ($sections as $key => $value) include "mod.section." . $value .
".php";
- Original Message -
From:
That, or an iframe. You can't pass variables on the same request, though.
Jeff Bluemel wrote:
I'm been ignored on this question for 4-5 days now. even if it is not
possible could somebody please verify this?
is it possible to pass a variable from javascript directly to php WITHOUT
using eithe
No...
Javascript need to send that data back to the server and how are you
going to do that?
You will have to use a form or a link or some method to send it to the
server.
Now you can use php to write your javascript code that can be used to
link to a php file that can be run on the client side
yes, have tried googling around... i came across one but the link no longer
works:
http://www.hotscripts.com/Detailed/4984.html
if anyone knows of any, could they post the links here?
thanks,
adam.
- Original Message -
From: "Jason Wong" <[EMAIL PROTECTED]>
Newsgroups: php.general
To: <
1 - 100 of 156 matches
Mail list logo