rror checking, so if $foo doesn't exist, you'll get a warning and
empty string inserted.
---John W. Holmes...
PHP Architect - A monthly magazine for PHP Professionals. Get your copy
today. http://www.phparch.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
hing.
www.php.net/parse_ini_file
---John W. Holmes...
PHP Architect - A monthly magazine for PHP Professionals. Get your copy
today. http://www.phparch.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
umber. But I can't figure out
how
> to
> get the last item in that same array -- $cat_data[x][0] where x is the
> last
> item in the array.
Kind of begs the question of why can't you just select what you need
with the proper query, instead of loading everything into an array...
tain the same formatting as
what I
> input?
How are you getting it into the database? MySQL isn't going to change
the formatting of that text at all. Now, if you were to display it in an
HTML page, it won't look the same. HTML does not recognize newlines,
only tags. Here is where the n
obals, if I had to guess. Otherwise, show your code
so we can see what's going on.
---John W. Holmes...
PHP Architect - A monthly magazine for PHP Professionals. Get your copy
today. http://www.phparch.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
to do it? This is going to be on a Win2K machine. Thanks
for any info.
---John W. Holmes...
PHP Architect - A monthly magazine for PHP Professionals. Get your copy
today. http://www.phparch.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net
boxes will be in
$_POST['delete'], so you can do this:
$delete_ids = implode(",",$_POST['delete']);
$query = "DELETE FROM table WHERE ID IN ($delete_ids)";
Add in your own validation, of course...
---John W. Holmes...
PHP Architect - A monthly magazine for PHP Professionals. Get your copy
today. http://www.phparch.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I'm not great at p/ereg yet, anyone have any pointers?
Can you explain exactly what you want replaced and with what? Give an
example of the string and what will be replaced and what it will be
replaced with. Then someone can write/help with the regex.
---John W. Holmes...
PHP Architect - A
this is easier for me to change in the future. Now,
> the page gets stuck when reaching this level and doesn't process what
I
> ordered... Any thoughts? Thanks in advance,
Do you get an errorno() or does it just not delete? It's better to echo
mysql_error() along with mysql_errno
> I was looking at the PHP 4.3 changelog, and it said that
> mysql_escape_string is deprecated. Is this true, and if so, what
should
> I be using instead?
Probably addslashes() or magic_quotes_gpc...
---John W. Holmes...
PHP Architect - A monthly magazine for PHP Professionals. Get
r the
data is inserted into the database, thus getting rid of the post data.
So subsequent refreshes of the page will refresh without attempting to
repost the data.
The only other way to do it is to check the data you're about to insert
to see if it's already there. If it is, then
;
Throw in some validation to $_POST['choice'] (or $_GET['choice']) to
make sure you are directing to the directory you should be directing to.
---John W. Holmes...
PHP Architect - A monthly magazine for PHP Professionals. Get your copy
today. http://www.phparch.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
> I have one file with several sections of code which I have so far
> accessed using a good old fashioned - - if ($HTTP_GET_VARS['action']
==
> "Update") - - however I now want to include this code within some
other
> web pages, I thought I may be able to use the following code - -
> include("/mod
fix is to just surround the line by which will cause the
newline and tab elements to show up.
The hard fix, but nicer looking one, is to output your data in a table.
---John W. Holmes...
PHP Architect - A monthly magazine for PHP Professionals. Get your copy
today. http://www.phparch.com/
ecommend to everyone that they not rely
on Javascript and simply do all of this in the main window. With Pop-Up
Blockers and different browser versions, Javascript should be avoided if
possible unless you really know what your audience will be using (or
don't care).
---John W. Holmes...
PHP A
; }
>
> Unquote.
>
> In the above code, I want to format the text in only one field and
that is
> the field named "Results".
> Where do I put the tags for formatting the text contained
in
> the mysql field "Results"?
How about around $row[Results]?
pri
, you should be using a header() redirect, not a javascript or META
REFRESH redirect...
---John W. Holmes...
PHP Architect - A monthly magazine for PHP Professionals. Get your copy
today. http://www.phparch.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
c:/php/sessions/ (if that folder exists)
works just fine. The IUSR_ user on your computer must have
permission to write to that directory.
---John W. Holmes...
PHP Architect - A monthly magazine for PHP Professionals. Get your copy
today. http://www.phparch.com/
--
PHP General Mailing List (
exactly where the output is starting, if
that's a mystery to you (output started in file.php:2 means line 2 of
file.php).
---John W. Holmes...
PHP Architect - A monthly magazine for PHP Professionals. Get your copy
today. http://www.phparch.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
IKE 'a%' to just get the a* tables and
drop each one.
How do you know whether it's an "active" a* table or not? Will you be
dropping a table that someone is actually using?
---John W. Holmes...
PHP Architect - A monthly magazine for PHP Professionals. Get your copy
today
ion?
>
> Thanks and if I didn't make myself clear, I apologize.
Just name each submit button something different. The program could
check for $_POST['MM_update'] to process the first form, or
$_POST['MM_update2'] to update the second.
---John W. Holmes...
PH
om
line, you must do them one at a time with mysql_query, or run them
through the command line in a file.
---John W. Holmes...
PHP Architect - A monthly magazine for PHP Professionals. Get your copy
today. http://www.phparch.com/
-Original Message-
From: Stephen [mailto:[EMAIL PROTECTED]
> We are almost at the end of 2002, and it seemed appropriate to look
back
> on the development issues of the past year. So starts the first PHP
Look
> Back! You can find it @ http://www.derickrethans.nl/20021230.php, and
if
> you have any comments,feel free to post them with the link at the
bottom
://www.php.net/manual/en/ref.printer.php
On, *nix... I have no idea.
---John W. Holmes...
PHP Architect - A monthly magazine for PHP Professionals. Get your copy
today. http://www.phparch.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
; the site, i do:
>
> $texto = str_replace("\n", "", $texto);
Are you using a WRAP attribute on your TEXTAREA? You'll want to set it
to OFF or NONE, probably. I can't remember the exact values, it can
take, but I think it's PHYSICAL, VIRTUAL, and NON
ng date".
>
> Is there a routine in PHP I can use to find if today's date fits
between
> the commencing date and the ending date?
SELECT * FROM table WHERE CURRENT_DATE BETWEEN commence_date AND
ending_date
---John W. Holmes...
PHP Architect - A monthly magazine for P
Well, start debugging your code then. Do a print_r() of $_POST and
$_SESSION at different points in your files. Maybe you're losing your
session on a certain page or it's getting reset.
---John W. Holmes...
PHP Architect - A monthly magazine for PHP Professionals. Get your copy
t
---John W. Holmes...
PHP Architect - A monthly magazine for PHP Professionals. Get your copy
today. http://www.phparch.com/
> -Original Message-
> From: Jason Wong [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, January 14, 2003 1:09 PM
> To: [EMAIL PROTECTED]
> Su
of context, and program accordingly, your scripts will be just fine.
An include file full of functions or classes will not "run" anything
when called, it'll simply load it into memory.
---John W. Holmes...
PHP Architect - A monthly magazine for PHP Professionals.
file('http://www...'))
Can you show your exact code and what the output is?
---John W. Holmes...
PHP Architect - A monthly magazine for PHP Professionals. Get your copy
today. http://www.phparch.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
gt; validating what information I put into the object variable this seems
to
> be
> a way of adding another layer of protection.
No, the user can't set a class variable directly, but if you are doing
something like $this->var = $_GET['something'], then it's unsecure
unle
iting would probably be the most modular.
> I haven't found any clear examples of this kind of OOP, only the real
> basics
> (which I still need help with by the way :) ).
Use google. Do some more studying before you try to tackle this, or look
on phpclasses.org for some examples.
--
out how many days are between the two dates. You
can use date() to find out the month of each one and do some more
math...
---John W. Holmes...
PHP Architect - A monthly magazine for PHP Professionals. Get your copy
today. http://www.phparch.com/
--
PHP General Mailing List (http://www.php.
> I found that the Header already sent problem was caused by the Random
> Password Generator I'm using, even if I place this function on the
> bottom of the same file I'm trying to open an just call for the
result.
>
> So, to avoid this issue, I need another method of generating a random
> number
in
your SMTP server?
---John W. Holmes...
PHP Architect - A monthly magazine for PHP Professionals. Get your copy
today. http://www.phparch.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
> My company had just ordered a SQL 2000 Server. I need to make a
webpage
> that collects data from the Server's database. I guess I need to use
PHP
> with SQL. My question is what is the difference between SQL and
mySQL? I
> brought a book that teaches you how to use PHP with MymySQL, I am jus
minutes old and make them log in again.
---John W. Holmes...
PHP Architect - A monthly magazine for PHP Professionals. Get your copy
today. http://www.phparch.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
> Nice work on php archittect by the way :)
> Thanks again,
> Jordan
Thank you.
---John W. Holmes...
PHP Architect - A monthly magazine for PHP Professionals. Get your copy
today. http://www.phparch.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, vi
r _one_ image,
send the headers and then send the data.
---John W. Holmes...
PHP Architect - A monthly magazine for PHP Professionals. Get your copy
today. http://www.phparch.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
set_error_handler and acted on.
In order to do this, I think you'd have to do something like
$class->method("phone","555-1212");
method() will look for a "phone" function and call it if it exists.
Otherwise, look for a "phone" column and set/retrie
> What da fuck.
> Been trying like forever to get a script to automaticly update the
> framespage from inside one of the frames.
> My goal is to reset all the frames to their original state
>
> Can anybody help me!
Wash your mouth out with soap and go learn Javascript...
---John Holmes...
--
used to start a comment in MySQL.
Show your actual code around this statement where you make your query.
The only reason the data would be cut off is if MySQL is interpreting
the # as the beginning of a comment. But, if that was the case, you'd
have an invalid query, so it must be a com
ewID = 1;
> $Page = newpage
and here...
> }
> ?>
>
>
>
> Aviation Hall of Fame
>
>
http://www.php.net/manual/en/language.types.string.php
---John W. Holmes...
PHP Architect - A monthly magazine for PHP Professionals. Get your copy
> Is there any way to get all of the elements in a SELECT MULTIPLE box,
not
> just the ones that are selected? Thanks!
No. You create the box, so you should know all of the possible values.
---John W. Holmes...
PHP Architect - A monthly magazine for PHP Professionals. Get your copy
the
same time, create a javascript or hidden variable that has its contents
to be passed along with the form.
---John W. Holmes...
PHP Architect - A monthly magazine for PHP Professionals. Get your copy
today. http://www.phparch.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
, increment their number, then use
sessions to keep a count.
---John W. Holmes...
PHP Architect - A monthly magazine for PHP Professionals. Get your copy
today. http://www.phparch.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
like this:
+--+--+
| Item | Size |
+--+--+
| 1|12|
| 1|14|
| 2|14|
| 3| 16|
| 3|18|
+--+--+
And do JOINs to find your relevant data.
---John W. Holmes...
PHP Architect - A monthly magazine for PHP Professionals. Get your copy
today. ht
> mysql_connect($hostName, $userName, $password);
> $descripResult = mysql_db_query($database,$descripQuery);
>while($row = mysql_fetch_object($descripResult)){
You shouldn't be using mysql_db_query() for one, it's depreciated. Use
mysql_select_db() along with mysql_query().
If rowid
; I've never seen anything like this before.
And the line you get that error looks like? It looks like you're trying
to fopen() a file that's made up of PHP_SELF and the QUERY_STRING.
---John W. Holmes...
PHP Architect - A monthly magazine for PHP Professionals. Get your copy
t
1. You can "create" the current page with a combination of PHP_SELF,
QUERY_STRING, etc... Take a look at a phpinfo() page to see all of the
variables.
2. You can use ini_set() in your code to change the settings for your
sessions or an .htaccess file if your on *nix.
---John W. Holm
> Dose anyone know how to search and replace a string in a
> mysql_query output.
Yes.
---John W. Holmes...
PHP Architect - A monthly magazine for PHP Professionals. Get your copy
today. http://www.phparch.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe,
How about you describe exactly what you're trying to do and why and then
someone can help you.
---John W. Holmes...
PHP Architect - A monthly magazine for PHP Professionals. Get your copy
today. http://www.phparch.com/
> -Original Message-
> From: Paul Marinas [mailto:[EMAI
hat's it ...
So where do you get the name from. You're still not being descriptive
enough.
---John W. Holmes...
PHP Architect - A monthly magazine for PHP Professionals. Get your copy
today. http://www.phparch.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
or No questions. There's even a funny FAQ on this, but I can't find
the link anywhere.
---John Holmes...
>
> -Original Message-
> From: John W. Holmes [mailto:[EMAIL PROTECTED]]
> Sent: Sunday, 19 January 2003 11:42 AM
> To: 'Paul Marinas'
> Cc: [EMAIL
ow to do these things are in the manual, the chapter
titled Handling File Uploads.
---John W. Holmes...
PHP Architect - A monthly magazine for PHP Professionals. Get your copy
today. http://www.phparch.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
as just too vague of a question to be
answered, as were the 3 follow-ups that were posted. I still have no
idea what the OP wants.
After some more searching, this is the FAQ I was looking for:
http://homepages.tesco.net/~J.deBoynePollard/FGA/questions-with-yes-or-n
o-answers.html
Note that the o
it's up to date.
---John W. Holmes...
PHP Architect - A monthly magazine for PHP Professionals. Get your copy
today. http://www.phparch.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
to you (any web browser would work, actually,
as long as you can pass it an https request)
---John W. Holmes...
PHP Architect - A monthly magazine for PHP Professionals. Get your copy
today. http://www.phparch.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
could look for multiple names in the GET or POST data. But
then that would mean for every variable it goes to create, it would have
to go and look if it's already created one by that name. If it did,
erase the old one and make these two an array now.
Rather than doing that, it can just look fo
o work.
preg_match_all("/([a-z ]+)/i",$text,$matches);
$matches will be an array with the values your after in it. Do a
print_r() on it to see how it's structured.
Or, if you're text is always like that, you could just match what's
between the > and < charact
> I am converting an ASP page to PHP and have difficulties in using PHP
> since
> I am new to it. I have an ASP code that would redirect page-viewer to
> respective page base on the input entered by viewer. How do I do this
> using
> PHP? Also, in ASP, there are features like Server.Transfer and
>
s. Your file.php should not output anything,
as it'll be a machine running it and no one can see the output anyhow.
---John W. Holmes...
PHP Architect - A monthly magazine for PHP Professionals. Get your copy
today. http://www.phparch.com/
--
PHP General Mailing List (http://www.php
_query($sql,$link)) ) { echo "failed\n"; }
> while ($row = mysql_fetch_array($result,MYSQL_ASSOC))
> $myarray[$row['id']] = $row['name'];
That's the way to do it.
---John W. Holmes...
PHP Architect - A monthly magazine for PHP Professionals. Get your c
remember one version that
came out that was just broke and you had to do a bunch of workarounds to
get things to work normally. Was that it?
Are you using the $_SESSION array or relying on register_globals?
---John W. Holmes...
PHP Architect - A monthly magazine for PHP Professionals. Get your copy
t
unfortunately, that's the best way right now. I really wish
someone would hack the MySQL API and include a function that returns the
time MySQL actually used to execute the query I wish I knew how to
do it, actually.
---John W. Holmes...
PHP Architect - A monthly magazine for PHP Professio
And then read some articles or news on the language you've been
"programming in for two years"
---John Holmes...
> -Original Message-
> From: Timothy Hitchens (HiTCHO) [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, January 22, 2003 6:58 PM
> To: 'Dale'; [EMAIL PROTECTED]
> Subject: RE: [PH
No biggie, but you forgot an 's' on the address:
http://www.iis-resources.com, in case anyone was having trouble getting
there.
Thank you for the link, though.
---John W. Holmes...
PHP Architect - A monthly magazine for PHP Professionals. Get your copy
today. http://www.p
> I want php to print " \tab"
> but when I do, I only get "ab" as output.
> How do I keep the \t?
\t is a tab character. If you looked in your source code, you'd see a
tab there. Use "\\tab"
---John W. Holmes...
PHP Architect - A monthly magazin
gain. Odds are your "security" feature will not allow me to
log in, because it thinks I already am.
Bottom line, why worry about it?
---John W. Holmes...
PHP Architect - A monthly magazine for PHP Professionals. Get your copy
today. http://www.phparch.com/
> -Original Message
;t find "paht" on websters.com.
You'll need to send the appropriate headers to tell the browser you're
sending an attachment and it should prompt the user to save the file.
This question is answered all the time, search the archives for the
examples.
---John W. Holmes...
PHP Archite
Pretty sure this is an Apache2/PHP bug. It was discussed on here in the
past few days.
---John W. Holmes...
PHP Architect - A monthly magazine for PHP Professionals. Get your copy
today. http://www.phparch.com/
> -Original Message-
> From: Bob Lockie [mailto:[EMAIL PROTECTED]]
The solution is to take out your break... why is it there??
---John W. Holmes...
PHP Architect - A monthly magazine for PHP Professionals. Get your copy
today. http://www.phparch.com/
> -Original Message-
> From: Reymond [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, January 22
> Does anybody know how to execute a shell command from PHP on a Linux
> system?
Yes.
---John Holmes...
PS:
http://homepages.tesco.net/~J.deBoynePollard/FGA/questions-with-yes-or-n
o-answers.html
PSS: http://www.php.net/manual/en/ref.exec.php
--
PHP General Mailing List (http://www.php.net/
> I'm wondering is, is there a way to lose the existing session and
> existing session data while making a new session id??? I can't use
> session_destroy() function because it affected IE users, it doesn't
affect
> the non-IE user at all. I got so tired of problems with IE and having
it
> t
in?
> Sorry for the messed up explanation, but i really dont know what
do
> do
> about it. Thanks.
Load the information into a session and use that when you insert data.
It won't happen "automatically" but if you save the user's name in
something like $_SESSION[
(not that I would be caught dead in a foreign car)
References in parenthesis added for you foreigners... or because I'm a
foreigner to you, I guess... :)
---John W. Holmes...
PHP Architect - A monthly magazine for PHP Professionals. Get your copy
today. http://www.phparch.com/
> -Ori
in
> this. I also want to change the sender's name to my name rather than
my
> website name.
Spend some time to read the manual page on the mail() function, please.
All of this is covered in great detail. Make sure you're reading the
version which has user comments in it. Thanks.
ppenning :S
>
> Anyway, I was wondering if this would be a memroy leak? or just some
> standard notice that I'm taking up too much memory ;)
What were you doing when it happened?
---John W. Holmes...
PHP Architect - A monthly magazine for PHP Professionals. Get your copy
toda
em click on it. It's the only
way to really verify an email address is valid.
---John W. Holmes...
PHP Architect - A monthly magazine for PHP Professionals. Get your copy
today. http://www.phparch.com/
--
PHP General Mailing List (http://www.php.net/)
$query="select * from perfil";
> $rs=mysql_query($query,$enlace);
> $filas=mysql_num_rows($rs);
>
> $dominio="http://www.latinencounters.com/";;
> for($a=0;$a<$filas;$a++){
> $fila=mysql_fetch_array($rs);
> echo "\n";
> echo " ".
> how to chang [url=%link%]%descr%[/url] in %descr%
$new_str = preg_replace("!\[url=(.*)\](.*)\[/url\]!U","$2",$old_str);
should work...
---John W. Holmes...
PHP Architect - A monthly magazine for PHP Professionals. Get your copy
today. http://www.phparch.com/
--
P
> On Wednesday 22 January 2003 18:52, 1LT John W. Holmes wrote:
>
> > There's really no change from the PHP side. PHP just sends the data
and
> > receives something back The only change in PHP is that
mysql_connect()
> now
> > supports additional flags to con
t include() it
wherever you want it displayed...
---John W. Holmes...
PHP Architect - A monthly magazine for PHP Professionals. Get your copy
today. http://www.phparch.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
tion would be to use Smarty. The other would be to try and find
an xtemplate list/forum and ask on there.
---John W. Holmes...
PHP Architect - A monthly magazine for PHP Professionals. Get your copy
today. http://www.phparch.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe
So how do I transfer all this to PHP?
Pretty sure you can do all that with one query. Something like:
SELECT p.date, p.theme, p.presenter,
c.itemNo, c.composer, c.composition, c.note
FROM presenters p, compositions c
WHERE p.date = c.date
ORDER BY p.date DESC LIMIT 1
Not sure, though, as I
. Thanks your input Philip. If anyone else has any thoughts or
> explainations for me to understad this then that would be great.
$_SERVER['PHP_SELF'] will always work, regardless of variable scope or
register_globals setting. The $_SERVER array is a superglobal, so it'll
have
ount variable when you output your links, don't rely on
the auto_increment column in your database. The auto_increment number is
only there as a unique identifier for each row, not to keep count for
you. If you have problems with gaps in your auto_increment column then
the script is not written
e any way to do this?
If you set a hidden form element in iframetest.php, does it show up when
you do a print_r($_POST) in test.php ?
It's probably an HTML thing. I don't know how iframes are interpreted,
but it's probably not really a part of your form, even though it looks
like it is wh
tween OS behavior?
No. $_POST['bday'] should always show up, regardless of OS, if the
scripts and PHP version are the same. Double check your logic.
---John W. Holmes...
PHP Architect - A monthly magazine for PHP Professionals. Get your copy
today. http://www.phparch.com/
--
PHP Gener
> Unfortunatly, that gets rid of the reason I have the iframe in there
to
> begin with. I need a scrollable iframe with a set of buttons that
perform
> certain actions at the top, that have to always be at the top.
> -Greg
Then put the entire into the iframe.
---John W. Ho
in text, or raw data? All I
want
> to happen is for the files to be uploaded completely unchanged.
>
> Btw, this happens with PHP 4.2.3 on OSX (entropy.ch), and with the
latest
> 4.3 on OpenBSD.
Are you using Apache 2?
---John W. Holmes...
PHP Architect - A monthly magazine for P
e shouldn't
be any data there, it's now up to your browser to decide where to place
it. Most browsers will bunch it all together before or after the table.
So place your commented out tag inside or outside of your table.
---John W. Holmes...
PHP Architect - A monthly magazine for PHP P
ion to send headers telling the
browser not to cache the page. Take a look at the header() manual page
and there is an example (6th gray box).
www.php.net/header
---John W. Holmes...
PHP Architect - A monthly magazine for PHP Professionals. Get your copy
today. http://www.phparch.com
> Is there a way in php to print to a printer? say i have a order from ,
> when
> someone clicks the submit button - then print the form plus the
entered
> details to a page ?
No, that's handled client side. PHP is server side. Use Javascript or
the like...
---John W. Holmes.
to provide security running PHP as a
CGI under
; most web servers. Left undefined, PHP turns this on by default. You
can
; turn it off here AT YOUR OWN RISK
; **You CAN safely turn this off for IIS, in fact, you MUST.**
; cgi.force_redirect = 1
---John W. Holmes...
PHP Architect - A monthly magaz
be a method in your class, then you
pass an array to set_error_handler(). Details are in the manual on the
format of the array. It'll be the same as any other callback function
that you can send a classes method to.
---John W. Holmes...
PHP Architect - A monthly magazine for PHP Professionals.
ext you have, and why
you need to match the position as well as the text.
> where can i suggest such a function on the current regexps API ?
I don't know.
---John W. Holmes...
PHP Architect - A monthly magazine for PHP Professionals. Get your copy
today. http://www.phparch.com/
--
al .= " size='1'>\n"; }
foreach($_CONF[$conf_key] as $value)
{
$retval .= "\n";
}
$retval .= "\n";
}
else
{
$retval = "Invalid Conf Key";
}
return $retval;
}
//Adds in an
example of
functional
> Auth code out there?
Since you're using an old version of pair, maybe the class name has
changed. If you're successfully including auth.php, open it up and look
at what the class is named.
---John W. Holmes...
PHP Architect - A monthly magazine for PHP Profe
orks correctly on the browser in question and
examine the headers it sends?
---John W. Holmes...
PHP Architect - A monthly magazine for PHP Professionals. Get your copy
today. http://www.phparch.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
101 - 200 of 2763 matches
Mail list logo