Assuming you have
class WebPage {
var $property1;
function get_property1()
{
return $this-$property1;
}
}
class Sample extends WebPage{
}
To access $property1 from your WebPage class just do
$page = new Sample;
$prop1 = $page-get_property1();
Otherwise try to send a
Hello,
I am one week recompiling source of php-4.2.3 to put support TTF
I am having problem with gd true type font .
I've been trying execute this php. But, always show me this error
Warning: Could not find/open font in
/usr/home/hosting/b4u/public_html/congressos/fenasoft/ProgramacaoListar.php
Hello
Warning: Could not find/open font in
/usr/home/hosting/b4u/public_html/congressos/fenasoft/ProgramacaoListar.php
on line 5
You must give the absolute path to your font dir
for example /usr/home/hosting/b4u/fontsdir
BR/Torsten
--
PHP General Mailing List (http://www.php.net/)
To
hi everyone,
It's Possible We used Php Scripting to Back the client Browser
Like This Below :
(ussualy I make it with java script) :
javascript:history.back(1)
but right now, i need using the 'header's function', functionaly to back
the page to previouse page.
sorry before :)
--
PHP
You could grab the referring page and send the user back to it, but some
proxies/software stop your browser from sending that information, so it
might not work in all situations
a href=?php echo $_SERVER['HTTP_REFERER']; ?Back/a
however, quoting the docs on using the referrer:
This is set by
Hi gang,
I'm encountering a strange, random, sporadic error on a new server.
Basically, sometimes, in a non-repeatable fashion, a page will not load.
In NN7 Mac, the error is the page contained no data. In IE5.x Mac, the
error is along the lines of host not found or could not access URL
This has been solved - the extra characters are stored in session,
otherwise attacker can repeat it too. Password can be stored on
the server using one way has - on the client the script hashes
twice, first to get hashed password, then together with random
string
Gerald Timothy Quimpo wrote:
On
As you have magic_quotes on, automatically happens *addslashes*, now you
need to reverse the proces
Steve Yates wrote:
Marek Kilimajer [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
try
$_POST['Credit_Card_Number']=stripslashes($_POST['Credit_Card_Number']);
Hello,
I want to write a script that makes a backup of a database directory.
Actually, to copy all database files to another directory.
I've figured that I have to use the copy function of the PHP, but the
function doesn't works only with files?
Is it possible to copy the entire directory to
while($img1=mysql_fetch_array($result)){
$img2=mysql_fetch_array($result);
// now you have $img1 and $img2
echo trtdimg src='$img1[src]'/tdtd$img1[comment]brdiv
align='right'$img2[comment]/div/tdtdimg src='$img2[src]'/td/tr
}
Philip J. Newman wrote:
I have a table with images and comments.
If you are using Unix simply call out the shell using back ticks `mv xxx
xxx` or check out.
http://www.php.net/manual/en/function.exec.php
Timothy Hitchens (HiTCHO)
Open Platform Consulting
e-mail: [EMAIL PROTECTED]
-Original Message-
From: Alex Ciurea [mailto:[EMAIL PROTECTED]]
I can't seem to be able to set a session var from within a function in an
include file
I have a call to a function at the top of my doc (but after session_start())
and if I write the line:
$_SESSION['userData'] = test1;
in the function body - it does nothing...
... but if I put this
Do this for me:
print_r($GLOBALS);
and see if you have the $_SESSIONS array visible.. you will need to view
the output
in a text editor as the print_r won't look good rendered in the browser.
Timothy Hitchens (HiTCHO)
Open Platform Consulting
e-mail: [EMAIL PROTECTED]
-Original
Careful!
use cp instead of mv
Quoting Timothy Hitchens (HiTCHO) [EMAIL PROTECTED]:
### If you are using Unix simply call out the shell using back ticks `mv xxx
### xxx` or check out.
###
### http://www.php.net/manual/en/function.exec.php
###
###
###
### Timothy Hitchens (HiTCHO)
### Open
If these two classes are in separate files then you will need to include one
of the classes in with the other class using the include() or require()
functions. Have you also used the extends keyword to extend the main class?
When you use inheritance properties, you can use the $this- mechanism
Couple things you can try:
- if you are using output buffer, try turning it off
- check other virtual hosts on the server when these problems occur
- if you have access to the logs, check them if the server is not dying
Justin French wrote:
Hi gang,
I'm encountering a strange, random, sporadic
I can't seem to be able to set a session var from within a function in an
include file
I have a call to a function at the top of my doc (but after session_start())
and if I write the line:
$_SESSION['userData'] = test1;
in the function body - it does nothing...
... but if I put this
On Monday 13 January 2003 17:46, Justin French wrote:
Hi gang,
I'm encountering a strange, random, sporadic error on a new server.
Basically, sometimes, in a non-repeatable fashion, a page will not load.
In NN7 Mac, the error is the page contained no data. In IE5.x Mac, the
error is along
Hi,
I'm using Win2K Prof. and installed Apache 1.3.2 as my web server plus PHP
4.0.6 as module.
I have several sie on my computer. for one of them I need to include certain
file before any thing. I know that there is auto_prepend_file in php.ini but
this will run for all of my sites :-(
Is there
Dear Sir/Madam,
I've been coding session for quite sometime, but this is the first time i
encounter such problem...
index.php(login form) - login.php (verifies and set session userkey=1) -
main.php (check session userkey)
if check session userkey fail, gets redirected back to index.php
in the
on 13/01/03 9:34 PM, Marek Kilimajer ([EMAIL PROTECTED]) wrote:
Couple things you can try:
- if you are using output buffer, try turning it off
nope, not using any ob :)
- check other virtual hosts on the server when these problems occur
can't tell for sure... without constantly surfing a
Hi all,
this is my situation:
I want to execute some comands using 'shell_exec':
$command=shell_exec(ls -la /usr/dest_dir;cp -R /usr/source_dir/1.php
/usr/dest_dir;cd /usr/dest_dir;ls -la);
echo pre$command/pre;
Actually, these commands:
1)ls -la /usr/dest_dir
2)cp -R
It looks to me like you are losing the session id.
Try something along the lines of this for the redirect:
header(location: main.php?PHPSESSID=.Session_Id());
This could/should be being pushed via cookies, but it appears as though
it is not. The best way to troubleshoot is to print the before
on 13/01/03 10:05 PM, Jason Wong ([EMAIL PROTECTED]) wrote:
On Monday 13 January 2003 17:46, Justin French wrote:
Hi gang,
I'm encountering a strange, random, sporadic error on a new server.
Basically, sometimes, in a non-repeatable fashion, a page will not load.
In NN7 Mac, the error is
perhaps I could log page,date,time,IP address for a few days, then I could
at least find my IP in the log, and the rough time of the error...
Or log only requests from your IP.
Justin
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
Thankyou Nilaab and Hatem for the replies.
I can see that extending classes is probably the way to go. I was kind of
aware of how it works, but didn't see it as an obvious solution. But looking
at it more closely, I think I should be able to put most common stuff in a
basic class. Different
Hi all!
I'm writing a webmail application in PHP and most basic things are
working now. However, I've recently run into a problem concerning mail
attachments. This is the situation right now:
When the user opens a letter there are links to all attachments. The
links looks like this:
On Monday 13 January 2003 19:53, Alex Ciurea wrote:
Hi all,
this is my situation:
I want to execute some comands using 'shell_exec':
$command=shell_exec(ls -la /usr/dest_dir;cp -R /usr/source_dir/1.php
/usr/dest_dir;cd /usr/dest_dir;ls -la);
echo pre$command/pre;
Actually, these
So you have tried as per the manual:
header(Content-Disposition: attachment; filename=downloaded.pdf);
I use this all the time without issue.. do you have a shell that you can
use to wget -S and see if the correct headers are coming out??
Timothy Hitchens (HiTCHO)
Open Platform Consulting
Hi,
I think I've solved the problem
group owner of the dest_dir must be apache !!!
- Original Message -
From: Alex Ciurea [EMAIL PROTECTED]
To: php mailing [EMAIL PROTECTED]
Sent: Monday, January 13, 2003 1:53 PM
Subject: [PHP] Need some help in exec-attack
Hi all,
this is my
:( Yes I've realised that.
It seemed to me that is more efficient to make a copy of that files, rather
than a mysqldump.
but Yes, in order to access files of the mysql directory, I have to give to
the webserver all the rights, solution that I don't aproove, for security
reasons.
-
On Monday 13 January 2003 21:13, Alex Ciurea wrote:
Hi,
I think I've solved the problem
group owner of the dest_dir must be apache !!!
NB if mysql is running whilst you're copying the files then you could end up
with incorrect backups.
--
Jason Wong - Gremlins Associates -
php-general Digest 13 Jan 2003 13:27:33 - Issue 1820
Topics (messages 131382 through 131431):
Free web-hosting
131382 by: Rambler
Does PHP's imap_utf7_en/decode compatible with Microsoft Outlook Express?
131383 by: Hunte Swee
php_network_getaddresses()
131384 by:
-Original Message-
From: Gerard Samuel [mailto:[EMAIL PROTECTED]]
Sent: 11 January 2003 15:48
Jonathan Chum wrote:
I'm following various tutorials online that uses the
PATH_INFO to do this,
As far as I know, this technique doesn't work under windows...
As far as I know it
Oh, I get it Jason,
it's okay the idea of mysqldump
Now i see it's more efficient mysqldump rather than my stupid thought.
10x alot,
Alexoiul
- Original Message -
From: Jason Wong [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, January 13, 2003 3:27 PM
Subject: Re: [PHP] Need
Remon, et al --
...and then Remon Redika said...
%
% hi everyone,
Hi!
%
% It's Possible We used Php Scripting to Back the client Browser
Well, yes and no. There was just a new 'crumb' class released (see
http://www.phpclasses.org/browse.html/package/934.html
for more) which will let
Let us know how it goes... The unload event had been tried also. The
javascript have been running for a while but the network communication is a
bit tricky, it haven't worked well.
Víã Ãðã [EMAIL PROTECTED] wrote in message
-Original Message-
From: Stephen [mailto:[EMAIL PROTECTED]]
Sent: 10 January 2003 21:04
I, once I found out that register_globals isn't always one,
have always done HTTP variables as like $_SESSION for session
and $_POST for form vars through post. Why, if you have
-Original Message-
From: Nova [mailto:[EMAIL PROTECTED]]
Sent: 12 January 2003 20:04
This statement doesnt look right to me.
if(isset($_POST['userid']) isset($_POST['pword'])){
$_SESSION['user'] = $_POST['userid'];
$_SESSION['password'] = $_POST['pword'];
}
Nowt wong wi'
I use Ovidentia ( http://www.ovidentia.org ).
You can test it ( and others ) here:
http://www.opensourcecms.com/index.php
Tros
Nick Wilson [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
Hi all,
I'm looking for a *free*, pre-built CMS with PHP/MySQL.
I've
Yea, the hacker would guess a random number in html javascript but the
hacker have no way of putting it into php on the server-side. So, we get
two different random number and a invalid match.
Marek Kilimajer [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
This
I would recommend phpWebSite @
http://phpwebsite.appstate.edu .
The newest version coming out is very promising, and
uses the PEAR libraries. It is XML compliant. Better
than the NUKE clones, etc.
Kevin Myrick
www.ultimatealchemy.com - about to be phpWebSite
based.
www.techrebels.com -
How can I find time stamp for example 125 next days.
$oneDay = ( 60 * 60 * 24 );
$timeStamp = date( U ) + ( $oneDay * 125 );
or 03:30 hours next?
$oneHour = ( 60 * 60 );
$timeStamp = date( U ) + ( $oneHour * 3.5 );
This is just one of the many different ways it can be done.
Chris
--
PHP
It does sound like you're right. Like ZA is perhaps allowing the user's
request to go twice. This is akin to people who double click on links
because that's what they're used to doing on windows icons. However, it
seems a bit odd how it selects to do it. It seems that if it did it twice
on
i am writing a shopping site for training (just out of interest).
When a user clicks add to basket i want to check whether an item with
that id is already in my session ($ALCOHOLE[items]), if so, redirect
them the the view_cart page, if not then append it to the
$ALCOHOLE[items] array as $key
.htaccess isn't a Linux only thing...it's an Apache thing. Just put a
file named .htaccess in the document root of the site you want to
prepend the file too. Inside the file, put this
php_value auto_prepend_file /path/to/included/file.php
Naqashzade, Sadeq wrote:
Hi,
I'm using Win2K
i am writing a shopping site for training (just out of interest).
When a user clicks add to basket i want to check whether an item with
that id is already in my session ($ALCOHOLE[items]), if so, redirect
them the the view_cart page, if not then append it to the
$ALCOHOLE[items] array as
?php
/*
for getting a future or past timestamp use mktime(void) function that
returns current unix timestamp in seconds
get next mins, hours, days
*/
function count_date($w,$num){
switch($w){
case m: //minutes
return ($num)*(60);
break;
case h: //hours
return
On Monday 13 January 2003 15:14, Scott Fletcher wrote:
Let us know how it goes... The unload event had been tried also. The
javascript have been running for a while but the network communication is a
bit tricky, it haven't worked well.
Sorry, maybe I missed or forgot the original problem. If
Hi,
I'm testing the following form on:
MS Win98 / IE 5.5 / PHP 4.0 / Apache and it works fine.
However...when I publish the
.php file
and the
data.txt file
on the ISP's MS IIS server, I get undeclared variables and indexes when the
form page loads.
The script follows.
Any help would be
It's no problem. We're all very interesting in finding out what can work.
Maybe I can help with one of this problem. The Gecko browser does have the
option of blocking the opening of hte unrequest window which is maybe why
yours doesn't work in Mozilla. Just wondeirng...
Tamas Arpad [EMAIL
Hi,
Sunday, January 11, 2004, 10:42:01 PM, you wrote:
NS Hi,
NS How can I find time stamp for example 125 next days. or 03:30 hours next?
NS Regards,
NS S. Naqashzade
NS PS: Sorry for my bad english :-(
The simplest way is with strtotime() for example
$stamp = strtotime(+ 125 days);
--
My Full system settings are IIS 6.1, Windows XP Professional, etc. I'll be
publishing the script later and most will have CHMOD settings. Now I guess I
need to know how to fix it on my test server and then what the CHMOD
settings should be...
As for Sean's email, I just did those settings and
-Original Message-
From: Anthony Ritter [mailto:[EMAIL PROTECTED]]
Sent: 13 January 2003 17:07
I'm testing the following form on:
MS Win98 / IE 5.5 / PHP 4.0 / Apache and it works fine.
However...when I publish the
.php file
and the
data.txt file
on the ISP's MS IIS
I'm using imap_open in PHP 4.3.0 to successfully access every pop server I've tried -
except 1: mail.fea.net. I know the mail server, port, login, and password are
correct because I can successfully log into the pop server with both telnet and
Outlook.
Here's the code:
if ($pop_inbox =
Hi,
I'm using I.E. 6. I noticed that register_globals was set ON in my php.ini file so I
changed it to OFF in as per the security warning. I've noticed a side effect. When I
submit a form via POST and then go back from the results page, my form has been
cleared, i.e.., as if the page has
Just a suggestion - you might want to disable the ability to input html
code in the messages, as
a precautionary messure. I tested the script and was able to make a mess
of the page after
submitting.
--
Chip
Anthony Ritter [EMAIL PROTECTED]
01/13/2003 09:07 AM
To
[EMAIL PROTECTED]
cc
bcc
Thanks.
Any ideas after looking at the code why I'm having difficulty publishing the
file to a MS IIS server with undeclared indexes and variables if it works on
Apache server?
TR
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Try using a different block cipher mode. When encrypting with ECB, as you
said, your plaintext must have a length that is a multiple of the blocksize
for the cipher. If it's anything less, you're going to get some garbage at
the end of the decrypted ciphertext. I believe that mcrypt uses
All
I've been trying to compile php4 to run under HP-UX 11 64 bit and I get
errors on documents when trying to include files. As far as I can tell
everything else works. The message only appears when I do an include with a
soft path suh as:
require('includes/config.inc.php' );
I do not
Hi,
I would like to know if there is way to measure how much memory a script uses during execution.
Althought threre is no such function in the manual, in my opinion there must be some indication how much memory is used
because of the memory_limit directive in the php.ini file. So if php is
Don wrote:
I'm using I.E. 6.
Its not a browser thing, but a PHP thing.
I noticed that register_globals was set ON in my php.ini file so I changed it to OFF in as per the security warning. I've noticed a side effect. When I submit a form via POST and then go back from the results page, my
Anthony Ritter wrote:
Any ideas after looking at the code why I'm having difficulty publishing the
file to a MS IIS server with undeclared indexes and variables if it works on
Apache server?
It will be the error reporting level being set differently between the
two servers. The IIS one
Don wrote:
I'm using I.E. 6.
Its not a browser thing, but a PHP thing.
I noticed that register_globals was set ON in my php.ini file so I
changed it to OFF in as per the security warning. I've noticed a side
effect. When I submit a form via POST and then go back from the results
Don wrote:
Thanks for your response but I don't think this is what I was asking; could
be wrong though.
I re-read your post and, of course, you are right. I mis-read it! I have
heard of this Back button and data missing and I'm sure its come up
before, but I don't remember the answer. I can
When I use --- header(Location: http://www.somepage.com), it redirects to
my page no problem. My question is, is there a PHP trick I can use to make
it open in a new browser window?
I'm adverse to using JavaScript as some users may not have it turned on (odd
I know but a reality still).
Thanks,
On Tuesday 14 January 2003 03:33, Don wrote:
When I use --- header(Location: http://www.somepage.com), it redirects to
my page no problem. My question is, is there a PHP trick I can use to make
it open in a new browser window?
No.
I'm adverse to using JavaScript as some users may not have
I'm trying to include
'http://www.myserver.com/conted/me.inc';
portably on several mirrored servers like include
'/conted/me.inc'
, I was wondering if there was someway I could include
files and have the implicity connect
and down the load me.inc from the local server whatever
server it happens
--- Justin French [EMAIL PROTECTED] wrote:
In NN7 Mac, the error is the page contained no data.
In IE5.x Mac, the error is along the lines of host
not found or could not access URL
This is a bit off-topic, but I would suggest ignoring any
error messages from IE. It will generally hide the
isn't it possible to get image informations from the local harddrive?
$fotoinfo=getimagesize(C:\\Files\\Temp\\Image.jpg);
if i use that code, the errormessage is always
Unable to access c:\Files\Temp\Image.jpg
getimagesize: unable to open file for reading
got anybody a solution?
--
PHP
Ok, I finally just right clicked on my wwwroot folder and went to security.
I allowed control to everyone on the network (just me and my brothers) and
it works. Just one last question! What should the CHMOD settings be for when
it goes online?
- Original Message -
From: Sean Malloy
Does anyone know if there is a newsgroup for help with GD commands?
Thanks,
RC
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I have a chat script that refreshes the chat thing about every
5 seconds. The problem with it is emoticons. Each refresh, it makes the images
reload aswell which makes it do sort of a flicker. How could I write the image
to cache to make this stop happening or is there another method that
Hunte Swee [mailto:[EMAIL PROTECTED]] scribbled;
Hi all,
It seems true that php's imap_utf7_en/decode does not compatible with
microsoft outlook express. We create imap folder(include chinese
chars) using IMP, all it ok in IMP problem, but when use OE
to connect to imap server, the folder
Does anyone have any good suggestions for small business software
(PHP/MySQL) based ?
basically what I need to do is:
contact management
work order forms
invoicing
TIA
**DAN**
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Yes, I've tried using the Content-Disposition header. It doesn't seem to
work...here are the relevant parts of my code:
snip
// Change Content-Type so that it matches the MIME-type of the part
header('Content-Type: ' . $type . '/' . $subtype);
// Check if there is a name for the part
if
No, I am afraid not. It will only send a redirection header to the same
page that you are on.
- Original Message -
From: Don [EMAIL PROTECTED]
To: php list [EMAIL PROTECTED]
Sent: Monday, January 13, 2003 1:33 PM
Subject: [PHP] question on Header(location
When I use ---
Hi All,
I am a C++ guy, who plans to do a site about C++ Idioms. I would like to
make it into a community site with interactivity. I have concluded that
PHP would be the right way to go. However I am lazy. I would like first
to be able to start doing the site using some sort of visual
What happens when you change the inline to attachment??
Also does this page have any errors in it... eg parsing ones that are
causing PHP to take over the headers and error out??
Timothy Hitchens (HiTCHO)
Open Platform Consulting
e-mail: [EMAIL PROTECTED]
-Original Message-
From:
Use the correct headers for no-cache see manual for starters:
http://www.php.net/manual/en/function.header.php http://www.php.net/
Timothy Hitchens (HiTCHO)
Open Platform Consulting
e-mail: [EMAIL PROTECTED]
-Original Message-
From: Stephen [mailto:[EMAIL PROTECTED]]
Sent:
Ok, this is going to be laughable, but here goes. I am looking at code too
much to get this one:
Have 2 text fields on a database called hours and minutes.
How can i get the current time (hour-minutes) in two digit format and
apply it to the two variables? Everything i do only gets one
use the date() function, in this case date(i) and date(h) or date(H)
Tim Ward
http://www.chessish.com
mailto:[EMAIL PROTECTED]
- Original Message -
From: Pag [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, January 13, 2003 10:25 PM
Subject: [PHP] dumb time question
Ok, this is
Hi all,
is there a way to execute a custom function as soon as an error happens in
PHP? I looked at the set_error_handler function, but it doesn't seem to trap
all the errors. What I want to achieve is to execute a function that mails
me the error everytime an error happens.
Cheers,
Pieter
It doesn't matter whether I choose 'inline' or 'attachment', browser
doesn't seem to care...but at least I found out why wget -S got me
text/html instead of image/bmp. I had some session variables that messed
things up, but I hacked it a bit and now wget -S is giving me the
following headers:
Well, I'll be damned...don't know why, but suddenly everything seems to
work! Guess some little gnome inside my computer finally decided it was
time for me to get some sleep...
Many thanx for for your help, Timothy!
/Lars ([EMAIL PROTECTED])
Lars Olsson wrote:
It doesn't matter whether I
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
I did a complex class that works with XML parsing and complex structured where
I used references extensivly and now I'm surprised with:
Warning: Call-time pass-by-reference has been deprecated - argument passed by
value; If you would like to pass it
Using MS Win98 / php 4:
Any ideas on how I can change my permssion settings on a file called
data.txt so it can be read to and written to or do I have to take that up
with my ISP.
I get the following after I submit a form:
Warning: fopen(data.txt, a+) - Permission denied in
Check out phpnuke.org - content management system that seems to answer
most of the criteria you've set out here.
..michael..
On Mon, 2003-01-13 at 13:46, White Wolf wrote:
Hi All,
I am a C++ guy, who plans to do a site about C++ Idioms. I would like to
make it into a community site with
The errors aren't actually generadted inside the PHP but the problem im
having makes no sense to me.
The pages validate.php feed out:
Please veify below that all your details are correct. If there are any
errors, they will be lsited first.
Error 1: Primary e-mail address was left blank.
Error 2:
Hello friends,
I have made the following table of data and a button on every row to view the details.
The code is working fine and the table is displayed with the buttons.
The problem I have is that the $SelectedItemNumber posted to the next page remains the
same number no matter which row
Thanks for your response but I don't think this is what I was asking; could
be wrong though.
I re-read your post and, of course, you are right. I mis-read it! I have
heard of this Back button and data missing and I'm sure its come up
before, but I don't remember the answer. I can only
I'm using I.E. 6. I noticed that register_globals was set ON in my
php.ini file so I changed it to OFF in as per the security warning.
I've noticed a side effect. When I submit a form via POST and then go
back from the results page, my form has been cleared, i.e.., as if the
page has been
On Tue, 14 Jan 2003 23:38:11 +0100, you wrote:
Hi all,
is there a way to execute a custom function as soon as an error happens in
PHP? I looked at the set_error_handler function, but it doesn't seem to trap
all the errors. What I want to achieve is to execute a function that mails
me the error
Use the error_reporting function to define which errors you would like
PHP to report to the error handler. If you want everything to be mailed
to you, including warnings, use the E_ALL setting, though you may get a
lot more warnings than you expect this way:
error_reporting(E_ALL);
function
Hi,
Tuesday, January 14, 2003, 9:36:57 AM, you wrote:
P -BEGIN PGP SIGNED MESSAGE-
P Hash: SHA1
P I did a complex class that works with XML parsing and complex structured where
P I used references extensivly and now I'm surprised with:
P Warning: Call-time pass-by-reference has been
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On Monday 13 January 2003 20:01, Tom Rogers wrote:
Hi,
Tuesday, January 14, 2003, 9:36:57 AM, you wrote:
P -BEGIN PGP SIGNED MESSAGE-
P Hash: SHA1
P I did a complex class that works with XML parsing and complex structured
where P I
so where is $rowe set?
Show us code that calls this page
- Original Message -
From: menezesd [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, January 13, 2003 6:21 PM
Subject: [PHP] Error in variable when looping
Hello friends,
I have made the following table of data and a button
G'day All
Just a quick question
This is really a html more than a php question.
Is it possible to have two buttons and have different actions for each
button in the same form?
Thanks
CJ
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Do you mean like two SUBMIT buttons? Yes.
- Original Message -
From: cj [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, January 13, 2003 7:32 PM
Subject: [PHP] forms
G'day All
Just a quick question
This is really a html more than a php question.
Is it possible to have two
yes but it's more of an HTML/JavaScript thing.
use INPUT Type='BUTTON' to put a second button on your form. Then use the
onClick method to assign an action to it. If you want it to submit your
form then call document.formName.submit();
=C=
*
* Cal Evans
* The Virtual CIO
*
1 - 100 of 122 matches
Mail list logo