I'm develloping a mail application, wich sends single part e-mail with PHP.
for users who want the text version, I want to strip the HTML version and
send what's left (plain text) to them.
Can anybody tell me the best way to do this, I mean stripping all teh HTML
tages with PHP.
thanx
I look a little futher next time!
erik
"Ouster" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> I think the best way is to use regular expressions.
>
> Erik <[EMAIL PROTECTED]> wrote in message
> [EMAIL PROTECT
uture releases?
I think the Zend engine version 2 provides much better coding facilities so
I would preciate if anybody could answer my questions.
Thanks
/Erik
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
x27;m longing for it... :)
"Rasmus Lerdorf" <[EMAIL PROTECTED]> skrev i meddelandet
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> That was never the plan. It is scheduled for PHP 5 sometime in the next
> 6-12 months.
>
> -Rasmus
>
> On Tue, 24 Dec 2002
s about (for an example) private
members?
"Erik FranzéN" <[EMAIL PROTECTED]> skrev i meddelandet
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> After I posted the first message, I read something about PHP 5 at
> www.zend.com and suspected that is was about the new Zend E
gards
Erik
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
lidPhoneNumber($phone)) {
375 $this->phone = $phone;
376 }
377 }
I am using PHP 4.3.0 on a RedHat machine with Apache 1.3.x.
Thanks for your help, it's been a while since I've used PHP!
Erik
--
Erik Price
email: [EMAIL PROTECTED]
jabber: [EMAIL PROTECTED]
--
PHP G
namespace? Or does it even do this with methods?
Just curious so I don't depend on anything I'm used to from other
languages thanks!
Erik
--
Erik Price
email: [EMAIL PROTECTED]
jabber: [EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
eason (knowingly) and therefore can be considered the
most dangerous segment of users. (Knowledge being power and all.)
Erik
--
Erik Price
email: [EMAIL PROTECTED]
jabber: [EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--password
Erik
--
Erik Price
email: [EMAIL PROTECTED]
jabber: [EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
describe your table's relationship to other
tables.
(In a table named "registrants", you could have the comment
registrants.user_id = users.user_id
)
http://www.mysql.com/doc/en/CREATE_TABLE.html
Erik
--
Erik Price
email: [EMAIL PROTECTED]
jabber: [EMAIL PROTECTED]
27;m going to
have to do. However, this means I can't let users enter double quotes,
or the same thing will happen. In other fields, double-quotes might be
necessary. Is there any other solution?
Thanks,
Erik
PS: I am using htmlentities() on the output before displaying it in the
browser
olumn type. You can extract a day, year, or month
from this, without having to maintain three separate tables, using
DATE_FORMAT. You can also sort by DATE in the query. Would this not be
better for your situation?
Erik
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, v
You will pass it a string argument:
$my_url = "http://php.net/header";; // your URL goeth here
header("Location: $my_url");
Note that you have to call header /before/ you send output to the browser.
Erik
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
ndDate) {
// do something
}
Erik
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Bix wrote:
Is it possible to look at individual chars of a string?
eg: $str = "12345";
print $str_1 // Gives "1"
print $str_2 // Gives "2"
Try this:
print $str{0}; // gives "1"
print $str{1}; // gives "2"
Erik
--
PHP General Mailin
rks but is deprecated. Use curlies.
http://www.php.net/manual/en/language.types.string.php#language.types.string.substr
Erik
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
terpolated/evaluated to the value of the
constant.
Generally I always use single quoted strings unless there's some need
for double-quoted strings (like if I want to embed a variable) so
something like this can't happen.
Also good idea to only use capital letters for constants.
Erik
--
Erik Price wrote:
If you had a constant named "somefile" or "php" and you use the second
syntax, the constant would be interpolated/evaluated to the value of the
constant.
Generally I always use single quoted strings unless there's some need
for double-quoted s
CPT John W. Holmes wrote:
Well, the first part is out your butt... :)
Yep. I tested it after making the assumption, sure enough I was WRONG.
I've got to keep my butt under control, it's getting a little out of hand.
To the OP, sorry 'bout that.
Erik
--
PHP General Mai
xcept Perl6 :). I count it as possibly the
most useful book I've ever read.
Erik
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
an an integer (and the column type is an integer). I'm not
really definite on that last one though (more talking out the butt, I
suppose).
Erik
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I'm assuming that you are using the system() or exec() commands, your
email is a little difficult to understand in that respect... sorry.
Erik
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
many
nested enclosing structures are to be broken out of."
from http://www.php.net/manual/en/control-structures.break.php
Erik
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
h the right permissions.
That sounds like a good plan.
Erik
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
with the system() function, but it doesn't return an array
but rather a string. You can parse the string into an array with
string-processing functions.
Erik
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
in
(which is checked by the include file). For maximum security, use SSL
and beware the possibility of session hijacking. If you don't want to
use cookies, you can either embed the SID in all hyperlinks of your site
or just recompile PHP with the --enable-trans-sid flag (unless you'
es closest to the individual
first.
When you say "using php" I'm assuming that this means you are not doing
the calculation at the database, but rather in your PHP code. Use the
distance you've calculated as the numeric index of an array, pointing to
the record that corresp
which extracts the records from the database. In other words, it's
hard for me to explain it without seeing your records' structures. I
don't know of a tutorial on this, when you see what I'm talking about
you'll realize it's kind of basic.
Erik
--
PHP General Ma
the page
as usual, if not, redirect to the login page.
if (isset($_SESSION['logged_in']) &&
$_SESSION['logged_in'] == true) {
// display page
}
else {
header("Location: http://domain.com/login";);
exit("Sorry, you are not logged in.");
}
CF High wrote:
Hey all.
I was under the impression that PHP processes all php code first before
handing HTML processing over to the browser.
http://www.php.net/manual/en/ref.outcontrol.php
Erik
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net
ist.
I've CC'd this back onto the list since this kind of discussion can be
helpful for others who are learning too.
Erik
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
# a bunch of lines go here
# a bunch of lines go here
# a bunch of lines go here
# a bunch of lines go here
# a bunch of lines go here
AddType application/x-httpd-php .php .php3 #<--- you need this line
Erik
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, vi
which are written in Java. But I am sure that if you
scour the web you can find some Perl, Python, or maybe even PHP-based
solution.
Erik
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Brad Wright wrote:
Erik,
thanks, are you able to pint me to some good reference sources on
tokenizer's... i have never come across them before
I have been scouring the web, and am coming up a decided blank. :)
The only tokenizers I have used are the StringTokenizer and
StreamTokenizer cl
n any case. For instance if php was a file, the base would be
http://www.host.com/directory/, if it was a directory with an index the base
would be http://www.host.com/directory/php.
Anyone know if this information is available?
Thanks,
Erik Fears.
--
PHP General Mailing List (http://www.ph
}
}
The crux of my question is, does this have the effect that it appears to
have? I am hoping someone with thorough understanding of the internals
of PHP can give me a definitive answer. My tests are coming up with
strange results, so I haven't figured it out on my own yet.
Thanks
question of encapsulation vs modularity, it would seem.
Your thoughts are gratefully accepted.
Erik
Erik Price
Web Developer Temp
Media Lab, H.H. Brown
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
any method calls. I do one call to dothis(), which does all
my work, and then I'm done.
That's what I'll go with, thank you.
Erik
On Thursday, June 6, 2002, at 05:09 PM, Scott Hurring wrote:
> It depends highly on what you're doing and how you're doing it :)
If anyone read this post, you probably already forgot about it, but I
just wanted to clarify that I found the source of the problem and it was
a coding mistake on my part, not a problem with PHP's array
implementation.
Erik
On Thursday, June 6, 2002, at 03:11 PM, Erik Price wrote:
an offset that is not a multiple of 10?)
That's all there is to it. It's complicated at first, but once you get
it, you'll always be able to do it. I strongly recommend that you
create a class called "ThumbnailResults" and store all of this logic in
the class, since it
f with this warning... just go get started with
programming in PHP, and you will eventually learn what you need to as
you go. Just don't put it on the real site until you're sure it's done,
so all your development locally or something.
Erik
PS: don't overwrite old stuf
On Friday, June 7, 2002, at 12:50 AM, Analysis & Solutions wrote:
> On Thu, Jun 06, 2002 at 04:57:42PM -0400, Erik Price wrote:
>
>> I have a method in my class that essentially unsets an array element.
>
> Uh, I know you're a sharp guy, but I've got to ask
an if it is an
HTML-based web page. That's why some sites are providing the option of
an XML page or an HTML page, because they recognize that sometimes the
agent requesting the page is not a human but rather a program.
You may be interested in something called RDF (I think) for which PHP
to check another
session variable to see if they're logged in. If they have user_id
session variable, then they have a session, and are logged in, afaict.
You're really testing different elements of the same $_SESSION array, so
the presence of any session var means that a sessio
easy as anything I can
think of. So for true security you'll need SSL.
Erik
Erik Price
Web Developer Temp
Media Lab, H.H. Brown
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
time_array[0];
$minutes = $time_array[1];
$seconds = $time_array[2];
// convert to timestamp so we can easily do math
$timestamp = mktime($hours, $minutes, $seconds, 0, 0, 0);
Now all of your times are in timestamp form, and you can do what you
need to do.
Erik
Erik Price
Web Develop
On Friday, June 7, 2002, at 02:22 PM, Erik Price wrote:
> First of all, if you're storing time then you're better off using the
> DATETIME column type. Even though it may take a bit more space than
> CHAR(8), unless you absolutely need the ultimate in table optimization,
I thought that it was a CHAR column. I didn't know you could use
UNIX_TIMESTAMP() on CHAR columns, so I was showing him how to turn his
colon delimited strings into timestamps with mktime().
Erik
On Friday, June 7, 2002, at 02:27 PM, John Holmes wrote:
> Umm...How abo
on the client side, so the cookie can
be read immediately once it is set without the need for requests and
page submits or what have you.
If you think in terms of HTTP it all makes total sense.
Erik
Erik Price
Web Developer Temp
Media Lab, H.H. Brown
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
;
> Can you do that? If so is that how you do it?
Exactly.
Erik Price
Web Developer Temp
Media Lab, H.H. Brown
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
7;s set in
your php.ini. You can either work around it using stripslashes() on
your GET/POST/COOKIE data, or you can change the setting in php.ini or
with a function that changes the setting like ini_set().
Erik
Erik Price
Web Developer Temp
Media Lab, H.H. Brown
[EMAIL PROTECTED]
ey could hire someone cheaper or learn how
to do it themselves and drop their Europa subscription. But I'm sure
you've already considered that.
Erik
Erik Price
Web Developer Temp
Media Lab, H.H. Brown
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
turning
register_globals = off, to help yourself avoid making bad coding
mistakes.
It's no substitute for good coding, but it can help.
Erik
Erik Price
Web Developer Temp
Media Lab, H.H. Brown
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
oseMsg) && empty($defaultYear)) {
$year_form .= "\t" .
$pleaseChooseMsg . "\n";
$yearSelectedAlready = true;
$yearPleaseChooseMade = true;
}
if ($yearPleaseChooseMade == false && !empty($pleaseChooseMsg)) {
$year_form .= "\t" . $pleaseChooseMsg .
"\n";
}
// loop through the array of years, set a default if appropriate
foreach ($years as $yearname) {
if (!empty($defaultYear) && $defaultYear == $yearname) {
$year_form .= "\t{$yearname}\n";
} else {
$year_form .= "\t{$yearname}\n";
}
}
$year_form .= "\n";
return $month_form . $day_form . $year_form;
}
Erik Price
Web Developer Temp
Media Lab, H.H. Brown
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Friday, June 21, 2002, at 09:27 AM, Erik Price wrote:
> * @param string $defaultMonth one- or two-digit number representing a
> default month (if empty, defaults to current month + day multiplier)
> * @param string $defaultDay one- or two-digit number representing a
> defaul
de of the function it works fine.
> I don't want to parameter pass the global variables to the function, I
> know
> this would work, but I would have to many variables to pass.
This is why superglobals were invented.
Use $_SERVER['PHP_SELF']
Erik
Erik Price
We
elieve that with a simpler DB query, a
DB access is faster than a file read.
Here's something that turned up in Google...
http://phplens.com/lens/php-book/optimizing-debugging-php.php
Erik
Erik Price
Web Developer Temp
Media Lab, H.H. Brown
[EMAIL PROTECTED]
--
PHP General Ma
at sendmail works just
fine. It is a RedHat 7.2 server, if that matters (though I don't think
it does). I have done all of my compiling as root, and
/usr/sbin/sendmail was definitely in my PATH.
If I had any money, I would PAY for someone to explain to me what is
going wrong. Thank you
ting it.
There's just no explanation! I've even pointed my path_to_sendmail to
an executable shell script that prints a confirmation message if it is
executed, and the mail() function has the exact same effect if I do this.
Gratefully,
Erik
On Friday, June 21, 2002, at 12:56 PM,
t ini_set() ?
http://www.php.net/manual/en/function.ini-set.php
----
Erik Price
Web Developer Temp
Media Lab, H.H. Brown
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
est, but then the web server has no way of knowing when the user
"stops" looking at the page, so... you get the picture.
You'd have to write a Java applet or something that can maintain state.
HTTP can't do this. Unless you're really creative and you use
JavaScript an
ot; === "1")
if (1 === 1)
> Also, what happens when you put a @ thingy in front of a function? Does
> it surpress the errors?
Yes.
Erik
Erik Price
Web Developer Temp
Media Lab, H.H. Brown
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
this:
array_push($array, 'dummy_value');
unset($array[$index_to_unset]);
array_pop($array);
Because using array_pop() will re-index the array. Much thanks to
Nathan for that tip.
Erik
Erik Price
Web Developer Temp
Media Lab, H.H. Brown
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
n't
work if the user doesn't have the right implementation of JavaScript.
That can be a headache.
or you can write a Java applet (actually for this kind of task I
recommend this).
Erik
Erik Price
Web Developer Temp
Media Lab, H.H. Brown
[EMAIL PROTECTED]
--
PHP General M
27;PHP_SELF'] instead of $PHP_SELF.
Erik Price
Web Developer Temp
Media Lab, H.H. Brown
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
p://www.php.net/manual/en/function.ini-set.php
The terms PHP_INI_SYSTEM and PHP_INI_ALL aren't totally clear in the
right-hand column titled "changeable".
Erik
Erik Price
Web Developer Temp
Media Lab, H.H. Brown
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.p
,
Have a read of the following thread from this weekend:
http://marc.theaimsgroup.com/?l=php-
general&r=1&w=2&q=b&s=Whos+online+at+the+moment+in+PHP
It discusses some of the issues involved in this.
Erik
Erik Price
Web Developer Temp
Media Lab, H.H. Brown
[EMAIL PROTECT
reason you needed
// to use double quotes within the array element reference
// (to interpolate a variable, for instance)
echo "This script is called {$_SERVER["PHP_SELF"]}";
// and this is the same thing really
echo "This script is called ${_SERVER["PHP_SELF"]}
$_SERVER[PHP_SELF]";
>
> or even
>
>echo "This script is called " . $_SERVER['PHP_SELF'];
Oh. Well, thanks for clarifying -- I always use the concat (last)
method myself, but this settles an incorrect assumption I'd been
carrying around for months. You
#x27;php.ini' -print
and enter your password when it asks for your password. Be patient as
it searches, you'll get no visual confirmation that the search is
running until it's done or until it finds something.
Erik
Erik Price
Web Developer Temp
Media Lab, H.H. Bro
On Monday, June 24, 2002, at 03:51 PM, Erik Price wrote:
> sudo find / -name 'php.ini' -print
Clarification: substitute the search string with 'php-ini.dist' if you
haven't yet configured it. Note that Macs, although they ship with PHP
pre-installed, are miss
l with varying ending tags, then you'll have to come up
with a creative method for capturing them and storing them, then
dynamically determining their length and do the same thing, then append
the ending tag (whatever it may be). I would use regexes to do this
part.
Erik
Erik
;;
if (preg_match('/@/', $str)) {
print "$str does contain the '@' symbol.\n";
}
Erik
Erik Price
Web Developer Temp
Media Lab, H.H. Brown
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
prefer, you can do
this:
$getVarsArr = array();
foreach ($_GET as $getVarName => $getVarVal) {
$getVars[] = $getVarName . "=" . $getVarVal;
}
$getVarsStr = implode("&", $getVars);
$request = "http://"; . $_SERVER['HTTP_HOST'] . "/" .
$_SERVER['
On Tuesday, June 25, 2002, at 03:22 PM, Erik Price wrote:
> However, I don't like using $_SERVER['QUERY_STRING'] because if there
> are empty GET variables, it grabs them. So, if you prefer, you can do
> this:
>
> $getVarsArr = array();
> foreach ($
gt; Cannot connect to The Database.
You need to grant privileges to log in as root remotely, which is
probably not recommended. Basically a GRANT statement that lets people
access MySQL as root from your IP address.
Better to create a new user (such as "phpuser" or something) an
ge the
file to the "apache" group unless you are a member of the "apache"
group, but if you are a member of the "apache" group then you can see
all of the "protected" files in that group).
Also I have a directive that prevents Apache from serving any file
(I would just throw 'em in arrays)
3. determine which array should populate the second listbox based on the
input in the first listbox using JavaScript event handlers in the first
listbox
HTH,
Erik
Erik Price
Web Developer Temp
Media Lab, H.H. Brown
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
nt...
only checked boxes are sent. So you need to check for the presence of
variables if you are going to unset() the unchecked boxes, or determine
the unchecked values based on what is NOT checked, etc.
Good luck
Erik
Erik Price
Web Developer Temp
Media Lab, H.H. Brown
[EMAIL
tuff. Always feature an exit() with a header-based
redirect.
Erik
Erik Price
Web Developer Temp
Media Lab, H.H. Brown
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
'toolbar=no,directories=no,
status=no,menubar=no,resizable=yes,
copyhistory=no,scrollbars=yes,
width=500,height=300');
detai
at fetches the file (therefore it needs to be in the docroot). But
mod_php is faster than CGI PHP and can handle more simultaneous
requests. Right?
Erik
Erik Price
Web Developer Temp
Media Lab, H.H. Brown
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
be pretty easy to
extract the data from it without writing special code to handle these
kinds of exceptions.
Erik
Erik Price
Web Developer Temp
Media Lab, H.H. Brown
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
t have any problems...
Plus IIRC it's a C extension so it'll run faster anyway.
Erik
Erik Price
Web Developer Temp
Media Lab, H.H. Brown
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
consistently refuse to ship a decent JVM with their OS, even though they
are freely available from the Sun web site).
That's why server side stuff like PHP will probably always be invaluable.
Erik
Erik Price
Web Developer Temp
Media Lab, H.H. Brown
[EMAIL PROTECTED]
--
PHP G
($data_to_send) . "\n");
fputs($fp, "Connection: close\n\n");
fputs($fp, $data_to_send);
while(!feof($fp)) {
echo fgets($fp, 128);
}
fclose($fp);
}
Erik
Erik Price
Web Developer Temp
Media Lab, H.H. Brown
[EMAI
ropriate subtype
Is that possible in PHP Namely, the casting above?
Or does my client code need to be able to figure out which type of
project it is (say, from the DB) and then use this to determine which
object type to instantiate?
Thanks very much,
Erik
Erik Price
Web Develo
ling xml or something. So, is xml
> in
> php supported automatically?
Yes. Since 4.1.x at least. But for XSLT you need to get expat and
Sablotron and link them into the compile (with the appropriate
./configure options).
Erik
Erik Price
Web Developer Temp
Media Lab, H.
.
Just try it.
for ($i = 0; $i < 10; $i++) {
$var{$i} = $i + 6;
echo "\$var$i == " . $var$i . "\n";
}
$var0 = 6
$var1 = 7
$var2 = 8
$var3 = 9
$var4 = 10
$var5 = 11
$var6 = 12
$var7 = 13
$var8 = 14
$var9 = 15
Erik
Erik Price
Web Developer Temp
Me
or any software
you upgrade -- this is mentioned in the PHP 4.1.x release notes if you
want to read them for yourself.
Erik
Erik Price
Web Developer Temp
Media Lab, H.H. Brown
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
ask to make yours system more secure.
http://www.w3.org/Security/Faq/
Erik Price
Web Developer Temp
Media Lab, H.H. Brown
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
ls and a
million other configuration directives are decided...
?
Erik
Erik Price
Web Developer Temp
Media Lab, H.H. Brown
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
x27; attribute of the 'option' tag):
print "
One
Two
\n";
In the "test.php" page, the selected value will be found in the
$_POST['example'] variable.
Erik
quot;localhost/image.gif", and the second
one requires the file at "www.domain.com/image.gif".
Erik
Erik Price
Web Developer Temp
Media Lab, H.H. Brown
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
nding to you, whether it's GET, POST, or COOKIE, is data that they can
see.
Erik
Erik Price
Web Developer Temp
Media Lab, H.H. Brown
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
quot;form" tag.
> I have one website that use session. Like session_start(),
> session_register(), etc. How would this be affected and what is the
> work
> around to this one.
You now refer to a session variable as $_SESSION['variablename'].
Erik
E
On Wednesday, June 26, 2002, at 03:37 PM, Doug Coning wrote:
> I have a php page that return rows from a database. I then have an href
> link to the individual thread as such:
>
> target='_blank'>".
>
>
> This works, it opens a new window which has the detailed information
> needed.
> Howeve
t I am unsure of what
purpose the "object" type reference has.
Erik
Erik Price
Web Developer Temp
Media Lab, H.H. Brown
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
test/73things_thread.php?threadID=15
Even though the threadID GET value is different in each one, the same
data is coming up. So you need to check your back end code.
Erik
Erik Price
Web Developer Temp
Media Lab, H.H. Brown
[EMAIL PROTECTED]
--
PHP General Mailing List (http:/
1 - 100 of 847 matches
Mail list logo