Hi, can someone point me toward a tutorial that shows how to register info
(e.g. username, login status, and user preferences) and do this in a session
without using cookies... is this even possible?
thanks!
duirfire
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EM
Hi, again!
Didn't work...
This is the scene: (file.php?a=input)
(file.php?a=reg)
Trying to echo type...
${$myfile[$count] . '_type'} // NOT WORKIN'
${$myfile$count}_type // NOT WORKIN'
Any suggestions?
Fredrik A. Takle
Bergen, Norway
""FredrikAT"" <[EMAIL PROTECTED]> skrev i melding
99qqq
Try this example :
Regards,
Philip
On Wed, 28 Mar 2001, FredrikAT wrote:
> Hi, again!
>
> Didn't work...
>
> This is the scene: (file.php?a=input)
>
>
> (file.php?a=reg)
> Trying to echo type...
> ${$myfile[$count] . '_type'} // NOT WORKIN'
> ${$myfile$count}_type // NOT WORKIN'
>
> A
I'm working with some forms that need the data validated. Dates, times etc.
my question is, how do I "reset" the form back to the original screen with variables
intact so they can make the changes?
is there a code snippet some place i can work with?
thanks,
chris
--
PHP General Mailing
Chris,
Go to www.thickbook.com. Julie Meloni has a tutorial there which gives you
exactly what you want. It's the one which has to do with custom error
messages, which , believe or not, are on the subject of data validation.
Miles
At 06:31 PM 3/27/01 -0500, Chris Worth wrote:
>I'm working wi
Okay, here is the question, I have a form that will continue to grow in the
number of elements that it contains. The values are passed into a function,
and then written out to a file.
Currently, I have 38 seperate values that are being passed into this
function, making the arguments for the func
Hi!
Is there any possibility to import an existing pdf file in PHP 4.0.4pl1
(pdflib 3.0.3) to modify it?
Thanks in advance!
Ciao
Steffen
---
+---+
| Steffen Wieschalla|
|
Art,
Thanks for the suggestion, but I think there is a flaw in your
solution.
The original issue was how to get at the value of a constant where the
$constant_name is dynamically created as a variable.
In your solution you have defined constant_name as a constant!
So when you assign it, it does
> while ($row = mysql_fetch_array($results)) {
> $tmp = get_item_reorder_priority($row["item_sku"]);
> $list[$r]["priority"] = $tmp[0];
> $list[$r]["sku"] = $row["item_sku"];
> $r++;
>}
>
>$list = array_multisort($list["priority"], SORT_NUMERIC, SORT_DESC);
>
> and it retur
Hi,Hi,
I have this code below which is supposed to be generating a password like
QCCQCN2-IUZ with 10 characters - All but three in the first section (7) and
three in the last part - but does not work in all cases. Sometimes it prints
LPSA3WD-IM or G22G2G9-FC.
Is there a catch in the code that will
My apologies for assuming too much of the variable names. Thank you for
correcting me.
Your response has caused me good confusion though. If I remove the ${...}
notation I get quite a different output (specifically, there's no output).
Are you sure the parser ignores it?
This is the code I sug
This worked for me as well, and helped me with a problem I was having!
How would you show what option was selected in a drop down box. I have a
form the user fills out, this goes to a confirmation page to ensure the data
enetered is correct. I have a drop down box for states, and I cant seem to
m
i used something like this in a series of checkbox's to grab all the
values in an arrayi'm not sure if it can be used in this way though,
but give it a go...
-jack
Jason Lotito wrote:
>
> Okay, here is the question, I have a form that will continue to grow in the
> number of elements that
use
>foo bar
Peter
Ps thanks again David & Jason M & Phillip for your help :>
-Original Message-
From: S. Efurd [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, March 28, 2001 10:48 AM
To: [EMAIL PROTECTED]
Subject: Re: [PHP] setting Check box
This worked for me as well, and he
I thought about doing it this way, but repeating this 50 times seems a bit
ineffecient, perhaps i am looking for a shortcut that does not exist? I had
hoped I was missing something obivious.
Thanks
Steve
- Original Message -
From: "Peter Houchin" <[EMAIL PROTECTED]>
To: "S. Efurd" <[EMAI
How do I store (and update) an array within a session...
Like I'd have
cuz I'll have more pages...
$time["page20"]="300";
is this going to automatically load into the session vars or I have to do
something first?
. Christian Dechery (lemming)
. http://www
On Tue, 27 Mar 2001 18:48, Daniel B I wrote:
> It.s me, again :)
> There is trick to find out if php will be compiled well
> (I mean with jpeg support):
>
> when issuing the ./configure command in php,
> after putting all the options, put something like this:
> ./configure ... > cf.log
>
> (this i
cox Tue Mar 27 16:54:05 2001 EDT
Modified files:
/php4/pear/DB ibase.php oci8.php
Log:
oci8.php
* added not capable for fetchInto when $rownum !== null (feature not
supported yet)
* fix fetchInto to return null on no more data
* Removed extra che
am not sure if it would work or not but maybe if you tried
$foo= if ($areacode == '$bar') { echo
'SELECTED '; }
>foo bar
-Original Message-
From: S. Efurd [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, March 28, 2001 11:20 AM
To: [EMAIL PROTECTED]
Subject: Re: [PHP] setting Chec
On Wed, 28 Mar 2001 10:18, S. Efurd wrote:
> This worked for me as well, and helped me with a problem I was having!
>
> How would you show what option was selected in a drop down box. I have
> a form the user fills out, this goes to a confirmation page to ensure
> the data enetered is correct. I h
On Tue, 27 Mar 2001 18:48, Jochen Kaechelin wrote:
> how can I connect to a remote-database from
> my local dos-window?
>
> I use the following without success:
>
> mysql -u XXX -h mysql-XXX -p -D
>
>
> Jochen Kaechelin
Should you not have a full hostname as the argument for -h ?
--
I'm still confused. I'm looking to sort the list[$r] part of the array based
on what value $list[$r]["priority"] is. What would the function's arguments
be?
""Stuart J. Browne"" <[EMAIL PROTECTED]> wrote in message
99rajk$i0v$[EMAIL PROTECTED]">news:99rajk$i0v$[EMAIL PROTECTED]...
> > while ($row
I'm attempting to write a chat which streams HTML. There's a problem with the
main function that's responsible for 'streaming'. It loops endlessly and if
anytihng new appears in the database, it parses it into HTML and outputs it
via the echo command. The chatboxDisplay method is what is respon
Thanks, that did it.
Steve
- Original Message -
From: "David Robley" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, March 27, 2001 7:58 PM
Subject: Re: [PHP] setting Check box
> On Wed, 28 Mar 2001 10:18, S. Efurd wrote:
> > This worked for me as well, and helped me with a
I've an interesting problem that after using php to restart SAMBA the server
no longer parses php to that particular browser.
This is really really weird!!
The situation is that I've built a php tool to restart server services such
as atalk and samba. Starting/Restarting/Stopping atalk works bea
you can't stream output like that...netscape will wait until your
HTML output is done, but if you're infinitely looping, it won't be, and
you'll never get your tags.i've seen a number of
posts trying to do chats and flush() the output, but bottom line, if you
don't send it a complete html
> you can't stream output like that...netscape will wait until your
> HTML output is done, but if you're infinitely looping, it won't be, and
> you'll never get your tags.i've seen a number of
> posts trying to do chats and flush() the output, but bottom line, if you
> don't send it a com
adaniel Tue Mar 27 19:17:00 2001 EDT
Modified files:
/php4/pear/HTML Page.php
Log:
bug fix in toHtml
Index: php4/pear/HTML/Page.php
diff -u php4/pear/HTML/Page.php:1.1 php4/pear/HTML/Page.php:1.2
--- php4/pear/HTML/Page.php:1.1 Fri Mar 23 20:36:38 2001
+++
I've noticed there isn't really a jumping off point for the PHP-GTK beginners
and users. I spent the last few hours throwing a site together that has the
basics to fill this void.
It has:
1.) An application archive
2.) News
3.) Discussion
4.) Helpful Links
I've put up one of my initial apps an
So tired I forgot to put in the URL:
http://gtk.php-coder.net
--Joe
On Tue, Mar 27, 2001 at 10:32:26PM -0500, Joe Stump wrote:
> I've noticed there isn't really a jumping off point for the PHP-GTK beginners
> and users. I spent the last few hours throwing a site together that has the
> basics t
I got a question here. How would you go about calling variables from a form. I'm sure
this is super-easy, but I'm a newbie. Any help would be greatly appreciated.
The input type name is the variable so say you have
your variable = $foo
Peter
-Original Message-
From: chris herring [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, March 28, 2001 2:15 PM
To: [EMAIL PROTECTED]
Subject: [PHP] Blah I'm Stupid
I got a question here. How wou
On Wed, 28 Mar 2001 13:44, chris herring wrote:
> > I got a question here. How would you go about calling variables from a
> form. I'm sure this is super-easy, but I'm a newbie. Any help would be
> greatly appreciated.
Just prefix the form object names with $
Say you have a text box set up like
How to send attachment with email with php?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]
how would you go about writing that data do a text file then?
- Original Message -
From: "David Robley" <[EMAIL PROTECTED]>
To: "chris herring" <[EMAIL PROTECTED]>;
<[EMAIL PROTECTED]>
Sent: Tuesday, March 27, 2001 10:19 PM
Subject: Re: [PHP] Blah I'm Stupid
> On Wed, 28 Mar 2001 13:44,
On Wed, 28 Mar 2001 14:31, chris herring wrote:
> - Original Message -
> From: "David Robley" <[EMAIL PROTECTED]>
> To: "chris herring" <[EMAIL PROTECTED]>;
> <[EMAIL PROTECTED]>
> Sent: Tuesday, March 27, 2001 10:19 PM
> Subject: Re: [PHP] Blah I'm Stupid
>
> > On Wed, 28 Mar 2001 13:44,
ok here's the script i have, and i keep getting errors
$text", "r+");
$fp = fclose("file.txt");
echo "";
echo "";
echo "";
echo "";
echo "";
?>
what's wrong with it. it says it's with the fputs and fclose things.
- Original Message -
From: "David Robley" <[EMAIL PROTECTED]>
To: "chris
On Wed, 28 Mar 2001 14:47, chris herring wrote:
> ok here's the script i have, and i keep getting errors
>
> $fp = fopen("file.txt", "w");
> $fp = fputs("file.txt", "$text", "r+");
> $fp = fclose("file.txt");
>
> echo "";
> echo " value=\"http://\">"; echo " size=\"20\">";
> echo " Link\">";
>
>
heh,
dunno, maybe the $PATH environment var doesn't include /sbin or /usr/sbin.
Test w 'ls' see if you can get a directory listing, at least?
"Steven Shepherd" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Brad,
>
> Thanks for the response. Either method t
You can use URL mode for PHP4 session if you want session w/o cookie.
How about read this link?
http://www.zend.com/zend/tut/session.php
--
Yasuo Ohgaki
"duirfire" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Hi, can someone point me toward a tutorial tha
""Nick Norton"" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Does anyone know of a method to read a remote password protected file
> without actually downloading it locally and then reading?
I suppose you must download file before reading.
There are so many
Hi,
I am curious to know why you need to use the /n, and what it actually does,
because I had a page that used them, and i removed them all and it still
works fine.
Also, is it seen as good or bad practive to use \" only when required or all
the time.
i.e
echo ""; //Doesn't need to use \"
echo "
At 06:04 PM 28/03/2001, you wrote:
>Hi,
>
>I am curious to know why you need to use the /n, and what it actually does,
>because I had a page that used them, and i removed them all and it still
>works fine.
As far as the HTML output, it wont affect how it shows up on the screen,
but if you look a
Hello,
* i am new to linux environment, where can i get IMAP installation guide
* where to get a proper IMAP software
--
--
Any suggestions would be appreciated.
Thank You
Khai Mun, Ng
--
PHP General Mailing List (http://www.php.ne
Hello,
* i wondering where to get ifo on developing web e-mail
* what standard should i use to deveping to software
--
--
Any suggestions would be appreciated.
Thank You
Khai Mun, Ng
--
PHP General Mailing List (http://www.php.net/
> I am curious to know why you need to use the /n, and what it actually does,
> because I had a page that used them, and i removed them all and it still
> works fine.
Have a look here (the main manual is down this second) :
http://uk.php.net/manual/en/language.types.string.php
An example use
I'm facing a problem with Special Characters ($, %, &,
\, /, ;, :, ", ') etc..
We are sending a varibale in a query string like this
:
with $title containing multiple words & these special
characters, it is not passed. I get an error.
Without urlencode, multiple words are not passed with
Hi.
I've installed a module named...
php-4.0RC2_jstring-1.0.tar.gz
and an instalation seemed prety good, with no errros.
BUT, it doesn't work!
An error like this shows on my browser:
-- ERROR MES --
Warning: Unable to load dynamic library './jstring.so' - ./jstring.so: cannot open
shared ob
Dear Khai,
If you're planning to your webmailapplication in PHP visit www.phpposta.com.
Right now it's in a developing stage but you can download the code and have a look
at it. Ofcourse it's GPL, if you make some additions, changes in the code please let
me know!
Best regards,
Maarten Verheij
Hello,
can i make a function that displays the __LINE__ of it's caller?
ie:
function show_caller_s_line()
{
echo "my caller's line is:" . __LINE__;
}
1: blahblahblah
2: show_caller_s_line()
3: blahblah
output should be:
my caller's line is: 3
is that possible?
thanks.
-elias
--
PH
> >I am curious to know why you need to use the /n, and what it actually
does,
> >because I had a page that used them, and i removed them all and it still
> >works fine.
>
> As far as the HTML output, it wont affect how it shows up on the screen,
> but if you look at the HTML code, you will notice
php-i18n Digest 28 Mar 2001 06:20:46 - Issue 60
Topics (messages 146 through 146):
Jstring does'nt seemed to be working,,,
146 by: Tatsuro Nakagawa
Administrivia:
To subscribe to the digest, e-mail:
[EMAIL PROTECTED]
To unsubscribe from the digest, e-mail:
[EMAIL
"Christian Dechery" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> How do I store (and update) an array within a session...
>
> Like I'd have
>
> session_start();
> $time["page1"]="20";
>
> //here, should I do this?
> session_register("time["page1"]");
>
> //o
""Matt Stone"" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Hi,Hi,
> I have this code below which is supposed to be generating a password like
> QCCQCN2-IUZ with 10 characters - All but three in the first section (7) and
> three in the last part - but does no
Hey all,
I know you do not want to hear this question but after reading the list
archives and doing extensive searches with google I have a really large
internet headache, so here we go:
Where do I get a browscap.ini file that is current and will work in Linux?
The one suggested in the manual
php-general Digest 28 Mar 2001 07:16:28 - Issue 593
Topics (messages 45762 through 45842):
Re: Question on manually instantiating a file download
45762 by: Nuno Silva
Re: Environment extract
45763 by: Mark Maggelet
45764 by: Philip Olson
Re: Simple If-else statemen
Use a mime_mail class. Have a look at the mail() function in the annotated
PHP manual. There are a few mime_mail classes mentioned there with links.
Mick
On Wed, 28 Mar 2001, Carfield Yim wrote:
> How to send attachment with email with php?
>
> --
> PHP General Mailing List (http://www.php.
Nothing special. You can compose and send with mail().
Read related RFC or grab code does that from elsewhere on net.
--
Yasuo Ohgaki
"Carfield Yim" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> How to send attachment with email with php?
>
> --
> PHP Gener
this has been on the list many many times...check the e-mail functions at
php.net and check the archives at http://marc.theaimsgroup.com
-jack
-Original Message-
From: Carfield Yim [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, March 27, 2001 11:54 PM
To: [EMAIL PROTECTED]
Subject: [PHP] How
--
HOWTO : Information on using arrays with forms (part 1 of n):
--
A few array/form questions have popped up recently so here begins a HOWT
On Wednesday 28 March 2001 04:32, Joe Stump wrote:
> I've noticed there isn't really a jumping off point for the PHP-GTK
> beginners and users.
Thanks for doing that.
I'm PHP developer and I've been following this list for a while and I've been
looking around for a good place to start on PHP-
Hello,
I have a php page that accepsts posted data. I'd like to benchmark it
using ab (apache benchmark). In the ab man page, it has a -p POSTFILE option.
Does anyone here know what format should this post file contain?
Thanks.
__
www.edsamail.com
--
PHP Gene
if (isset($url) && isset($text))
{ $fp = fopen("file.txt", "w");
$anothervar = fputs($fp, "$text", "r+");
$anothervar = fclose($fp);
}
echo "";
echo "";
echo "";
echo "";
echo "";
Tim Ward
Senior Systems Engineer
Please refer to the following disclaimer i
> Is there a way to get spacing between
> $row["City"],$row["State"] in the html output?
> I've tried echo "$row["City"], nbsp; $row["State"]";
> and a bunch of other things and get Parse error: parse
> error, expecting `STRING' or `NUM_STRING' or `'$'' .
Try
echo $row["City"]." ".$row["State"
What is PHP-GTK?
Can you just write me a short list of what it can do?
"Joe Stump" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> I've noticed there isn't really a jumping off point for the PHP-GTK
beginners
> and users. I spent the last few hours throwing a s
Hello.
we all know that we can send variables to another PHP file via tag
and with post method.
now i wonder if i can send variables from a script to another like POST
method but not using form tags.
like my question is how can i transfer data from form to form like the POST
of the tag, but w/o
Will this be able to protect the images in the directory? For example, if
someone tries to access an image in the directory, will the "auth.php" be
executed?
Thanks for everything.
- Kyutums
"PHPBeginner.com" wrote:
> All you need is to add this into .htaccess
>
> php_value auto_prepend auth.p
Very stupid question, but I have one variable, say $name = "foo"; and I want that to
assign on to session, reditect that to one cgi page and then go to one html page, and
I want to have that session value here at this html page, see what I mean? I am using
php3. How do I set session up at the f
Actually, when I want to submit a form programmatically i do myform.submit()
but what if i got like 3 submit buttons and each one with a name?
ie: submit1 button, submit2 button, and submit3 button.
if the users clicks on of them, i can check in the action file like:
if (isset($submit1)) { ... }
e
101 - 169 of 169 matches
Mail list logo