ges, etc
etc. There is no way you can possibly test all of these, and since they
aren't REQUIRED to set the referrer, it's foolish to rely on it.
Justin French
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
on 28/08/02 9:17 AM, Pupeno ([EMAIL PROTECTED]) wrote:
> I know a lot has been discussed in this topic, but I still don't find any
> solution.
> What I want to do is send a lot of mails triggered from a web page using
> php.
> I've found diferent solutions but all of them has some problem:
> 1)
Experthost.com allows payment by cheque, but the service is withheld until
the cheque clears (understandable).
Justin
on 28/08/02 10:40 AM, Bruce Karstedt ([EMAIL PROTECTED]) wrote:
> Anyone care to recommend a host as follows:
>
> Unix
> PHP
> MySQL
> Domain Reg.
> No unusual size or traffi
on 28/08/02 1:38 AM, Raphael Hamzagic ([EMAIL PROTECTED]) wrote:
> I'm with a little doubt about the best way to send a mail message to a large
> mailing list using PHP. I'm not interested in existing mailing list
> managers, or source codes.
> I dont know if the best way to send emails is to us
Hi all,
If I want a cookie to work on both www.domain.com and domain.com what should
I set as the domain for the cookie?
I'm having trouble deleting cookies when they were set without the www., but
attempted to delete without...
Thanks,
Justin
--
PHP General Mailing List (http://www.php.ne
Okay, it may be the end of a long day here, but I can't tell the difference
between the two arrays you posted!
Justin
on 28/08/02 5:31 PM, Jean-Christian Imbeault ([EMAIL PROTECTED])
wrote:
> I have the following loop to insert data into an array:
>
> while ($data = pg_fetch_object($res)) {
the very least, it would make
updating the script easier, and reduce the lines of code.
Good luck,
Justin French
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Either the ereg_replace, eregi_replace, or preg_replace has a full working
script that does this, returning pretty much plain text.
There's also the strip_tags()/striptags() function which strips out all PHP
and HTML tags -- perhaps not enough, nice you'd want to remove *some* other
stuff maybe,
nfirm/deny the problem.
But I wouldn't be relying on a remote IP for anything... they're too
unreliable.
Justin French
on 29/08/02 7:29 AM, Joseph Szobody ([EMAIL PROTECTED]) wrote:
> In a portion of a website, I have implemented user authentication and
> management using session
it's just that every solution is a real messy job
-- nothing is simple.
FWIW, I wish to send personalised emails too, but at the moment can't see
the light.
Justin French
> Andy
>
>
>
> "Justin French" <[EMAIL PROTECTED]> schrieb im Newsbeitrag
>
on 29/08/02 1:01 PM, Joseph Szobody ([EMAIL PROTECTED]) wrote:
>> But I wouldn't be relying on a remote IP for anything... they're too
>> unreliable.
>
> This wasn't meant to be a fool-proof security solution to begin with. None of
> these 'protected' pages contain anything real sensitive.
Yes,
$test = $result; immediately after doing the query and then using $test
> in the while , but that doesn't work either...
>
> Anyway, not a train smash, will carry on with the trusty old ways.
>
>
>
>
>
> On Wed, 2002-08-28 at 18:30, Justin French wrote:
>>
on 29/08/02 5:06 PM, Petre Agenbag ([EMAIL PROTECTED]) wrote:
> Jason
> Thanks
> the mysql_data_seek() works.
> With Justin's help, I used the mysql_data_seek() to reset the $result
> "matrix" to 0, and re-issued the same while statement.
> It now produces the desired output.
> Thanks.
Of course
p://indent.com.au/temp/newserver_phpinfo.html for a php_info output
from the new server, as sent to me by the host)
Justin French
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
cts, checkboxes and some other things are a little more tricky, but
you'll figure them out... search the archives too... it's been asked 1000's
of times :)
Justin French
on 29/08/02 7:02 PM, Hakkan Lui ([EMAIL PROTECTED]) wrote:
> Dear all,
>
> In my php program, when
on 29/08/02 6:59 PM, Liam MacKenzie ([EMAIL PROTECTED]) wrote:
> I just happen to be re-compiling my hosting servers right now...
> I'll compile those things into PHP.
>
> If your sites are:
> non-profit
> personal
> development
No, maybe 13 out of the 15 are commercial. And the other two aren
I just answered a similar question in another current thread a few mins
ago...
So I'll just copy and paste:
---
Relying on the back button isn't good... the data may or may not be there
when they return.
However, you CAN provide them with a button "change", and POST the data to a
form... where
ing.
GD2 is in Beta, so that won't happen :(
Thanks,
Justin
on 30/08/02 3:06 AM, Philip Hallstrom ([EMAIL PROTECTED]) wrote:
>
> On Thu, 29 Aug 2002, Justin French wrote:
>
>> Hi all,
>>
>> My host is putting together a new linux box at the moment for hosting
on 30/08/02 6:57 PM, Scott Houseman ([EMAIL PROTECTED]) wrote:
> Not on a plaintext mail, this will be decided by the mail client.
> If your format the mail using html, then you will be able to format the
> font.
... but that still won't guarantee it'll work... the user will have to have
the fon
If you were REALLY concerned, you could use JavaScript (JavasCrap) to open a
new window and close the parent... this way there would be no such thing as
a "back" button... it'd be disabled.
I think later version of JS can empty the history too (unsure though).
It's not going to be fool proof for
I think mailing list managers like Yahoo, ezmlm, etc all have "features" in
them to suspect bots and programs from subscribing/posting to the groups. I
know I've had trouble subscribing/posting to groups managed by ezmlm...
Probably there is a header or two that PHP automatically sets which make
This would work if the script you wished to call was default.php / index.php
/ etc etc...
what I mean to say is site.com/index.php?var=foo is the same as
site.com/?var=foo, as long as your server works that way.
leaving out PHP_SELF will give different results if the script you wish to
call ISN'
SELECT * FROM mytable ORDER BY timestampcolumn DESC LIMIT 1
or
SELECT * FROM mytable ORDER BY id DESC LIMIT 1
HTH
Justin French
on 01/09/02 2:25 AM, Victor ([EMAIL PROTECTED]) wrote:
> How can I use php to get the newest entry from mysql database? Ie, if I
> make a timestamp and
Hi,
What's your definition of "open the word doc"?
Do you want to parse the contents of the Word Doc into a var?
Do you want to produce a link on the page TO the word doc?
Please be more specific -- it helps us give better answers.
Justin French
on 01/09/02 9:11 PM, DC ([
I go this email to my hinge address...
I guess they want .h stubby holders!!
J
--
From: "Karen and Jimmy" <[EMAIL PROTECTED]>
Organization: Full Scale
Reply-To: "Karen and Jimmy" <[EMAIL PROTECTED]>
Date: Sun, 1 Sep 2002 21:20:17 +1000
To: <[EMAIL PROTECTED]>
stubbie holders!
--
Apologies to the list -- I *totally* sent this to the wrong mailgroup
sorry!
Justin
on 01/09/02 10:00 PM, Justin French ([EMAIL PROTECTED]) wrote:
> I go this email to my hinge address...
>
> I guess they want .h stubby holders!!
>
> J
>
> --
> From: &
on 01/09/02 10:23 PM, cLeAnEr ([EMAIL PROTECTED]) wrote:
> Hi.
> I have recently started prograemming some php. Now I wonder exactly what
> addslashes() is good for...
> I´ve read about it that it insert slashes where needed to get data in right
> form to Mysql? and then use stripeslashes() to re
on 02/09/02 6:40 AM, Ryan A ([EMAIL PROTECTED]) wrote:
> Hi guys,
> Kinda reached the end of my line, searched on yahoo,google,altavista,excite
> etc and hotscripts,scriptsearch etc but could not find what i require
>
> I need a shopping cart software which will display and sell .swf files,
tring = str_replace("\'", "", $string);
$string = str_replace("\\", "", $string);
Justin French
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi Andrian,
I built a forum from scratch, because I had very specific needs on how it
would work... different to everything I've seen so far. Sorry to say it
though, the underlying table structure IS determined by the way you want it
to work.
If you're after something stock-standard, I'd recomm
You are trying to set a header() using methods not supported. But the
really interesting bit is that you appear to be using it NOT for sending
HTTP headers, but for setting header information on a TABLE
read http://php.net/header
...this isn't what it does.
";
foreach($values as $key =
Ummm, current time where? :)
Assuming you mean your server's time, it shouldn't be too hard, but i
thought I'd point out that your readers/users are bound to be in different
time zones. Whilst some may think "oh, different time zone", others will
probably think "idiots" :)
Then another option w
o back" in your PHP code (on the server), or
provide your user with a "go back" link on the page?
If the former, things like header("Location: referringpage.php") might work,
otherwise if it's the latter, just use the javascript
Justin French
on 04/09/02 1:44
Eric,
Please don't email me off-list, unless you're looking to pay me for my
services.
1. I generally dedicate a certain amount of my time per day to the list
2. If we discuss things off-list, then no one else benefits from the
discussion.
on 04/09/02 5:26 AM, Eric J Schwinder ([EMAIL PROTECTE
There is a perfecting good working example of file uploads on php.net...
never quite sure why people re-invent the wheel all the time.
In the example (at http://www.php.net/manual/en/features.file-upload.php),
they make a call to move_uploaded_file()... until you do that, and move it
to where you
There is a download script (commonly used for restricting downloads to
members, etc) on Zend.com... if you can't find it (in tutorials or
articles), let me know.
It should give you a good understanding of the principals, and a decent head
start on the code, as it did for me.
I don't think there
Perhaps not EXACTLY what you're after, but I wrote a small, simple function
to encrypt a string with a key (i'll skip a long note about keeping the key
safe).
Then I send an email with the data encrypted, and decrypt it at the other
end (me) using a decrypt script located on my local server.
It
This appears to do what you want... or at least provide some inspiration:
http://www.phpclasses.org/browse.html/file/1220.html
I'm sure there are hundreds of web services based on currency conversion and
weather... usually they send XML data which you parse... google will help :)
J
You can't. Javascript happens on the client side AFFTER PHP has happend on
the server side. For PHP to ready variables made with javascrip,t you'd
have to submit those variables/arrays via POST of GET to the PHP file.
Justin
on 05/09/02 9:11 PM, kale ([EMAIL PROTECTED]) wrote:
> Hy,
> I have
method is an attribute of , not sure about .
---
// Theme
echo '
';
for($i=0;$i".$theme_name[$i]."\n";
}
echo ' ';
// or:
echo ' ';
$var_from_dropdown = $_POST['theme'];
exec("echo $var_from_dropdown > /tmp/varfromdropdow
check out preg replace in the manual... particularly example 3 of this page:
http://www.php.net/manual/en/function.preg-replace.php
personally, i'd replace anything other than a-zA-z0-9 with _
Justin
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/
Why don't you take the guesswork out of it a bit, and NOT write to a file
just yet... instead, just echo the var to the screen. IF that works, then
we know it's not your form that is the problem, it's the exec().
Justin
on 06/09/02 12:08 AM, Mario Ohnewald ([EMAIL PROTECTED]) wrote:
> Well,
Attach the two GIFs (pre and post text) in an email to me...
Justin
on 06/09/02 1:26 AM, Rodrigo Peres ([EMAIL PROTECTED]) wrote:
> Hi,
>
> I'm using GD to put a dinamic text in some buttons. The problem is that the
> original image that I use has 8k and after i put a black text it jumps to
I seriously doubt it, because really, what you want to capture is how the
*browser* renders the HTML code... GC is not a browser, nor a parser of HTML
code.
This topic has been discussed a few times in various shapes and forms in the
archive... it'd be worth doing a search for screen grab and scr
Hi,
I'd like to be able to define multiple variables within a function, and have
it available outside the function from the point the function is called...
eg:
How to I specify that $foo and $bar (defined in the func) are to be set
globally (ie, outside the function)?
I'm aware I could return
a form with two buttons:
---
---
script.php
---
if($_POST['button'] == "option 1")
{
echo "option 1 was clicked";
}
elseif($_POST['button'] == "option 2")
{
echo "option 2 was clicked";
}
---
I think there's an issue with what happens if they hit enter (which value
ge
I'd beg to differ:
http://www.php.net/manual/en/function.show-source.php
Justin French
on 06/09/02 9:10 PM, [EMAIL PROTECTED] ([EMAIL PROTECTED]) wrote:
> You can't.
>
> --
>
> Nicos - CHAILLAN Nicolas
> [EMAIL PROTECTED]
> www.WorldAKT.com - Hébergemen
on 06/09/02 10:45 PM, Michael Sims ([EMAIL PROTECTED]) wrote:
> How about this:
>
> function foo()
> {
> return array (
> "foo" => "aaa",
> "bar" => "bbb"
> );
> }
>
> extract(foo());
>
> echo $foo;
> echo $bar;
> ?>
Very cool !! -- thanks to everyone's replies.
Justin
--
PHP General Ma
7;m sure if you searched the archives for "HOST", you'd
find 1000's of posts and suggestions.
Justin French
on 06/09/02 10:46 PM, Philip Radford ([EMAIL PROTECTED])
wrote:
> Hi All,
>
> I have recently subscribed to the list and would like to thank everyone for
&g
on 07/09/02 12:48 AM, Jon Haworth ([EMAIL PROTECTED]) wrote:
> A couple of s side by side should let you do that.
>
> The biggest problem I can see you hitting is reading the contents of the
> user's hard drive... usually this is impossible, for good reasons.
I *think* that's what he was asking
on 07/09/02 1:51 AM, N. Pari Purna Chand ([EMAIL PROTECTED])
wrote:
> $newstr = ereg_replace ("\n", "", $newstr);
Instead, I think you'd have to escape the slash: "\\n"... but it's
irrelevant, because there's a function that does this for you:
$newstr = nl2br($newstr);
Also, you should try to
http://www.zend.com/zend/trick/tricks-august-2001.php
the stuff he does with mime types and headers is all relevant to what you
want to do...
Justin
on 07/09/02 1:56 AM, Alex Shi ([EMAIL PROTECTED]) wrote:
> Thanks for your reply! Still have another question: How to use
> header() to generate
Somewhere in an article or the manual it *strongly* advises using in {} not
[] for access of a certain character in a string.
Justin
on 07/09/02 5:34 AM, Robert Cummings ([EMAIL PROTECTED]) wrote:
>
> Some time ago i wrote some code where I used the now deprecated
> form of accessing characte
I'd start by having a look at Manuel's class at phpclasses.org... called
mimeMial or something...
Justin
on 07/09/02 9:32 AM, josh ([EMAIL PROTECTED]) wrote:
> Hey all
>
> I have seen many tutorials on sending HTML email, and sending email with
> attachments, but have found nothing on sending
on 08/09/02 5:04 AM, M1tch ([EMAIL PROTECTED]) wrote:
> Why not just use IP?
> I created a nice system, whereby if your IP is changed (or someone is
> hacking your session), the session is destroyed, and the user must log in.
> Does not add much overhead either.
large ISPs like AOL use variable
You have be a little clearer. What do you want to return on true?
a) the card number appears to be numerically valid
b) the card has enough credit left on it to place the order
I'll assume A.
You need to decide what cards are going to be accepted, and look for a class
or set of functions which
the first part, that's
> better than nothing.
> I'm having a headache now, because I'm already behind schedule, and this has
> just thrown a spanner in the works :( (but still thanks for bringing it up
> now, rather than at production time!)
>
>
> "Justin
An extremely basic chat would be a frame or iframe which has a meta tag
refresh (or javascript refresh) of a plain HTML page every 10-20 seconds.
As far as the flash stuff goes, have a look at macromedia.com or the 1000's
of flash sites... I'm positive you'll find some development tools for a
pre
the functions used in the
manual, in particular fgetcsv()
Enjoy!
Justin French
on 09/09/02 4:29 PM, Peter ([EMAIL PROTECTED]) wrote:
> Hi,
> I have 'test_file.txt' with the contents:
>
> label1label2label3comments
> name1 name2 name3
> name4
er https), the second time is when opening mysite.php, I'm currently
> using self-signed certificate so every time the https page opens up in a new
> browser it will prompt you for whether or not accept the ceritificate).
Sure, there may be some issues with SSL. A great way to make sure
The text field only has newlines (\n) not breaks.
For starters, in the text area tag, you need wrap="virtual":
Then instead of
print "$mailingAddress";
try
print nl2br($mailingAddress)."";
... which converts all new lines (\n) into breaks ()
Regards,
Justin
on 10/09/02 2:21 PM,
The problem you have is that not all phone numbers share that format... mine
for example (Australia) is 61 3 (that is, CountryCode, State,
Exchange, Number). So it depends on who will fill out your form... if
you're talking international, you may want to think twice.
It never ceases to
Hi,
I'm not aware of any existing code/samples for this, but the individual
components you need to break it down into are pretty straight forward:
1. Learn about forms, validation of user input, and in particular file
uploads (which there is a perfect library of working code in the manual:
http:
nk I want to
be that restrictive.
Am I missing something obvious? Or do you just use a combo of 1 + 2???
Justin French
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
ng
> to accept multiple votes from the same person.
There's NOTHING to stop me from entering 24 different names or email
address', so I don't consider these options either.
> Sorry.
It's not your fault :)
Justin French
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
asked DAILY, if not more
frequently :)
Justin French
on 12/09/02 1:42 AM, Chris Boget ([EMAIL PROTECTED]) wrote:
> Do any of you guys have experience setting PHP up
> with the IPlanet webserver? We are trying it out (for
> a client) and we can't seem to get to so that PHP
> ge
like installing the latest version of
Internet Explorer :)
Good luck,
Justin French
on 12/09/02 6:44 PM, Chad Winger ([EMAIL PROTECTED]) wrote:
> I need to learn PHP and databases. If I had those skills, I would be so much
> more succesful with my web designs. What I usually do, is make
Why would you convert them to PDF on the fly??? If you wanted to show
really hi-res images, yes PDF would result in *slightly* smaller files, in
*some cases*, but for standard web stuff, why not consider the humble
compressed JPG? Whatever format, the file is gonna be huge if they're
trying to r
ezmlm
Justin
on 13/09/02 6:31 PM, John Wards ([EMAIL PROTECTED]) wrote:
> Guys and Gals sorry if this is off topic but I hope someone can answer this
> question.
>
> I need some mailing list software that works like this list i.e. its all
> done through email and has a web based archive.
>
>
ing, message text,
etc) before inserting... if okay, cool, otherwise, spit out an error.
Justin French
on 17/09/02 11:52 PM, Resarch and Development ([EMAIL PROTECTED]) wrote:
> What is the best way to avoid the "repeated comment/post" syndrome
> caused by the user clicking the sub
Check out the source of phpMyAdmin -- they do this, and do it well :)
Also, check out the mysql_* functions in the manual -- field_type for
example.
Justin
on 18/09/02 4:33 AM, Vincent Stoessel ([EMAIL PROTECTED]) wrote:
> Hello,
> Are there any new scripts out there that will build an html f
not on postgreSQL :)
Justin
on 18/09/02 7:24 PM, Scott Houseman ([EMAIL PROTECTED]) wrote:
> Hi there.
>
> You can use the function mysql_insert_id( [link id] ).
>
> regards
>
> Scott
>
> Faisal Abdullah wrote:
>> Hi people,
>>
>> I have a table with a column called ID (auto-increment).
>
I tend to (if I can't use mysql_last_id) insert a unique key into the row,
and pull the row out that matches that key, in order to get the ID...
ensures that it was the right row... then you can delete the unique key.
Justin
on 18/09/02 10:27 PM, Jon Haworth ([EMAIL PROTECTED]) wrote:
> Hi Bob
here's an ASCI chart for future reference :)
http://www.main.org/no_index/clients/asci_codes.htm
I think £ works too, but I'd be going for the ASCI number.
Justin
on 19/09/02 9:32 PM, karthikeyan ([EMAIL PROTECTED]) wrote:
> Hi all,
>
> How do i display British Pound through PHP.
>
> I can
e in under a second...
resulting in lots of 1's or 0's
Justin French
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Nice idea!!!
I'd be interested in contributing to such a project, if one doesn't already
exist.
Justin
on 19/09/02 11:47 PM, Thomas -Balu- Walter ([EMAIL PROTECTED]) wrote:
> Hi all,
>
> is there any tool to check which PHP-Version a project needs at
> minimum?
>
> I am looking for somethin
on 19/09/02 11:37 PM, -=[ Julien Bonastre ]=- ([EMAIL PROTECTED])
wrote:
> I just want to know what function or module covers this feature.. If it is at
> all possible..
Top of your script:
Bottom:
Similar things could be done with MySQL quereies, but I haven't looked into
i
example
This would make striptags() a HIGHLY powerful tool for validating user input
which contains HTML. yes, it can all be done with regexp if you've got
enough time and skills, but I don't :)
Sorry for getting off topic!!
Regards,
Justin French
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
There's a perfect example in the manual:
http://www.php.net/manual/en/function.preg-replace.php
HTH
Justin
on 20/09/02 9:16 PM, SiTA WebMaster - VST ([EMAIL PROTECTED]) wrote:
> Try to remove all strings starting with "<" and ending with ">". Be sure
> not to remove ""'s. Also you need to form
moving everything outside the body would be another option,
perhaps saving the contents of ...
Justin French
on 21/09/02 12:27 AM, [EMAIL PROTECTED] ([EMAIL PROTECTED]) wrote:
> strip_tags() is the easiest way to remove HTML tags. If he wants to replace
> them, then he can use ere
If *I* were publishing data for others to USE in their own web sites (often
called a web service), I'd make the data available in one of a few ways:
- raw text -- let them format it as they see fit
- CSV a simple CSV file can hold a wealth of information, and it is easy for
the receiver to munch
Hi,
I place name all my included files *.inc... I place them all in a folder
/inc/ and place a .htaccess file in that directory to restrict the files
being served of HTTP:
Order Allow,Deny
Deny from all
Another option would be to place them in a folder ABOVE your web root, so
that Apa
I can't imagine how anyone could thing this is a good idea!
What's next? Change my browser preferences without asking me? Move some
files around on my hard drive?
FWIW, PHP is a SERVER SIDE language. It doesn't interact with the
browser... by the time your browser recieves a page, it's just p
Validate the input BEFORE outputting anything to the browser... this way you
have control over such problems.
The code below exit; will only be executed if the input was NOT valid
Regards,
Justin
on 23/09/02 9:42 AM, Sascha Braun ([EMAIL PROTECTED]) wrote:
> Hi,
>
> I want to po
strings in double quotes are evaluated looking for $vars and {$vars} to
substitute. strings with in single quotes are not evaluated for vars.
$var = "my favourite color is {$col}"; // works
$var = "my favourite color is $col";// works
$var = 'my favourite color is $col';// doesn't work
Generally I like to have header and footer, but you should look at the
template engines out there (smarty for example) for some inspiration.
This for example, would work fine for a WIDE range of pages:
file.php?include=something:
...
...
Some prefer one style others prefer another.
Just
I *DO* find useful is to let some of my customers edit or export their
data in CSV format, which I use to munch into a set of MySQL tables... It
gives them very cheap, hands-on editing of the data, but still gives me a
quick/flexible back-end.
Justin French
--
PHP General Mailing List (http:
Wouldn't round() work???
Or, if you always want to round down, why not just split it on the decimal?
Or as long as you're willing to give up year 10,000 compliance :), the year
will "always" be the first four digits.
Plenty of options :) I think I'd just use substr()
Justin
on 24/0
This gets discussed quite frequently.
My guess is that your ISP *may* be imposing some limitations, but more
likely your PHP script is timing out or something similar.
Justin
on 24/09/02 9:08 AM, Research and Development ([EMAIL PROTECTED]) wrote:
> Hello. I wrote a PHP script that will pull
er.
Even if the code does work, the sysadmin should shut it down to prevent the
massive performance hit you cause.
If you've got your own server(s), that's a different story... but then I'd
be using ezmlm or something like that.
Justin French
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
on 24/09/02 7:20 PM, Christian Ista ([EMAIL PROTECTED]) wrote:
> Hello,
>
> I change the procedure to create an account for users. For the moment,
> the user (to create and log in), have to create an account with e-mail +
> password. I'd like to create a procedure to check the e-mail (login)
> v
ster globals off, I recommend working the new way.
Justin French
on 24/09/02 6:37 PM, Giancarlo Pinerolo ([EMAIL PROTECTED]) wrote:
> The manual has many cautions that say 'do not use session_regiister,,
> session_is_registered, session_unregister, when the ini setting is
> regist
SELECT DISTINCT * FROM table WHERE .
Check out the MySQL manual for more help, or post yout existing query for me
to gawk at :)
HTH
Justin
on 24/09/02 11:24 PM, Naintara Jain ([EMAIL PROTECTED]) wrote:
> Thank you Chris.
>
> I agree with you wholeheartedly that the SQL should be optimize
set register globals to ON in your PHP.ini for this to work, although I'd
highly recommend doing what you already are doing...
$username = $_POST['username'];
It's a LOT more secure.
Justin
on 25/09/02 12:50 AM, Ed Curtis ([EMAIL PROTECTED]) wrote:
> I am currently using Apache 1.3.26 and P
gt; it would have 6.
>
UPDATE tablename SET value=value+1 WHERE .
Or something like that!! Check the MySQL manual.
Justin French
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I'm not aware of anything like that, apart from PHP itself :)
Turn your error reporting to the strictest setting, and go through your
applications, and it should complain whenever is has to echo/use a undefined
variable.
Although that sounds a little daunting with 8000 pages... are you using lot
itel/howto/mysql-search-and-replace-howto.h
tml
So it doesn't seem too hard in theory.
Justin French
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
t; How much will you pay me to write it?? :)
I'll have a go first :P
Thanks,
Justin French
> ---John Holmes...
>
>> -Original Message-
>> From: Justin French [mailto:[EMAIL PROTECTED]]
>> Sent: Tuesday, September 24, 2002 11:34 PM
>> To: php
>>
on 25/09/02 2:04 PM, Thom Porter ([EMAIL PROTECTED]) wrote:
> The applications vary from site to site. Many of them use include files,
> some of them don't. One thing that is nice is any apps that use cookies or
> sessions go through the _COOKIE or _SESSION arrays already.
nice.
> I did thin
I think you add square brackets:
so you'd have an array with a numeric key (0-n) and the value of the key
would be the value of the input.
or perhaps you'd prefer
in this case the key of the array would be 'Hepb_ag', and the value would be
true (1).
In both cases, I don't think anything is
601 - 700 of 1432 matches
Mail list logo