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)
validity. But I'd like to check if the e-mail used exist or not.
The proc
Hello,
I use the mail function to send mail. On my development PC, I receive
the mail in HTML, with the high priority,...
I put the files on the production server, a linux machine, when I
receive the mail is not in HTML but in plain text, I don't see the high
priority. I receive that :
Content-
php.ini settings?
any help would be greatly appreciated!
many thanks in advance,
christian
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
ok.. i found that i need to check the httpd error_log and it tells me that
it can't find the file or directory for the command.
how do i fix this?
i tried a full pathname to the command but it still says it cannot find dir
or file etc
c.
Christian Haines wrote:
> hi all,
>
>
ini_set function to turn safe mode off but this appears not
to work
suggestions would be great as this is driving me nuts!
cheers
c.
Christian Haines wrote:
> ok.. i found that i need to check the httpd error_log and it tells me that
> it can't find the file or directory for the comma
gards,
:-)hris
--
Christian Kaiser
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
experience in this domain (error catching)
Christian,
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
hi all,
i have been looking around on the net for a relatively complete
mime-type listing (possibly showing extensions) but have not come across
anything.
does anyone know of such a list or where i could obtain one?
who looks after such a list might be a better question.
many thanks
christian
cheers for that...
that listing should do the trick
it was right under my nose as usual
also thanks for your reply in my other post
christian
Marek Kilimajer wrote:
> I know about /etc/mime.types, does that help?
>
> christian haines wrote:
>
> >hi all,
> >
>
close($fp);
< my code
this is a memory issue in the php.ini i.e. memory_limit = 8M then the
largest file i can download is 8M
is there anyway to "force" a download without having to use the system
hungry fpassthru function?
this is driving me nuts so any help would be greatly appreci
thanks rasmus,
i have tried read file but it gave me the same issues as fpassthru.. both cap
on the memory_limit directive withint the php.ini file
any other suggestions maybe?
cheers
christian
Rasmus Lerdorf wrote:
> readfile()
>
> On Fri, 4 Oct 2002, christian haines wrote:
>
with this code? i have tried it with win ie 6 and mac ie 5.1.2
and ns 4.7.. same issue
cheers
christian
Rasmus Lerdorf wrote:
> readfile() reads 8k blocks at a time and dumps them out. It does not read
> the entire thing into ram, so that wouldn't be what was causing you to hit
> a
you could use the command "file -bin your_filename" and capture the output using popen
or exec.
i have found this to work well..
seee below
function mimetype($file)
{
// execute command
$fp = popen("file -bin $file","r");
// determine mimetype to output
if(!$fp)
{
// defaul
PHP Version 4.1.2
Red Hat Linux release 7.3 (Valhalla) (Kernel 2.4.18-3 on an i686)
Apache/1.3.23
Rasmus Lerdorf wrote:
> Which OS and which PHP version?
>
> On Fri, 4 Oct 2002, christian haines wrote:
>
> > this is what i have exactly in my code...
> >
> > hea
thanks for all your help and that last suggestion. it helped me isolate the issue.
which i believe relates to a header previously sent.still debugging it but got a
simple vers running
cheers
christian
Rasmus Lerdorf wrote:
> Which OS and which PHP version?
>
> On Fri, 4 Oct 2002,
where the textarea will be stored to LONGTEXt or LONGBLOB but I have all
the time the same problem.
Is it a MySQL limit problem ? or form (textarea) problem ?
Christian,
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
> Are you using POST or GET for your form? Show some code...
I use get. But I tried to post and look ok. Why this difference ?
Christian,
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
maybe try...
print "";
print_r($HTTP_POST_VARS);
print "";
this will dump the entire post var array to the browser.. similar to
functions before but faster.
Christian Haines
Internet Developer
MITOUSA.
Branding Strategies for Visual & Interactive Design
102 Tyn
Hello,
I change my code to catch error query. I have a table with 4 files
(Query,
Error_no, create_date, create_time).
When I have an error on a query, I call a page and I add a row in a
table
log_query.
The query (with error is like that) :
$query="
SELECT
auteur.NO AS AUTEUR_NOM,
auteur.PR
Hello,
I have a small problem a string I have for example : $myvar= "hellhttp://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
;not exists" without success.
Could you help me ?
Christian,
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hello,
I have an image (selected via a form), I know the original size of this
picture 800x600. I'd like when I put the files in the database resize to
240x180, or 120x90.
How do that ?
Bye
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.p
hanks,
Christian,
';
}
?>
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
ething like that :
C:\\Directory1\\Directory2\\File.xml
That's not work( the code to parse the XML file)
But If you replace the the string by
C:\Directory1\Directory2\File.xml
That's work.
Is there an easy way to change \\ by \ or an another solution
Christian,
--
PHP General Mailing
quot;Non posso creare il processo");
$cwd='file://'.dirname($_SERVER['SCRIPT_FILENAME'])."/";
xslt_set_base($xp,$cwd);
if ($result=xslt_process($xp,"arg:/xml","arg:/xslt",null,$arg_buffer)){
echo $result;
}else{
echo (&quo
e database or save the link
to this picture un the database ?
Christian,
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
help
Christian,
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
> use mysql_insert_id(). Much more reliable when and if you use the
system
> with more than one person inserting at the same time.
Sure it's for that I ask
Thanks for your help.
Christian,
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://
Hello,
I have a dedied server (with linux RedHat 7.2) and PHP 4.1.2.
I'd like to update to the version 4.2.1
Is it enought :
tar -zxvf phpfile4-2-1.gz
It's the first time I install PHP on linux in general I work on Windows.
Bye
--
PHP General Mailing List (http://www.php.net/)
To unsubsc
> If you were the person who installed PHP before, then you probably
> remember the process. It's a configure/make/make install process.
Sure :)
But I rent a dedicated server with all preinstalled, PHP, MySQL ...
Bye
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit
> Ok, if you're saying you do not have root access, then you have to
> have someone with root access do it for you.
I have root access :)
> If you are saying that you didn't do it the first time and you don't
> know how, then read the instruction manual or tutorial _very_ closely,
> since it wi
> You may want to do a phpinfo() on your existing installation, to
> determine the configuration directives that were used. Likely, you
> will want to use the same ones (or nearly the same) with this new
> build.
I have that :
System Linux localhost.localdomain 2.4.7-10BOOT #1 Thu Sep 6 16:15:0
;>> both OS
>>> X and 9.
>>>
>>> Thanks in advance,
>>> Kevin
>>>
>>>
>>> --
>>> PHP General Mailing List (http://www.php.net/)
>>> To unsubscribe, visit: http://www.php.net/unsub.php
>>>
>>
>>
>>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
>
>
|/
@ @
--oOO-(_)-OOo---
christian rellstab
rotbuchstrasse 52
8037 zürich
tel (p): 043 255 04 69
tel (g): 01 633 40 15
fax (g): 01 633 12 61
[EMAIL PROTECTED]
http://www.rellstab.ch/christian
---
Hmm.. who knows, Ive wasted to much time on this silly problem. I appreciate
your help Curt, thanks.
"Christian Calloway" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Fixed the problem using "s" pattern modifier: '/regexp/s', without it,
Hey,
I am setting up Apache 1.3.27 on a linux box (I really dont know much about
linux) and I am having small problem. When a specify a subdirectory off of
my document root, I must include a "/" forward slash in order for the index
page to load, otherwise I get the "The page cannot be displayed" m
I would like to use a form in a html page to pass the variables to a php
page, which sends an mail including these variables.
All I get in the mail though is a 1 rather than the string that I put into
the form???
Can anyone help please!
--
PHP General Mailing List (http://www.php.net/)
To unsub
I would like to use a form in a html page to pass the variables to a php
page, which sends an mail including these variables.
All I get in the mail though is a 1 rather than the string that I put into
the form???
Can anyone help please!
Some code I use
.
.
.
$messagepart1 = '
Free Subscrip
Hello,
I have in a database a date field (this format yyy/mm/dd). I'd like when I
display the value use an another format dd/mm/ (format in europ), could
you tell me if there is a format DateString function ?
Thanks,
Christian,
--
PHP General Mailing List (http://www.php.net
Hello,
It's not really a PHP question, sorry.
How reset a MySQL auto_incrment field ?
Thanks,
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
7;$station'");
header("Location: http://127.0.0.1/empty.php";);
}
}
With HTML it is . But this doesn`t work here
because I have sent the header already.
Can anyone help me?
TIA
Christian
--
$i++;
echo "";
echo ""."";
echo $status_array[1];
echo "";
echo "";
echo "".""."";
echo "";
echo "";
}
echo "";
echo
thx Mike that works :-)
thx also to the others for their help :-))
Christian
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
tiple
tables from multiple databases being opened on every user query? Thanks in
advance
Christian
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
he N number of products continues to increase).
Any ideas?
"Miles Thompson" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Christian,
>
> A red flag is flying.
>
> Usually, when people start talking about how the number of tables will
> multiply in an
but I will do some
digging myself. Thanks for the help
Christian
"Miles Thompson" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Christian,
>
> I did a bit of digging in the MySQL docs to try and find the limits on
> number of fields in a table, etc. Didn
. Any
comments? Thanks
Christian
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hello!
I have some problems with my PHP script that utilizes the BCDIV function,
and I was hoping some of you could be so kind as to help me solve it.
To the problem: I use BCDIV to divide a string to a integer constant and it
works great, unless the string is no more than 14 digits...
I have tr
Does anybody know how to realise this?
Write a custom browser for this and tell all your visitors to use it.
Seriously - you can't control how the browsers buffer the received data,
when they render it etc.
That said - make sure that PHP output buffering is off
--
Christian Reiniger
LGDC Web
ot completely mistaken, so there
shouldn't be a problem
> sleep(1);
>}
>return;
Your compiler should throw an error here - main is declared as "int" but
doesn't return a value
> }
--
Christian Reiniger
LGDC Webmaster (http://sunsite.dk/lgdc/)
Those w
bligated to use VIM,
My personal favourite is fte. Its only problem is that it doesn't have
real PHP highlighting, but I got used to switching between HTML and C
mode...
--
Christian Reiniger
LGDC Webmaster (http://sunsite.dk/lgdc/)
Those who will not reason, are bigots,
those who cannot,
ws without performing a second
> SELECT in this format:
look for mysql_num_rows ()
--
Christian Reiniger
LGDC Webmaster (http://sunsite.dk/lgdc/)
Drink wet cement. Get stoned.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-m
t; notebook being too slow :)
(granted - that computer here runs on Linux without any GUI, but still...)
--
Christian Reiniger
LGDC Webmaster (http://sunsite.dk/lgdc/)
This is JohnC IMHO, I compaired tri-word groupings here and in his plan
and got a good match.
- /. posting discussing the lik
>
> $title
> ";
One reason why I don't like the "echo" route: I lose the syntax
highlighting for the HTML that way. String constants should be
highlighted as, well, string constants normally, but when they contain
HTML code t
On Saturday 13 January 2001 00:36, jeff fitzmyers wrote:
> The code below does not work. What could be causing
> Please enter user name here:
>
Pull out your favourite HTML documentation and read again through the
discussion of the tag
--
Christian Reiniger
LGDC Webmas
Hello,
I would like to create a dynamic mulitple-choise - Form, in which the
filenames, included in a subdirectory (e.g. imgstand) are listed as the
Option-vale "value" and the modification-date of the file is shown in
the HTML-page as date for selection of the user.
If a user choise one or more
On Sunday 14 January 2001 17:54, Christian Binder wrote:
> The only problem is, that my following script only shows one date (IMO:
> of the first value (.)), and not create the date of each file.
> // get unix-timestamp form each file in subdirectory
> $unixdatum=getlastmod($datei
7;, '', $Address);
// strip leading/trailing whitespace
$Address = trim ($Address);
// check for basic form
return preg_match ('/^[^@]+@[\w-]+(\.[\w-]+)+$/', $Address);
}
--
Christian Reiniger
LGDC Webmaster (http://sunsite.dk/lgdc/)
"Software
On Tuesday 16 January 2001 09:30, Vlad wrote:
> Hi all!
> How can I check (in PHP code) if the target browser supports image
> displaying or not?
PHP manual/misc. functions/get_browser()
--
Christian Reiniger
LGDC Webmaster (http://sunsite.dk/lgdc/)
What luck for the rulers that m
I think it should be
... onClick='javascript:self.history.back()'...
--- "Jacky@lilst" <[EMAIL PROTECTED]> wrote:
> Hi people
> Looking for a piece of advice about what is wrong
> with this sniplet and what is the right one. I
> tried to write the html using print(""); as below:
> print("");
> p
y posted a solution for this (complete,
working source code) some time ago.
Here it is:
Date: Fri, 5 Jan 2001 18:08:51 +0100
--
Christian Reiniger
LGDC Webmaster (http://sunsite.dk/lgdc/)
"Never doubt that a small group of thoughtful, committed people can
change the world...
Indeed, it
eky in th 0.1% range.
Look at bigger optimizations first, then benchmark and if it still is too
slow (and only then) optimize further.
--
Christian Reiniger
LGDC Webmaster (http://sunsite.dk/lgdc/)
The most exciting phrase to hear in science, the one that heralds new
discoveries, is not "Eureka&
ove works for:
> [b]bold text[/b]
>
> But does not work for:
> [b]bold text
> w/ newline[/b]
add a "s" modifier to the expression and
=>
$pattern = "/\[b\](.*)\[\/b\]/Uis";
--
Christian Reiniger
LGDC Webmaster (http://sunsite.dk/lgdc/)
On Thursday 18 January 2001 23:05, Noel Akins wrote:
> Question 2:
> Is there a way for php to detect the cpu speed of a users computer?
If you're on a Linux machine you can read /proc/cpuinfo and pick out the
speed entry.
--
Christian Reiniger
LGDC Webmaster (http://sunsite.dk/lg
the heck do you build a dynamic site without URL variables,
> cookies, or POST variables?
Search phpbuilder.com for an article called "Writing dynamic pages with
search engines in mind" or so.
--
Christian Reiniger
LGDC Webmaster (http://sunsite.dk/lgdc/)
This is JohnC IMHO, I compair
; ?>
>
> http://mysite.com/Yarns/"> Yarns
Read
http://www.phpbuilder.com/columns/tim19990117.php3
Basically you create "virtual directories", e.g. a PHP script named
"Yarns" which simply include()s your one "real" script.
--
Christian Reiniger
LGDC Webm
27;, file($url));
>
> Probably about the same either way...
Perhaps. In an earlier version of PHP I had a problem where the above
code (fopen...) read *more* than the page length. I.e. the page was e.g.
20k big and the fread appended ~5k of junk to it.
--
Christian Reiniger
LGDC We
got the --with-apxs switch to ./configure
Also , try doing a
strip --strip-unneeded libphp4.so
afterwards
--
Christian Reiniger
LGDC Webmaster (http://sunsite.dk/lgdc/)
The use of COBOL cripples the mind; its teaching should, therefore,
be regarded as a criminal offence.
- Edsger W. Dijkstra
Anyone who can help me making a loop of this?
http://www.sakshaug.net/phps/loop.txt
I have tried many things, but I can't get it perfect...
Best Regards, Christian Sakshaug
--
Email: [EMAIL PROTECTED]
Web: www.sakshaug.net
Tel: +47 913 95 618
--
PHP General Mailing
On Thursday 25 January 2001 21:06, H. Wade Minter wrote:
> Does anyone have a good idea on how to split after a certain number of
> words?
Attached is code that semi-intelligently limits strings to a certain
number of characters. Perhaps that helps you.
--
Christian Reiniger
LGDC Web
floating-point value
instead of as string)
--
Christian Reiniger
LGDC Webmaster (http://sunsite.dk/lgdc/)
"use the source, luke." (obi-wan gnuobi)
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL
On Friday 26 January 2001 22:35, Giancarlo wrote:
> > how many elements i can insert in an array?
> thank you!
I'd say up to 2^31 or until your memory is full (which is likely to occur
earlier)
--
Christian Reiniger
LGDC Webmaster (http://sunsite.dk/lgdc/)
Even idiots can ha
"
=> MySQL already provides functions for that.
--
Christian Reiniger
LGDC Webmaster (http://sunsite.dk/lgdc/)
Even idiots can handle computers, and many do.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PR
ere as
TAB character. Write "C:\\temp.exe" instead.
> send me an example or tell me what I am doind wrong? Any assistance is
> very much appreciated,
Well, it would help if you'd tell us what goes wrong - error messages,
things it should do but doesnt ...
--
Christian Reiniger
om table where datefield <= DATE_SUB(NOW(),
INTERVAL $days DAY)", $dbh);
--
Christian Reiniger
LGDC Webmaster (http://sunsite.dk/lgdc/)
"These are the people who proudly call themselves "hackers" --
not as the term is now abused by journalists to mean a computer
criminal, bu
I FTP. How can this be done with a PHP script???
... but apparently you *want* it to mangle the data (convert line ends).
You server is a Unix machine? What error does Mysql give you on the
"broken" files?
--
Christian Reiniger
LGDC Webmaster (http://sunsite.dk/lgdc/)
I saw God ---
On Wednesday 21 February 2001 17:09, Chris Lee wrote:
> dspimage.inc
> index.php
> echo "
>
> ";
> ?>
Note: better name that to dspimage.php, as webservers typically don't
execute *.inc
--
Christian Reiniger
LGDC Webmaster (http://sunsite.dk
fterwards (including all his private data).
Well, in practice proxies won't cache results of POST queries, but it's
still a big security hole (never trust programs you don't admin yourself)
--
Christian Reiniger
LGDC Webmaster (http://sunsite.dk/lgdc/)
I saw God - and s
with a backslash) because a dot in a
regexp has a special meaning: "match any char". The escaping makes it
behave as a literal dot
The "$" means "here has to be the end of the string" (an "anchor")
=> the entire pattern means
"match if the string ends
I.e. that doesn't work.
Use the proper HTML entities for the brackets:
<? readfile (""); ?>
--
Christian Reiniger
LGDC Webmaster (http://sunsite.dk/lgdc/)
I saw God - and she was black.
--
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]
t; For instance with the numbers above:
> >
> > PAGE 1: 50%
> > PAGE 2: 25%
> > PAGE 3: 25%
> >
> > Or is their a process by which to store numbers for easily getting
> > this to work?
>
> SELECT (hitcount / 1000) * 100 AS percentage FROM sometable
Bet
something
> like fopen?
Well, Use PHP instead of COBOL...
Sorry, but read some basic tutorials on PHP.
--
Christian Reiniger
LGDC Webmaster (http://sunsite.dk/lgdc/)
I saw God - and she was black.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL P
On Thursday 22 February 2001 12:14, PHPBeginner.com wrote:
> if it is in html then do this:
>
>
>
> but if you are using PHP then echo 'http://sunsite.dk/lgdc/)
Drink wet cement. Get stoned.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additi
mplemented in PHP with only 4 lines?
--
Christian Reiniger
LGDC Webmaster (http://sunsite.dk/lgdc/)
Drink wet cement. Get stoned.
--
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
On Thursday 22 February 2001 12:28, Andris Jancevskis wrote:
> how can I determine size of directory with subdirectories? if I see
> at "ls -l" it returns directory size 4096. I want to know how large
> is directory (with files into) without looping all files ...
ma
#x27;) . '.gif'", $contents);
> ?>
simpler that
"/([-_a-zA-Z0-9]+)\.gif/e"
is
"/([-\w]+)\.gif/e"
--
Christian Reiniger
LGDC Webmaster (http://sunsite.dk/lgdc/)
Google results 1-10 of about 142,000,000 for e. Search took 0.18 seconds.
- http://www.google
; that when I want to output the array I can reference it like so:
>
> echo("$array[$i]["course_num"] $array[$i]["course_title"]");
Change this to
echo ("{$array[$i]['course_num']} {$array[$i]['course_title']}");
--
Christian
://foo.bar/test.php?answer=42
will call test.php with a global variable $answer set to "42"
--
Christian Reiniger
LGDC Webmaster (http://sunsite.dk/lgdc/)
Nothing is more dangerous than an idea if it's the only one you have.
- Emil-Auguste Chartier, "Propos sur la religion
On Friday 23 February 2001 15:46, Hardy Merrill wrote:
> Look up the "split" and "explode" functions - they both do basically
> the same thing.
>
> $token_list = split(",", $string_to_parse);
.. and if that doesn't suffice I can send you a nice&
DateTime = '-00-00
> >> 00:00:00')
> >> UPDATE LOW_PRIORITY db_table SET
> >> DownloadedDateTime=CURRENT_TIMESTAMP WHERE (DownloadedDateTime =
> >> '-00-00 00:00:00')
--
Christian Reiniger
LGDC Webmaster (http://sunsite.dk/lgdc/)
On Friday 23 February 2001 17:02, Jeff wrote:
> Is there better performance/speed instantiating an array with a
> specified size and then adding elements versus adding elements to an
> array with no size?
Uh, you can't specify the size when instatiating an array ...
--
Christian
On Friday 23 February 2001 19:27, Don Johnson wrote:
> Yup. Go figure.
>
> Don Johnson
>
> > It works if you execute only the SELECT (without the UPDATE) ?
> >
> > Christian Reiniger
> > LGDC Webmaster (http://sunsite.dk/lgdc/)
> >
> > On Friday 23
uery and check the order)?
Perhaps you can also post the actual code..
--
Christian Reiniger
LGDC Webmaster (http://sunsite.dk/lgdc/)
...1000100011010101101010110100111010113...
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additiona
> anyone help me with this?
Well, I prefer preg_* :)
$mystring = preg_replace ('/<.*/', '', $mystring);
--
Christian Reiniger
LGDC Webmaster (http://sunsite.dk/lgdc/)
...1000100011010101101010110100111010113...
--
PHP General Mailing List (http://www.ph
e else already said, addslashes () is the tool of choice
for the way in, and for he way out you don't need to do anything.
--
Christian Reiniger
LGDC Webmaster (http://sunsite.dk/lgdc/)
"The number of Unix installations has grown to 10, with more expected."
-- The Unix Program
our question, but I hope that some
part of the above answers it...
--
Christian Reiniger
LGDC Webmaster (http://sunsite.dk/lgdc/)
"The number of Unix installations has grown to 10, with more expected."
-- The Unix Programmer's Manual, 2nd Edition, June 1972
--
PHP General
t set.
=> isset () should be used.
--
Christian Reiniger
LGDC Webmaster (http://sunsite.dk/lgdc/)
"The number of Unix installations has grown to 10, with more expected."
-- The Unix Programmer's Manual, 2nd Edition, June 1972
--
PHP General Mailing List (http://www.php.net/)
To un
.
>
> man, this is like the thread that will not die. isset() will return
> true for an empty string, which is not what he wants. the right thing
> to do is use
>
> if((isset($var))&&($var!=""))
I never said *only* isset() should be used :)
--
Christian Reiniger
me
> configuration, don't work in my machine, everytime he say 1.
Well, you never change $c, so it of course always says 1
--
Christian Reiniger
LGDC Webmaster (http://sunsite.dk/lgdc/)
...1000100011010101101010110100111010113...
--
PHP General Mailing List (http://www.php.net/
to let the *browser* preserve the string
(and not e.g. parse the "<" as start of a tag).
htmlentities () ist the function of choice then...
--
Christian Reiniger
LGDC Webmaster (http://sunsite.dk/lgdc/)
"use the source, luke." (obi-wan gnuobi)
--
PHP General Mailing List
s "is set"? Is it
> "introduced to the global namespace"?
"introduced to the *current* namespace"
--
Christian Reiniger
LGDC Webmaster (http://sunsite.dk/lgdc/)
"use the source, luke." (obi-wan gnuobi)
--
PHP General Mailing List (http://www.php.net/)
To
101 - 200 of 1377 matches
Mail list logo