If I use:
ini_set("error_reporting", 0);
ini_set("display_errors", 0);
It still shows the errors.. if I use the error_reporting function.. it still
shows the errors, no matter what I do.. it still shows the errors!
What am I missing? I have it set in the php,ini to show errors, but I want
to be
Any ideas on how to correct the problem with reinstalling server software?
Thanx
-Weston
"Weston" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Whenever I access a PHP script from the web that contains an error (such
as
> a parsing error, etc...) The server will not respond to any
I would suggest that your Apache process has not finished with PHP
processing eg. loop etc etc
Remember that HTTP/1.0 allows (4) four connections and HTTP/1.1 allows (2)
two connections so if you have a long process eg a HTTP/1.1 stream coming
from the server or the server believes that the connec
Whenever I access a PHP script from the web that contains an error (such as
a parsing error, etc...) The server will not respond to any request (php or
not) for about 2-3 minutes. This only happens over the web though, if i try
to run a php file using command line, the error loads immedaitely. Any
Yes! It works!!! This is also an good beginner-HTML.
If you have improvements then i like it from you to post them in an reply or
email me.
Regards,
Bas
"Curt Zirzow" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> * Thus wrote Bas ([EMAIL PROTECTED]):
> > This error is not so stup
* Thus wrote Bas ([EMAIL PROTECTED]):
> This error is not so stupid as a deleted closing ".
>
> Okay, for all of you who missed my code here is it again:
>
> read-tags.php
> ---
> // Tag Parser v1.1
> // v1.0 First release(not working)
> // v1.1 Edited:
> // Uses Regular Expressions
> funct
This error is not so stupid as a deleted closing ".
Okay, for all of you who missed my code here is it again:
read-tags.php
---
\s*([^<]*)\s*!is";
preg_match_all($tag_match, $filedata, $matches);
for ($i=0; $i< count($matches[0]); $i++) {
$tagname = $matches[1][$i];
$tags[$tagname] =
Now I get the output:
(in html, if you get a mail, you get the real output.)
Welcome!
Welcome!
Notice: Undefined index: text in C:\pub\include\btml.php on
line 13
"Pavel Jartsev" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Bas wrote:
> >
> > ...
> >
> > echo ";
> >
>
> Se
Bas wrote:
> ...
>
echo ";
>
Seems that U don't have closing double-quote (") in line above.
It should be:
echo "";
--
Pavel a.k.a. Papi
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I am trying to make an BTML-parser.
(BTML-Some Markup Language invented by Me)
I have 3 files:
read-tags.php:
---
\s*([^<]*)\s*!is";
preg_match_all($tag_match, $filedata, $matches);
for ($i=0; $i< count($matches[0]); $i++) {
$tagname = $matches[1][$i];
$tags[$tagname] = $matches[2][$
* Thus wrote James Johnson ([EMAIL PROTECTED]):
> Hello,
>
> Is there a way, on a hosted server, to prevent PHP errors from showing in a
> browser? Instead of "error whatever at line 107 in filename.php" to have it
> redirect to a "Sorry, please report this error page"
See:
set_error_handler();
--- James Johnson <[EMAIL PROTECTED]> wrote:
> Is there a way, on a hosted server, to prevent PHP errors from
> showing in a browser?
I am assuming you are asking how to change php.ini directives, since you
probably don't have access.
On most shared hosts, they are configured to use a .htaccess f
Hello,
Is there a way, on a hosted server, to prevent PHP errors from showing in a
browser? Instead of "error whatever at line 107 in filename.php" to have it
redirect to a "Sorry, please report this error page"
Thanks,
James
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, vi
From: "Golawala, Moiz M (IndSys, GE Interlogix)" <[EMAIL PROTECTED]>
> I am newbie with php and I am trying to instantiate a
> class.
Welcome to PHP.
> this->$config = $config;
$this->config = $config;
> Parse error: parse error, unexpected T_OBJECT_OPERATOR
> in C:\Program Files\Apache Group\
I am newbie with php and I am trying to instantiate a class. I am using the command
line to test my stuff out before I try it with a browser. The following is my class
code: (name of file is AddConfigs.inc)
$config = $config;
echo " in constructor $config ";
echo "
Hi guyz,
I've just tried a simple script using socket_recvfrom for a simple udp
daemon.
due a excessive traffic I got error :
Warning: socket_recvfrom() unable to recvfrom [11]: Resource
temporarily unavailable in udp.php on line 94
udp packet size is fixed 1464 byte.
Is there spesific issue
what's the error message?
Ben C. wrote:
I am having problems using the following functions; trim(), ucwords(), and
others. Do I have a setting wrong?
Ben
--
http://www.radinks.com/upload
Drag and Drop File Uploader.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: h
I am having problems using the following functions; trim(), ucwords(), and
others. Do I have a setting wrong?
Ben
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
This may be obvious, but I even looked in a few books and didn't see
it, but where are PHP errors logged? No errors ever appear on the page
yet the online documentation refers to error messages and such, so I'm
assuming there must be some log somewhere.
Thanks,
Seth Willits
First of all, let me say that I am using PHP 5, but not including any
new php5 features, just installed it.
Anyway,
this is the offending code..
$retVal = true;
$this->setDBConn(mysql_connect('localhost',$this->_dbuser,$this->_dbpwd));
if ($this->getDBConn() == false)
$retVal = false;
grep -r application-x-httpd-php /etc/httpd/conf/
now you now the filename, change application-x-httpd-php to
application/x-httpd-php and restart apache
Peter Berglund wrote:
How to fix, where's the problem?
"Marek Kilimajer" <[EMAIL PROTECTED]> skrev i meddelandet
news:[EMAIL PROTECTED]
Should b
How to fix, where's the problem?
"Marek Kilimajer" <[EMAIL PROTECTED]> skrev i meddelandet
news:[EMAIL PROTECTED]
> Should be application/x-httpd-php. I bet you have this mistake in your
> apache config files.
>
> Peter Berglund wrote:
>
> > I got alot of this error in my apache log, how do I fix i
Should be application/x-httpd-php. I bet you have this mistake in your
apache config files.
Peter Berglund wrote:
I got alot of this error in my apache log, how do I fix it?
[warn] Cannot get media type from 'application-x-httpd-php'
--
PHP General Mailing List (http://www.php.net/)
To uns
I got alot of this error in my apache log, how do I fix it?
[warn] Cannot get media type from 'application-x-httpd-php'
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
When I have an error in my code nothing gets written to the screen.
If I have
It will works normal.
but if I have
Nothing gets written to the browser. Not even the error message.
When I run php on the command line I get error messages just not when running through
a browser.
Where should I
I'm getting the following error:
PHP Fatal error: Cannot redeclare () (previously declared in
/path/to/file/functions.inc:19) in /path/to/file/functions.inc on line 0
Anyone have any ideas how a no-name function could be generated?
Line 19 contains:
function idb_exec_deadlock($sql,$count
D]
> Subject: [PHP] error: cannot redeclare ()
>
>
> I'm getting the following error:
>
> PHP Fatal error: Cannot redeclare () (previously declared in
> /path/to/file/functions.inc:19) in
> /path/to/file/functions.inc on line 0
>
> Anyone have any ideas how
Sorry the second "echo "Hello world";" was meant to have no semi colon
- Original Message -
From: "Kris Reid" <[EMAIL PROTECTED]>
To: "PHP List" <[EMAIL PROTECTED]>
Sent: Thursday, August 14, 2003 12:37 PM
Subject: [PHP] error problem
there is something in the php.ini file that turns the display errors in browser on and off...
Randy
---Original Message---
From: Kris Reid
Date: Wednesday, August 13, 2003 10:36:59 PM
To: PHP List
Subject: Re: [PHP] error problem
Sorry the second "echo "Hello wo
Sorry the second "echo "Hello world";" was meant to have no semi colon
Just so you know, PHP allows the last command in a section to not have
a semi-colon. Therefore the code
would not cause an error message. If you're trying to purposefully
cause an error, you'll need to change your trigger.
From: "Martin Towell" <[EMAIL PROTECTED]>
> I'm getting the following error:
>
> PHP Fatal error: Cannot redeclare () (previously declared in
> /path/to/file/functions.inc:19) in /path/to/file/functions.inc on line 0
>
> Anyone have any ideas how a no-name function could be generated?
> Line 19 co
thnx - I'll see if this help..
-Original Message-
From: Joe Harman [mailto:[EMAIL PROTECTED]
Sent: Thursday, 7 August 2003 4:38 PM
To: 'Martin Towell'; [EMAIL PROTECTED]
Subject: RE: [PHP] error: cannot redeclare ()
Hi Martin... I am guessing you have a nested functio
* Thus wrote thierry lhomme ([EMAIL PROTECTED]):
> Hi !
>
> I still have found no satisfying solution to my problem yet...
>
> At home, when an error occurs in an script I got something like this :
>
> Warning: unlink() failed (No such file or directory) in c:\program
> files\easyphp\www\php_scr
Hi !
I still have found no satisfying solution to my problem yet...
At home, when an error occurs in an script I got something like this :
Warning: unlink() failed (No such file or directory) in c:\program
files\easyphp\www\php_scripts\index.php on line 356
but my provider in the same case deli
: 'Jim Lucas'; 'David Nicholson'
> Cc: [EMAIL PROTECTED]
> Subject: RE: [PHP] weird php error
>
> Haven't found anything yet. The login.php file is the one I'm trying
to
> view when I get that error. I have a second file "info.php" that
works
>
my
login script.
Matt
> -Original Message-
> From: Jim Lucas [mailto:[EMAIL PROTECTED]
> Sent: Friday, August 01, 2003 8:02 PM
> To: Matt Giddings; 'David Nicholson'
> Cc: [EMAIL PROTECTED]
> Subject: Re: [PHP] weird php error
>
> yes it could be in the
]>
Cc: <[EMAIL PROTECTED]>
Sent: Friday, August 01, 2003 4:33 PM
Subject: RE: [PHP] weird php error
David,
This is what my php.ini file looks like and I don't seem to have any
.htaccess files. Could it be something in the httpd.conf file that’s
pointing to an invalid file/director
Matt
> -Original Message-
> From: David Nicholson [mailto:[EMAIL PROTECTED]
> Sent: Friday, August 01, 2003 7:13 PM
> To: Matt Giddings
> Cc: [EMAIL PROTECTED]
> Subject: Re: [PHP] weird php error
>
> Hello,
>
> This is a reply to an e-mail that you wrote o
Hello,
This is a reply to an e-mail that you wrote on Sat, 2 Aug 2003 at
00:10, lines prefixed by '>' were originally written by you.
> Hello,
> I'm getting a weird warning message from a php script that I'm
> working
> on. Right now the script does not contain any include or require
> statemen
Hello,
I'm getting a weird warning message from a php script that I'm working
on. Right now the script does not contain any include or require
statements and is basically a very simple straight forward script. But
when I try to execute via the browser I get the following error:
Warning: Faile
* Thus wrote Merlin ([EMAIL PROTECTED]):
> > most likely a php script is using syslog() to report that
> > 'ProductInfo finished'.
>
> what is syslog and which ProductInfo? Can you be more specific?
syslog() is a phpfunction that allows php script to write to the
phplog file.
http://php.net/sysl
> most likely a php script is using syslog() to report that
> 'ProductInfo finished'.
what is syslog and which ProductInfo? Can you be more specific?
Thanx,
merlin
--
* Thus wrote Merlin ([EMAIL PROTECTED]):
> Hi there,
>
> I have some wired messages inside my php errorlog file, telling me:
>
> [30-Jul-2003 20:02:53] ProductInfo finished
>
> There is an entry every few seconds! Does anybody know what this means?
most likely a php script is using syslog() to
Hi there,
I have some wired messages inside my php errorlog file, telling me:
[30-Jul-2003 20:02:53] ProductInfo finished
There is an entry every few seconds! Does anybody know what this means?
Thanx,
Merlin
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://
When I try to connect to postresql with my php script below I got hhis eror:
I can insert into the table from psql. Please help
Thanks,
---
Warning: pg_exec() query failed: ERROR: invention:
On Mon, 2003-07-07 at 21:31, Micah Montoy wrote:
> It did help and I altered the script a bit. It now reads as:
[snip]
> Now I am receiving the error message of:
>
> Warning: Invalid argument supplied for foreach() in
> c:\inetpub\wwwroot\webpage10\example\u_images\act_load_imgs.php on line 43
It did help and I altered the script a bit. It now reads as:
$count = 0;
//get file size function
function fsize($file) {
$a = array("B", "KB", "MB");
$pos = 0;
$size = filesize($file);
while ($size >= 1024) {
$size /= 1024;
$pos++;
}
return round($size,2)." ".$a[$pos];
}
//loop throu
On Mon, 2003-07-07 at 00:16, Micah Montoy wrote:
> I'm using the foreach to loop through a array that is passed from a form.
> The form has a multiple select field and the field sends a list of selected
> image locations (i.e. c:\\myimages\\rabbit.gif). All the fields are
> selected by use of Java
I'm using the foreach to loop through a array that is passed from a form.
The form has a multiple select field and the field sends a list of selected
image locations (i.e. c:\\myimages\\rabbit.gif). All the fields are
selected by use of JavaScript before the form is submitted. Anyway, I am
gettin
We are trying to build php 5.0.0b1 on our Solaris 2.8 platform with gcc 3.3 and
openssl 0.9.7b. The configuration failed with the following message:
Configuring extensions
checking for OpenSSL support... yes
checking for OpenSSL version... >= 0.9.6
checking for CRYPTO_free in -lcrypto... yes
ch
Hello,
the example of the section "Exceptions" of document
http://www.php.net/zend-engine-2.php
in Windows does not work:
Fatal error: Call to undefined method exception::__construct() in
c:\appserv\www\php5\exception.php on line 4
this works:
getMessage();
}
?>
Thanks. That did the trick. According to a post from Mike Ford, it was
ini_set( 'display_errors', 1 ); that was messing me up. I have
display_error turrned off in php.ini too, so even though my reporting was
on, nothing was sent to the browser. Thanks for the help guys :)
- Anthony
"Robert C
> -Original Message-
> From: Anthony [mailto:[EMAIL PROTECTED]
> Sent: 25 June 2003 12:36
>
> I have error reporting turned off in my php.ini file on my production
> server. I have an app I'm writing that I need to run on the
> same server (no
> one can see it though). Anyway. I want t
This is hardly perfect since it shows all errors, but it works for me:
ini_set( 'display_errors', 1 );
ini_set( 'log_errors', 1 );
ini_set( 'error_reporting', -1 );
Anthony wrote:
>
> I have error reporting turned off in my php.ini file on my production
> server. I have an
I have error reporting turned off in my php.ini file on my production
server. I have an app I'm writing that I need to run on the same server (no
one can see it though). Anyway. I want to turn on error reporting during
runtime for this particular app while I'm debugging it. so I put
error_repor
[EMAIL PROTECTED] (John W. Holmes) wrote in
news:[EMAIL PROTECTED]:
>>
>
> Your query failed. Add some error reporting around mssql_query() to
> find out why.
>
Hi, I recompiled an older version of php with freetds 0.60 instead of
0.61 and everything start to work again.
Maybe there is som
On Friday 20 June 2003 02:11, Mignon Hunter wrote:
> On my dev server the php.ini is set to log all errors and notices.
>
> Isnt there a way to over ride this on a per script basis to output to
> stdout (or my browser) ?
Yes, manual > Error Handling and Logging Functions
--
Jason Wong -> Gremlin
On my dev server the php.ini is set to log all errors and notices.
Isnt there a way to over ride this on a per script basis to output to
stdout (or my browser) ?
Thx
--
Mignon
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
[EMAIL PROTECTED] (John W. Holmes) wrote in
news:[EMAIL PROTECTED]:
>
> Your query failed. Add some error reporting around mssql_query() to
> find out why.
>
Thanks I'll check that.
--
*** s2r - public key: (http://leeloo.mine.nu/s2r-gmx.sig)
--
PHP General Mailing List (http://www.php.net
Javier wrote:
Hi, I've upgraded to the latest version of php last week. Suddenly parts
of code that was working now displays error.
The errors I've found until now are related to Sybase (I use MSSQL 2k as
DB server)
Here is an example:
Warning: mssql_num_rows(): supplied argument is not a valid
Hi, I've upgraded to the latest version of php last week. Suddenly parts
of code that was working now displays error.
The errors I've found until now are related to Sybase (I use MSSQL 2k as
DB server)
Here is an example:
Warning: mssql_num_rows(): supplied argument is not a valid Sybase result
> -Original Message-
> From: Logan McKinley [mailto:[EMAIL PROTECTED]
> Sent: 17 June 2003 19:55
>
> right now if a the 'field' key does not exist at all in the
> querystring it
> returns the following error:
> Notice: Undefined index: Register in
> c:\inetpub\wwwroot\PHP\Register.php on
On Tue, 2003-06-17 at 11:55, Logan McKinley wrote:
> right now if a the 'field' key does not exist at all in the querystring it
> returns the following error:
> Notice: Undefined index: Register in c:\inetpub\wwwroot\PHP\Register.php on
> line 3
> I think i can use the empty function but i pass in
right now if a the 'field' key does not exist at all in the querystring it
returns the following error:
Notice: Undefined index: Register in c:\inetpub\wwwroot\PHP\Register.php on
line 3
I think i can use the empty function but i pass in 11 different variables
and it seems like there must be a more
Not possible with current php
Bas Jobsen wrote:
Hi,
Running the code below, shows an errror in line 2 as expected.
How do i get the linenumber of the function call? 3 here.
function test($x){if($x!='a')trigger_error('error: call test with argument 1
equals a',E_USER_ERROR);}
test('b');
?>
Best
> -Original Message-
> From: Bas Jobsen [mailto:[EMAIL PROTECTED]
> Sent: 16 June 2003 14:39
>
> > I'm not sure that there is a way beyond this to show the
> line within the
> > function but I don't see that this would be necessary - at
> least not for
> > resolving errors.
>
> i'm buil
which produced the error.
>
> I'm not sure that there is a way beyond this to show the line within the
> function but I don't see that this would be necessary - at least not for
> resolving errors.
>
> HTH,
>
> Michael Egan
>
> -Original Message-
>
Use the predefined constant:
__LINE__
Regards,
Michael Egan
-Original Message-
From: Bas Jobsen [mailto:[EMAIL PROTECTED]
Sent: 16 June 2003 12:50
To: PHP General
Subject: [PHP] error reporting linenumber and filename[Scanned]
Hi,
Running the code below, shows an errror in line 2 as
Hi,
Running the code below, shows an errror in line 2 as expected.
How do i get the linenumber of the function call? 3 here.
Best regards,
Bas
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Alex Earl wrote:
I have error reporting set to E_ALL, but no matter what I do, no errors
display. Is there somewhere else in the .ini that I have to set
something?
I believe there is a print_errors or show_errors directive in the php.ini
file. Check on php.net for sure.
Alex
Thanks guys.
--
PH
Belay this question. Found it.
display_errors = On
John Nichel wrote:
I have error reporting set to E_ALL, but no matter what I do, no errors
display. Is there somewhere else in the .ini that I have to set something?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
> I have error reporting set to E_ALL, but no matter what I do, no errors
> display. Is there somewhere else in the .ini that I have to set
> something?
>
I believe there is a print_errors or show_errors directive in the php.ini
file. Check on php.net for sure.
Alex
--
PHP General Mailing List
I have error reporting set to E_ALL, but no matter what I do, no errors
display. Is there somewhere else in the .ini that I have to set something?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
ok when i try to start apache2 (on redhat 8, php 4.2.2) i get this:
Starting httpd: Syntax error on line 176 of /etc/httpd/conf/httpd.conf:
Cannot load /etc/httpd/modules/libphp4.so into server: libssl.so.4: cannot open shared
object file: No such file or directory
[FAILED]
line 176 of the htt
On Thursday 05 June 2003 02:08, Svein Larsen wrote:
> Of course - but sometimes includes and other happenings make parse
> error.
> Even eval'ed code can cause parse error even if the page parse fine
> initially.
AFAIK there's nothing that will catch parse-errors at runtime. Maybe you can
use the
4
> To: [EMAIL PROTECTED]
> Subject: Re: [PHP] Error capturing
>
>
> On Thursday 05 June 2003 02:00, Svein Larsen wrote:
> > Yes, set_error_handler work for "soft" errors.
> > But parse-errors doesnt get catched by the errorhandler.
>
> But surely you chec
On Thursday 05 June 2003 02:00, Svein Larsen wrote:
> Yes, set_error_handler work for "soft" errors.
> But parse-errors doesnt get catched by the errorhandler.
But surely you check that your pages actually parse before deploying them?
*boggles*
--
Jason Wong -> Gremlins Associates -> www.greml
Yes, set_error_handler work for "soft" errors.
But parse-errors doesnt get catched by the errorhandler.
- Sveni
> -Original Message-
> From: Jason Wong [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, June 04, 2003 19:43
> To: [EMAIL PROTECTED]
> Subject:
On Wednesday 04 June 2003 18:16, Svein Larsen wrote:
> Anybody got a good solution for capturing errors in php scripts?
> I can catch the errors by logging them to a log file (log_errors in
> php.ini) My problem is that i'm running a lot of sites on my server and i
> need to know wich site generat
Hello,
Anybody got a good solution for capturing errors in php scripts?
I can catch the errors by logging them to a log file (log_errors in php.ini)
My problem is that i'm running a lot of sites on my server and i need to know
wich site generate the error and cant find any way to get this in the
Hi, I compiled PHP 4.2.3 like this
./configure --with-oracle=/home/oracle/OraHome1/
-with-oci8=/home/oracle/OraHome1/
--with-mysql=/usr --with-apxs
I have my DocumentRoot in /var/www
when i access php files in /var/www everything's fine, but when I access files
in /var/www/whatever i get this er
Hi All,
I m trying to build a drop down dynamically. I m quering fields from MSSQL
2000 Server. Now look wat is happning when i run my php from a Win2K PC and
from a Linux Box.
Linux Machine
ABIDA PARVEEN
AHMED HUSSAIN MOHD.HUSSAIN
AHMED HUSSAIN,MOHAMMED HUSSAIN
ANWAR USSAI
ARVINDER SINGHOHAMMED
I think I've found my problem. The query does work if I place the exact
same code directly into my script but I had previously been calling it as
a function from an include file. It's working just great now.
Thanks,
Ed
On Thu, 20 Mar 2003, Tom Rogers wrote:
> Hi,
>
> Thursday, March 20, 200
Hi,
Thursday, March 20, 2003, 10:44:33 PM, you wrote:
ehhc> I've been trying to count records that match my query in MySQL using the
ehhc> examples given in the on-line manual as well as the user comments and I'm
ehhc> still getting the error:
ehhc> Warning: mysql_num_rows(): supplied argument
I've been trying to count records that match my query in MySQL using the
examples given in the on-line manual as well as the user comments and I'm
still getting the error:
Warning: mysql_num_rows(): supplied argument is not a valid MySQL result
resource.
Here's the code.
mysql_connect ($local_
Put single quotes around the strings in your sql statementS:
$sql2 = "SELECT id FROM store_name WHERE name = '".$name[$i]."'";
^ ^
if this does not help, print out the query strings.
Daniel McCullough wrote:
I get this error.
Unknown c
I get this error.
Unknown column 'B' in 'where clause'
From this code.
$sql = "SELECT * FROM store";
$result = mysql_query($sql) or die(mysql_error());
$store = mysql_fetch_array($result);
$count = mysql_num_rows($result);
$id = $store['id'];
$name = $store['name'];
$address = $store['address'];
y, March 11, 2003 11:59 AM
Subject: [PHP] Error Opening acid_main.php page
> Hello,
>
> This problem is probably an obvious configuration I
> am missing, but I am a bit new to this and I haven't found
> the answer yet.
>
>
> I have Apache on a Sun Ultra 1 running Solaris
Hello,
This problem is probably an obvious configuration I
am missing, but I am a bit new to this and I haven't found
the answer yet.
I have Apache on a Sun Ultra 1 running Solaris 8.
When I try to bring up the acid_main.php page,
my browser always comes back and asks
"Open using an application"
Hi all,
I wrote a form for the upload of a file and some explaining text. The
form is evaluated by a php-script upload.php (see below) and the data
(text and file name) are stored in a MySQL-database on a Unix server.
The script also shows a thanks-message. The login is controlled by means
of .
Hi guys ,
I am getting this error in php
___What I am doing;
1. I am posting data from one form and collecting it for execution as follows
$_POST['cust_id[0]']; // cust_id is an array of length 1 which is selected form
an drop down menu
2. register_globals is off
3. Also when i try to call
LWP is a perl thing. Curl is probably the best thing to use.
Have you tried using googles php api which they provide free?
http://www.google.com/apis/
"Jens Lehmann" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> James Holden wrote:
> >
> >
> > Welcome to a mine field of problems :
James Holden wrote:
Welcome to a mine field of problems :-)
1. The url you have entered is invalid. Thats a good first check to
make usually. Try /search?q=test to get that bit sorted.
Ok, this was just a typo. :)
2. Google prevents known useragents from accessing it's content as it
believe
Welcome to a mine field of problems :-)
1. The url you have entered is invalid. Thats a good first check to
make usually. Try /search?q=test to get that bit sorted.
2. Google prevents known useragents from accessing it's content as it
believes you are acting as a spider or a search engine s
For reading in and displaying a file $uri I use this short script:
http://www.google.de?q=test';
echo implode('',file($uri));
?>
Of course this works well for almost every website, but I have problems
reading in the results of google (for instance the URI above). The error
message I get is:
[07
add this check
John Taylor-Johnston wrote:
http://www.php.net/manual/en/function.fread.php
What about error checking if the file contains something as I include below? Is that enough? Is this the right way?
if(!$handle) die('could not open file for reading');
$contents = fread ($handle, files
http://www.php.net/manual/en/function.fread.php
What about error checking if the file contains something as I include below? Is that
enough? Is this the right way?
$contents";}
else{echo "no contents there";}
?>
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://w
Hello All;
I am trying to open a File called cmi_list.txt ( stored at the same
level as the php file) and then load these into an array.
Now I check the $passport_codes with the value the User has entered and
set the $flag accordingly
.
$PASSPORT_CODES =file("cmi_list.txt");
$count =
That is not an error! It is a Warning...I got it the other day when the file
was empty (or did not exist or something).
Use @ prefix to make it disappear
http://www.something.com/the_filename.txt";);
?>
Hope this helps...
Lord Loh.
--
PHP General Mailing List (http://www.php.net/)
To unsubs
lem
(error 0 and error docs) and i cannot find any. can anyone point me to a php
error documentation file or tell me what is wrong?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
701 - 800 of 1149 matches
Mail list logo