I have a simple post script and I want to make it so if a user
types in a URL of some sort, to change it to make it clickable. How could I do
that?
Thanks,Stephen Cratonhttp://www.melchior.us
"Life is a gift from God. Wasting it is like destroying a gift you got from
the person you
They are entering in a whole paragraph or two of text and I want to search
the paragraph for URLs then make it a clickable URL and then store it in a
MySQL database.
- Original Message -
From: "Tom Culpepper" <[EMAIL PROTECTED]>
To: "Stephen" <[EMAIL PROTECTE
replacement? Also, how could I then limit how many are in the post?
> - Original Message -
> From: "Tom Culpepper" <[EMAIL PROTECTED]>
> To: "Stephen" <[EMAIL PROTECTED]>
> Cc: "PHP List" <[EMAIL PROTECTED]>
> Sent: Saturday, Novembe
Just a little note. Don't use $remote_addr. I would strongly recomend using
$HTTP_SERVER_VARS["REMOTE_ADDR"].
- Original Message -
From: "gamin" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Sunday, November 24, 2002 1:10 PM
Subject: [PHP] Re: security of stand alone script
> i gues
Yes, I found that after posting my last message. Sorry and I'll use google
more...
- Original Message -
From: "Justin French" <[EMAIL PROTECTED]>
To: "Stephen" <[EMAIL PROTECTED]>; "PHP List"
<[EMAIL PROTECTED]>
Sent: Sunday, No
I would like to make a "Lost Password" part to my member's
area script but the problem is, the passwords in the database are encrypted
using the password function. How could I decrypt it for a lost password
thing?
Thanks,Stephen Cratonhttp://www.melchior.us
"Lif
That's what I'm going to do but how can I pull it from the database to
decrypt it, then send it?
- Original Message -
From: "Tom Woody" <[EMAIL PROTECTED]>
To: "Stephen" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Tuesday, Nove
e is check and phpMyAdmin
can get to it just fine. Also, how can I set it up so MySQL allows the user
name root and no password acessable through localhost? I accidently changed
it to only allow username root, with password...
Thanks,
Stephen Craton
http://www.melchior.us
"What is a dreamer tha
I did that and it didn't output anything...
- Original Message -
From: "Brad Bonkoski" <[EMAIL PROTECTED]>
To: "Stephen" <[EMAIL PROTECTED]>
Cc: "PHP List" <[EMAIL PROTECTED]>
Sent: Sunday, December 01, 2002 2:55 PM
Subject: Re: [PH
Hello,
Is it possible, and if so how, to get the filenames and last edited
time/date, then display them in a select field in a form for a user to
select? I'd need to show them in order of most recently edited to last
edited. How can this be done if it can?
Thanks,
Stephen Craton
e"]) ? -1 : 1;
> }
>
> while (false !== ($file = readdir("/some/directory/")))
> {
> if ($file != "." && $file != "..")
> $files[] = array("file" => $file, "time" =>
> filectime("/some/di
ub/wwwroot/checker/modules/".$file));
}
usort($files, "sortBytime");
echo "";
while (list(,$filearr) = each($files))
{
echo "".$filearr["file"]."".$filearr["time"];
}
echo "";
}
?>
-
I have a similar problem only my sessions expire once you leave the site,
even for a second. I'm not so experienced with cookies so how can I fix
this?
- Original Message -
From: "Tom Rogers" <[EMAIL PROTECTED]>
To: "John W. Holmes" <[EMAIL PROTECTED]>
Cc: "'Gerard Samuel'" <[EMAIL PROTEC
This is off topic but the word for " is called a quote mark. ;-)
- Original Message -
From: "Bastian Vogt" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, December 04, 2002 2:55 AM
Subject: Re: [PHP] "x" as a multiplier
> Hi,
>
> try $newwidth." x ".$newheight instead.
> It
Instead of register, set it up like a normal variable. Here's an examlple
going by your code:
Page1.
session_start();
$HTTP_SESSION_VARS['step'] = 1;
header("Location: page_A.php");
Page A
session_start();
$HTTP_SESSION_VARS['step'] = 2;
header("Location: page_B.php");
Page B.
sessio
All I know is $_SESSION only works if you have shortcuts on. To test this,
try replacing yoru tags with just
May sound noobish but I'm lost by this whole thread...
- Original Message -
From: "Daniel Masson" <[EMAIL PROTECTED]>
To: "'Justin French'" <[EMAIL PROTECTED]>
Cc: "'Ryan Gibson
I do this?
Thanks,
Stephen Craton
http://www.melchior.us
"What is a dreamer that cannot persevere?" -- http://www.melchior.us
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
could I loop that out also?
Here's what I'm trying to do right now but naturally, it doesn't work:
$output = 0;
$current = 1;
do
{
$output .= $num.$current +
$current++;
} while($current <= $_POST['vars']);
Any help would be great! Thanks!
Thanks,
Step
I already have that. $_POST['vars'] is a number and I already check that you
on a page before. All I need to know is how to keep adding numbers until
there are no more to add...
- Original Message -
From: "Ray Hunter" <[EMAIL PROTECTED]>
To: "Stephen&quo
e...
Then I calculate it. My question is, how would I loop the adding? I hope you
understand this now...
- Original Message -
From: "Chris Wesley" <[EMAIL PROTECTED]>
To: "PHP List" <[EMAIL PROTECTED]>
Cc: "Stephen" <[EMAIL PROTECTED]>
Se
st" <[EMAIL PROTECTED]>
Cc: "Stephen" <[EMAIL PROTECTED]>
Sent: Wednesday, December 04, 2002 8:42 PM
Subject: Re: [PHP] Looping Addition
> On Wed, 4 Dec 2002, Stephen wrote:
> > This is only a snippet, there is more to it but for simplicities sake...
> >
Show us your code and don't copy straight from books. ;-)
- Original Message -
From: "1LT John W. Holmes" <[EMAIL PROTECTED]>
To: "Martin Hudec" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Thursday, December 05, 2002 7:57 AM
Subject: Re: [PHP] sessions
> > i have one script (index.p
One more question... If I then wanted to do this for the other operations
(such as multiplication, division, etc), how would I do that?
- Original Message -
From: "John W. Holmes" <[EMAIL PROTECTED]>
To: "'Stephen'" <[EMAIL PROTECTED]>; "
I don't know if this will fix anything or not but instead of using
check_valid_user(), try making the if statement say this:
is(!isset($_SESSION['valid_user))
{
echo "NOT LOGGED IN";
}
else
{
echo "LOGGED IN";
}
- Original Message -
From: "Martin Hudec" <[EMAIL PROTECTED]>
To: "1
So would I just put this?
foreach(%_POST['number'] as $num)
{
$output *= $num;
}
echo $output;
That's for multiplication.
- Original Message -
From: "1LT John W. Holmes" <[EMAIL PROTECTED]>
To: "Stephen" <[EMAIL PROTECTED]>
Cc
mbers will be
repeating decimals?
Thanks,
Stephen Craton
http://www.melchior.us
"What is a dreamer that cannot persevere?" -- http://www.melchior.us
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
om 0, then
taking 4 and subtracting that from -5. How can I fix this keeping in mind
the user may type in more then two numbers?
- Original Message -
From: "Chris Wesley" <[EMAIL PROTECTED]>
To: "PHP List" <[EMAIL PROTECTED]>
Cc: "Stephen" <[EM
But then, if the user entered 5 - 6, it should be -1 but it'd return
positive one... Is there another way?
- Original Message -
From: "Kevin Stone" <[EMAIL PROTECTED]>
To: "Stephen" <[EMAIL PROTECTED]>; "Chris Wesley" <[EMAIL PROTECTED]&
No, I wasn't going to ask that. But thanks for the info. :P
- Original Message -
From: "1LT John W. Holmes" <[EMAIL PROTECTED]>
To: "Stephen" <[EMAIL PROTECTED]>; "Kevin Stone" <[EMAIL PROTECTED]>
Cc: "PHP List" <[EMAIL
Plainly put, you've already sent headers. Wheather it be an tag, a
plain character, or just a space. Check line 37 and see what it is...
- Original Message -
From: "Carlos Alberto Pinto Hurtado" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, December 06, 2002 3:31 PM
Subject:
How would I run the functions though and then print the repeating decimal to
the screen?
- Original Message -
From: "Tom Rogers" <[EMAIL PROTECTED]>
To: "Stephen" <[EMAIL PROTECTED]>
Cc: "PHP List" <[EMAIL PROTECTED]>
Sent: Friday, Decemb
How can you find the meadian (or middle number) of a list of numbers? If
there is an even amount of numbers, how would I still find it?
Thanks,
Stephen Craton
http://www.melchior.us
"What is a dreamer that cannot persevere?" -- http://www.melchior.us
--
PHP General Mailing
Not sure but I think now() doesn't return the date formate you'd want
assuming your date section is classified as a date. Here's what I would do:
$date = date("Y-m-d");
$sql = "SELECT * FROM table WHERE date='".$date"'";
$result = mysql_query($sql, $connection);
Hope it works!
- Original Me
Ok, I'm getting some weird errors. Here's the website:
http://check.melchior.us/module.php?id=3
I attached the output file. What am I doing wrong!?
- Original Message -
From: "Tom Rogers" <[EMAIL PROTECTED]>
To: "Stephen" <[EMAIL PROTECTED]&g
That's ok. The user needs to use some of his/her brain too. :P
Thanks again!
- Original Message -
From: "Tom Rogers" <[EMAIL PROTECTED]>
To: "Stephen" <[EMAIL PROTECTED]>
Sent: Saturday, December 07, 2002 2:03 PM
Subject: Re[8]: [PHP] Repeating De
Wouldn't this only work for an even ammount of numbers? Like 1, 2, 3, 4 has
4 numbers...
- Original Message -
From: "Rick Widmer" <[EMAIL PROTECTED]>
Newsgroups: php.general
To: "Stephen" <[EMAIL PROTECTED]>; "PHP List"
<[EMAIL PROTECTED]
Another math question... How would I find the mode (number that repeats most
often) of an array? Then, if there isn't a number that repeats most often,
tell the user that.
Thanks,
Stephen Craton
http://www.melchior.us
"What is a dreamer that cannot persevere?" -- http://www.melchi
--- Original Message -
From: "Rick Widmer" <[EMAIL PROTECTED]>
To: "Stephen" <[EMAIL PROTECTED]>; "PHP List"
<[EMAIL PROTECTED]>
Sent: Saturday, December 07, 2002 9:14 PM
Subject: Re: [PHP] Finding Mode
> At 07:12 PM 12/7/02 -0500, Stephen wrote:
>
$sql = "SELECT VERSION()";
$result = mysql_query($sql);
$ver = mysql_fetch_assoc($result);
if($ver[0] >= 4)
{
echo "You have MySQL 4.0 or greater";
}
else
{
echo "You DON'T have MySQL 4.0 or greater";
}
Not sure if that'll work or not, I haven't tested it. Hope it does though.
- Ori
How can you hide URL variables without using the POST method in a form?
Thanks,
Stephen Craton
http://www.melchior.us
"What is a dreamer that cannot persevere?" -- http://www.melchior.us
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I have yet another math question. How could you find the next integer of a
number specified? Then how could you tell it to go up or down depending on
if the greater then or less tehn sign was chosen by the user?
Thanks,
Stephen Craton
http://www.melchior.us
"What is a dreamer that c
But the problem is, the user may type in a decimal.. I guess I could round
then add or subtract.. Would that work too?
- Original Message -
From: "Andrew Brampton" <[EMAIL PROTECTED]>
To: "Stephen" <[EMAIL PROTECTED]>
Sent: Monday, December 09, 2002 1:14
I have a article submission thing where the user types in
whatever they want. I've already made it so that when the user pushes enter, it
saves it as a for HTML but how would I do this for spaces also? I'm
storing the contents in a MySQL database...
Thanks,Stephen
Ah, yes, thanks!
- Original Message -
From: "Andrew Brampton" <[EMAIL PROTECTED]>
To: "Stephen" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Monday, December 09, 2002 4:08 PM
Subject: Re: [PHP] Find Next Integer
> Well that case then
> i
So would I just do this?
$text = str_replace(" ", " ", $_POST['input']);
- Original Message -
From: "Andrew Brampton" <[EMAIL PROTECTED]>
To: "Stephen" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Monday, December 09
One more problem I could see is that if the user types in an odd number of
spaces like 5 or 7. Wouldn't this replace string only replace spaces all the
even spaces like 2, 4, 6, 8, and so on?
- Original Message -
From: "Andrew Brampton" <[EMAIL PROTECTED]>
To: "
;t use. How could I
put it in simplest form without displaying a decimal to the user and if one does
come up, a mixed number?
Thanks,Stephen Cratonhttp://www.melchior.us
"What is a dreamer that cannot persevere?" -- http://www.melchior.us
--
PHP General Mailing List (http://www.php.net/)
T
But how do you find it in PHP?
- Original Message -
From: "Ray Hunter" <[EMAIL PROTECTED]>
To: "Stephen" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Monday, December 09, 2002 6:12 PM
Subject: Re: [PHP] Fractions
> Just like math...fi
on in simpliest
form?
- Original Message -
From: "Ray Hunter" <[EMAIL PROTECTED]>
To: "Stephen" <[EMAIL PROTECTED]>
Cc: "PHP List" <[EMAIL PROTECTED]>
Sent: Monday, December 09, 2002 6:38 PM
Subject: Re: [PHP] Fractions
> If there are none in
erator . '/' . $denominator;
>
> The method might look like the above
>
> Andrew
>
> - Original Message -
> From: "Stephen" <[EMAIL PROTECTED]>
> To: "Ray Hunter" <[EMAIL PROTECTED]>
> Cc: "PHP List" <[EMAIL
If you have globals on, then I see your problem. Rename $totalqty to
something else
- Original Message -
From: "Marco" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, December 09, 2002 4:30 AM
Subject: [PHP] Variables problem
> Hi All,
>
> I'm a newbie and try to learn a l
I found how it works, and it doesn't put it into a mixed number. I work on
it this week and see if I can't fix it. Thanks for all the help people!
- Original Message -
From: "Andrew Brampton" <[EMAIL PROTECTED]>
To: "Stephen" <[EMAIL PROTECTED]&g
This is off topic but, where can you go to report viruses?
I've been spammed with them a lot lately from this person and I'd like to stop
him.
Thanks,Stephen Cratonhttp://www.melchior.us
"What is a dreamer that cannot persevere?" -- http://www.melchior.us
--
PHP Genera
I sent one but got a mailerdemon response. The ISP is www.gosfieldtel.com if
anyone has heard of them...
- Original Message -
From: "Brad Bonkoski" <[EMAIL PROTECTED]>
To: "Stephen" <[EMAIL PROTECTED]>
Sent: Tuesday, December 10, 2002 5:26 PM
Subject: Re:
Both return mailer demons... 8 more viruses just to check this email. Thank
goodness I have a virus protection program!!!
- Original Message -
From: "Justin French" <[EMAIL PROTECTED]>
To: "Stephen" <[EMAIL PROTECTED]>; "PHP List"
<[EMAIL PROT
I had 20 once I got home from school. 8 to check my email and reply to
Justin's email. Now 2 to check and reply to yours...
- Original Message -
From: "Peter Houchin" <[EMAIL PROTECTED]>
To: "Stephen" <[EMAIL PROTECTED]>; "Justin French&q
m3;
do {
$output = $output / $r;
$number++;
} while($number < $_POST['x']);
echo $output;
}
else
{
$r = "None";
}
}
For those who don't know, r is the common ratio.
Thanks,
Stephen Craton
http://www.melchior.us
"What is a dream
After that, it puts it
in a list, and tells the user the next X numbers in the
sequence...
Thanks,Stephen Cratonhttp://www.melchior.us
"What is a dreamer that cannot persevere?" -- http://www.melchior.us
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
find the 0 in the 4th
column.
Thanks,Stephen Cratonhttp://www.melchior.us
"What is a dreamer that cannot persevere?" -- http://www.melchior.us
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
> >I have a question. How would you move the decimal left or right,
> depending on if the
> >number a user enters is negative or not, and then move it that many
> spaces? If
> >needed, it would add zeros.
>
> Hmm. Trying to remember what grade I learned this in. You multiply by 10
> to move it righ
My guess is you don't have register_globals on. Replace each variable with
$_POST['field_name'] or $_GET['field_name'] depending on what your form's
method is. You could also turn register_globals on but that is a security
risk I've heard.
- Original Message -
From: "Pushpinder Singh Garc
{
$i = 2;
}
else
{
$exp++;
$i = 1;
}
} while($i = 1);
$output = $num . "* 10".$exp."";
Please help!
- Original Message -
From: "1LT John W. Holmes" <[EMAIL PROTECTED]>
To: "Stephen" <[EMAIL PROTECTED]>
Cc: "PHP
Ok, nevermind about that. I fixed it finally. However, I am having trouble
with the negative exponents. I want to find the scientific notation of
0.0046 which should be 4.6 * 10 to the negative 3rd. However, what I get in
return is this:
4.6E-009 * 106
How could I fix this problem? I'm also havin
Side note...the formatting for my email program went all weird. The numbers
I'm getting as error are as follows:
4.6E-009 * 10^6
1.7E-006
^ indicates that the next number is an exponent... The real error does not
show the ^ sign.
- Original Message -
From: "Stephen" &l
I can't quite figure this out... What exactly is the difference between
str_replace() and ereg_replace()? Don't they both do the exact same thing?
Thanks,
Stephen Craton
http://www.melchior.us
"What is a dreamer that cannot persevere?" -- http://www.melchior.us
--
PHP
The limit is by your webhost and by bandwidth. Emailing 300 people with that
script would be rather time consuming if your host is slow...
- Original Message -
From: "Jan Grafström" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, December 16, 2002 4:34 PM
Subject: [PHP] can I ma
I found thise one to be rather useful:
http://www.liquidpulse.net/articles/125
- Original Message -
From: "Davy Obdam" <[EMAIL PROTECTED]>
To: "Justin French" <[EMAIL PROTECTED]>
Cc: "PHP" <[EMAIL PROTECTED]>; "PHP-WIN" <[EMAIL PROTECTED]>
Sent: Sunday, December 22, 2002 8:30 PM
Subject:
www.invisionboard.com
- Original Message -
From: "Fatih Üstündað" <[EMAIL PROTECTED]>
To: "Php-General" <[EMAIL PROTECTED]>
Sent: Tuesday, December 24, 2002 9:51 AM
Subject: [PHP] forum?
: do you know freeware forum in php I can easly use?
:
: thanks.
: fatih ustundag
:
: --
: PHP Gener
at'd I like. If nothing else pops
up, I'll go with it. I'd also like domain parking and/or domain registration
(don't really need the registration though). Thanks in
advance!
Thanks,Stephen Cratonhttp://www.melchior.us
"What is a dreamer that cannot persevere?" -- h
That is way to expensive for me. I'm only 13 with a $25 a day paying job...
- Original Message -
From: "Rick Emery" <[EMAIL PROTECTED]>
To: "Stephen" <[EMAIL PROTECTED]>; "PHP List"
<[EMAIL PROTECTED]>
Sent: Thursday, Decem
My guess is they are explained later in the book for on the CD if it came
with one. Most programming books do some with one now and days...
- Original Message -
From: "Cerebrimbor" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, December 27, 2002 8:38 AM
Subject: [PHP] processfo
ot be displayed" thing since I'm using IE. Any ideas why this is
happening?
Thanks,Stephen Cratonhttp://www.melchior.us
"What is a dreamer that cannot persevere?" -- http://www.melchior.us
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Sunday, December 29, 2002 3:16 AM
Subject: Re: [PHP] IIS Quit Working
: On Sunday 29 December 2002 09:14, Stephen wrote:
: > Since I like new things and all, I decided to download and install PHP
4.3.
: > Before, I had the latest (4.2.3) and IIS worked fine. But then, after
: > uninst
I found on the official site that C:\WINDOWS\Temp works well too...
- Original Message -
From: "John W. Holmes" <[EMAIL PROTECTED]>
To: "'Stephen'" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Sunday, December 29, 2002 2:05 PM
The only thing I can
think of is the header function. Any ideas?
Thanks,Stephen Cratonhttp://www.melchior.us
"What is a dreamer that cannot persevere?" -- http://www.melchior.us
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
['file'].".html";
Please help!!
Thanks,Stephen Cratonhttp://www.melchior.us
"What is a dreamer that cannot persevere?" -- http://www.melchior.us
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
ot; <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, December 30, 2002 4:48 PM
Subject: Re: [PHP] Problem with CHMOD
On Monday, December 30, 2002, at 04:34 PM, Stephen wrote:
> I'm running the CHMOD function and I get this error:
>
> Warning: chmod() [function.chmo
es VALUES (':-)',
'emotes/smile.gif');INSERT INTO c_emotes VALUES (';-)',
'emotes/wink.gif');INSERT INTO c_emotes VALUES (':-P',
'emotes/tounge.gif');INSERT INTO c_emotes VALUES (':-(',
'emotes/sad.gif');
Anyone see the problem??
Thanks,Stephen Cratonhttp://www.melchior.us
"What is a dreamer that cannot persevere?" -- http://www.melchior.us
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
>From experience, I don't think you can run more then one SQL statement at
once in a single time. Try assigning each variable with delete, then query
them all seperately. I also don't think you need the ; in the SQL
statement...
- Original Message -
From: "@ Nilaab" <[EMAIL PROTECTED]>
To
Oh, and happy new years from Indiana! ^_^
Thanks,Stephen Cratonhttp://www.melchior.us
"What's the point in appearance if your true love, doesn't care about it?"
-- http://www.melchior.us
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
but again, I'd
have to list all of them out. Any other quick and simple way?
Thanks,Stephen Cratonhttp://www.melchior.us
"What's the point in appearance if your true love, doesn't care about it?"
-- http://www.melchior.us
--
PHP General Mailing List (http://www.ph
Oh yeah, forgot that the $_POST variable was an actual array already...
Thanks!
- Original Message -
From: "Justin French" <[EMAIL PROTECTED]>
To: "Stephen" <[EMAIL PROTECTED]>
Sent: Sunday, January 05, 2003 7:56 PM
Subject: Re: [PHP] Pass Variables
: A
Try echoin out this:
getenv("SERVER_ADDR");
- Original Message -
From: "Charles likes PHP" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, January 06, 2003 4:33 PM
Subject: [PHP] Re: Get your *own* IP...?!
: No, it has to be an absolute path...
:
: $_SERVER["SERVER_ADDR"]
idea of
what I mean)
-PHP saves current form vars to a MySQL
database
--User told information saved and he leaves
---User comes back next day, clicks load
User select his current project
-User taken to the last form he was on, fields filled
in
Thanks,Stephen Cratonht
Yet another question: How would you make a variable's name the
value of another variable? For example... Variable 1's value is "joe." I want to
make the value of variabe one, or joe, the name of variable two which would
equal something else.
Thanks,Stephen Cratonht
any number between 1 and 999 could
be entered and without making 999 tables?
Thanks,Stephen Cratonhttp://www.melchior.us
"What's the point in appearance if your true love, doesn't care about it?"
-- http://www.melchior.us
--
PHP General Mailing List (http://www.php.net
I will later select them and display them to be edited, but other then that,
not really...
- Original Message -
From: "Timothy Hitchens (HiTCHO)" <[EMAIL PROTECTED]>
To: "'Stephen'" <[EMAIL PROTECTED]>; "'PHP List'"
<[EM
How would I serialise it? I can make the numbers into an array, but if I
echo the array itself, I'd get "Array" and I need the number in the db, not
the word...
- Original Message -
From: "Timothy Hitchens (HiTCHO)" <[EMAIL PROTECTED]>
To: "'Ste
-
From: "Timothy Hitchens (HiTCHO)" <[EMAIL PROTECTED]>
To: "'Stephen'" <[EMAIL PROTECTED]>
Sent: Wednesday, January 08, 2003 9:30 PM
Subject: RE: [PHP] Stumped...
: The issue with the serialise option is that is you have then in a row
: they are serialised
S for sessions
and $HTTP_POST_VARS for posted form vars from now on or what?
Thanks,Stephen Cratonhttp://www.melchior.us
"What's the point in appearance if your true love, doesn't care about it?"
-- http://www.melchior.us
--
PHP General Mailing List (http://www.php.net/)
To
I need to somehow make it so when a user clicks a link, then
get displayed the download dialogue for the file. The file is a .php file so I'm
not sure how this is done but I've seen it been done before. How can you do
this?
Thanks,Stephen Cratonhttp://www.melchior.us
"What
It's a dynamically created file the user downloads and uses later as a PHP
script. If I put header() in it, that would make it downloadable again when
the user uses it on his/her server, wouldn't it?
- Original Message -
From: "Timothy Hitchens (HiTCHO)" <[EMAIL PR
Would this print the contents or the actual file for download?
- Original Message -
From: "Timothy Hitchens (HiTCHO)" <[EMAIL PROTECTED]>
To: "'Stephen'" <[EMAIL PROTECTED]>
Cc: "'PHP List'" <[EMAIL PROTECTED]>
I wanted it so the user downloaded the file to their PC like when you're
downloading a zip file or exe file from someplace like www.download.com...
- Original Message -
From: "Timothy Hitchens (HiTCHO)" <[EMAIL PROTECTED]>
To: "'Stephen'" <
Eh, sorry. Didn't understand what you meant. Thanks for the code, it does do
what I was asking. Thanks again!
- Original Message -
From: "Timothy Hitchens (HiTCHO)" <[EMAIL PROTECTED]>
To: "'Stephen'" <[EMAIL PROTECTED]>
Cc: "'PHP
'.$package,
0777);
Any help would be great!
Thanks,Stephen Cratonhttp://www.melchior.us
"What's the point in appearance if your true love, doesn't care about it?"
-- http://www.melchior.us
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
ginal Message -
From: "Chris Hayes" <[EMAIL PROTECTED]>
To: "Stephen" <[EMAIL PROTECTED]>
Sent: Saturday, January 11, 2003 8:49 PM
Subject: Re: [PHP] Permission Denied
: At 02:40 12-1-2003, you wrote:
: >Why do I get this error whenever I try to CHMOD somet
OTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Sunday, January 12, 2003 4:03 AM
Subject: Re: [PHP] Permission Denied
: On Sunday 12 January 2003 10:10, Stephen wrote:
: > There's already a folder named packs but my problem was not having the /
: > before it. One more question. How can
y Hitchens (HiTCHO)" <[EMAIL PROTECTED]>
To: "'Stephen'" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Sunday, January 12, 2003 6:33 PM
Subject: RE: [PHP] Permission Denied
: Did you use the umask(0) prior to the mkdir() in your script??
:
:
: Timothy Hitche
ttings and I'll have the results
later today. I'm only home for lunch, need to get back to school...
- Original Message -
From: "Timothy Hitchens (HiTCHO)" <[EMAIL PROTECTED]>
To: "'Stephen'" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Cc
1 - 100 of 713 matches
Mail list logo