I have tested a lot of the hosting providers and the best I have found is
Valueweb. Lots of bandwidth (500gb), unlimited domain hosting, and managed
ensim control panel. I have been with them a couple months and everything
seems good.
-Original Message-
From: Mike Morton [mailto:[EMAIL
Check out : http://weberdev.ref.phenominet.com
This is your one stop shop for hosting. WeberDev.com is hosted there
and I can tell you that their service is amazing. They are fast,
reliable
and more than anything, very professional (specially in PHP / MySQL).
I have a dedicated server there for
Hi,
I want to add slashes to a string, if it contains quotation marks and
which is received as input from a form, so that I can enter it to a
database.
What I am doing is as follows:
echo input type=\text\ name=\title\;
$title=addslashes($title);
But the string that gets added has a lot of
Hi,
I've wrote simple script who makes from image thumbnail
Thereis source:
?php
Header(Content-type: image/jpeg);
$path = implode($argv, );
$im_org = imageCreateFromJpeg($path);
$y = ImageSY($im_org);
$x = ImageSX($im_org);
if ( $x = $y ){
$y = $y * 120 / $x;
On Thu, 2003-06-19 at 05:27, Mukta Telang wrote:
Hi,
I want to add slashes to a string, if it contains quotation marks and
which is received as input from a form, so that I can enter it to a
database.
What I am doing is as follows:
echo input type=\text\ name=\title\;
On Thursday 19 June 2003 20:27, Mukta Telang wrote:
I want to add slashes to a string, if it contains quotation marks and
which is received as input from a form, so that I can enter it to a
database.
What I am doing is as follows:
echo input type=\text\ name=\title\;
On Thursday 19 June 2003 01:53, azero wrote:
$im_thumb = imagecreate (120, 120);
Use imagecreatetruecolor().
--
Jason Wong - Gremlins Associates - www.gremlins.biz
Open Source Software Systems Integrators
* Web Design Hosting * Internet Intranet Applications Development *
Download dll that is right for your version of php.
Suhas Pharkute wrote:
Hello,
I am trying to include a dll module in the file. In php.ini safe_mode is off
I am getting following warning/error
Warning: MyMod: Unable to initialize module Module compiled with debug=0, thread-safety=1 module
No, that's what garbage colector is here for. Everytime you call
session_start(), there is session.gc_probability(from php.ini) %
probability the directory gets cleaned up.
Iván Díaz wrote:
Hi everyone!
I would like to know if I need to empty from time to time the directory
where the session
Some delimiters chars don't work under windows.
Ex.:
°[a-z]?°
works on linux but on windows you get a warning:
Warning: Unknown modifier '?' in on line xx
/[a-z]?/
works on both systems
So my question is: Are there similar problems in other functions or
circumstances where such chars
How do i generate a unique random number?
thanks
awlad
I have an array that looks like this:
$i = 0;
$item[$i] = array( 'link' = 'http://...',
'image' = '/images/image.jpg',
'title' = 'some title',
'price' = '$14.00',
'cat'= 'Frames',
'author' =
Use usort. This function should do the work:
function cmp ($a, $b) {
if ($a['manufacturer'] == $b['manufacturer']) return 0;
return ($a['manufacturer'] $b['manufacturer']) ? -1 : 1;
}
Ashley M. Kirchner wrote:
I have an array that looks like this:
$i = 0;
$item[$i] = array( 'link'
I found this Great PHP Starter site check it out
http://www.htmlite.com/PHPintro.php
Ashley M. Kirchner [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
I have an array that looks like this:
$i = 0;
$item[$i] = array( 'link' = 'http://...',
'image' =
Hi All,
As I understand it Aspell / Pspell don't work under PHP on the WinXP
platform. Just wondering if anyone knows of an alternative that does
(for use with Apache server, if that's important)?
Much warmth,
Murray
http://www.planetthoughtful.org
Building a thoughtful planet,
one snide
?php
$sid = '';
mt_srand ((double) microtime() * 100);
$Puddle =
'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789';
for($index=0; $index $this-session_code_length - 1; $index++)
{
$sid .= substr($Puddle, (mt_rand()%(strlen($Puddle))), 1);
}
?
Hi everyone,
How do I trap a PHP error and display my own error message instead?
I have two PHP scripts - one that creates tables on MSSQL and one that
deletes tables on MSSQL. I wish to capture the message that appears if
the user attempts to create tables that already exist, or delete ones
Marek Kilimajer wrote:
Use usort. This function should do the work:
Hey thanks! That worked like a charm, once I figured out that
making the comparison instead of I would get an ascending sort
instead of the descending one. Now, can I do multiple sorts? Like,
sort on cat first,
Yes, simply don't return 0 when the manufacturers are equal, but
continue with other checks:
function cmp ($a, $b) {
if ($a['cat'] == $b['cat']) {
// return 0; -- not anymore, but go on to compare manuf.
if ($a['manufacturer'] == $b['manufacturer']) {
if
BTW, this is what I always receive when mailing you:
Final-Recipient: RFC822; [EMAIL PROTECTED]
Action: failed
Status: 5.7.1
Remote-MTA: DNS; serpico.pcraft.com
Diagnostic-Code: SMTP; 554 5.7.1 Original message rejected due to high
SPAM score: 97.4
Last-Attempt-Date: Thu, 19 Jun 2003 11:36:23
Marek Kilimajer wrote:
BTW, this is what I always receive when mailing you:
Diagnostic-Code: SMTP; 554 5.7.1 Original message rejected due to high
SPAM score: 97.4
Hrm, yes. Has to do with your .sk domain I'm sure. Bloody
automatic filters.
Thanks for the function, it works as
Since it seems noone has an easy answer for this, I thought I'd give advise
to find it manually a little quicker.
How about moving half the images to another directory and check if the bad
jpeg is among the remaining half, then remove half of those, then half of
those, etc. You should be able to
I would like to pass an image throught http://server/newman/ImageTEST/image.php
1. I need the headers (Assuming) ? header(Content-type: image/jpeg); ? would make
the computer think its a image file.
2. load the image using fopen (d://crushme//images//1.jpg, r);
?php
header(Content-type:
try this:
?php
header(Content-type: image/jpeg);
fopen (d:/crushme/images/1.jpg, r);
?
- Original Message -
From: Mark Tehara [EMAIL PROTECTED]
To: PHP [EMAIL PROTECTED]
Sent: Thursday, June 19, 2003 10:58 AM
Subject: [PHP] [Newman] Passing an image through a php file.
I would like to
ARGH!
I'm losing my marbles here! I'm developing a small CMS for IE, but IE is
teasing me! It insists on using its cached files instead of those I'm
working on. I've set the cache size to 0, Check for newer versions of
stored pages: to Every visit to the page, and even put this at the top of
my
try something like this, not sure if this what you want
create a random value like
$random = rand();
then attach it to the each page.. like
index.php?random=$random
good luck
- Original Message -
From: Daniel [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, June 19, 2003
Try to use output buffer. Turn buffering on, and after each
imagecreatefromjpeg() call check to see if there is some output waiting.
Hatem Ben wrote:
Hey all,
I have one corrupted image in a list of thoughsand of images, and the program stop with this message
Corrupt JPEG data: bad huffman
Thanks for the advice, but that would mean I'd have to change the way the
code works, and that would a bit much, I think... I was hoping for some
registry editing or a little utility or something...
But thanks =)
Daniel
Awlad Hussain [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Okay, I think I'll have to kill myself...
I can't believe I am this stupid, but it turned out I was working on a copy
of the file, not the real one. D'OH!!!
Sorry, guys!
Daniel
Daniel [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Thanks for the advice, but that would mean I'd have
$amount is a calculated number
If $amount equals for example 52., how do I get that to print as 52.00
similarly, if amount = 52.5 how do I get that to print as 52.50
Thanks!
(looked at all sort of type casting manual stuff to no avail)
Hi Roy,
If $amount equals for example 52., how do I get
that to print as 52.00 similarly, if amount =
52.5 how do I get that to print as 52.50
Have a look at the number_format() function, it should do what you want.
It'll also add commas to break up any thousands in your number (you can
This is really a formatting issue, not type casting, so loook in those areas of
the manual. Perhaps start around:
http://us2.php.net/manual/en/function.printf.php
-Brad
$amount is a calculated number
If $amount equals for example 52., how do I get that to print as 52.00
similarly, if
try
$formatted = number_format($amount,2);
- Original Message -
From: Roy W [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, June 19, 2003 12:41 PM
Subject: [PHP] typecasting .. easy?
$amount is a calculated number
If $amount equals for example 52., how do I get that to
From: Murray Wells [EMAIL PROTECTED]
As I understand it Aspell / Pspell don't work under PHP on the WinXP
platform. Just wondering if anyone knows of an alternative that does
(for use with Apache server, if that's important)?
Not a PHP solution, but I can recommend the Java-based JSpell
check the manual on the rand(); function ..
If you want to make sure this number is unique .. create an array storing
all the numbers you've used once and do some nice tricks with a loop and
stuff untill you get a nice unique random number ... like this:
?php
$UsedValues = Array();
function
is_float()
Mike
Todd Cary [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED]
What is the best way to validate a money input? For example, 3452.67 versus
3452..67.
Todd
--
Following select statement works OK on Localhost, OK within Dreamweaver
test, OK on phpmyadmin on site, BUT NOT OK on webpage.
It's the IF part where it states if(m.matchtypeid 3, etc
Here on the webpage itself it shows the 'in-/uitschrijven' or 'gesloten'
bit on those lines where it
try this:
?php
header(Content-type: image/jpeg);
fopen (d:/crushme/images/1.jpg, r);
Just my opinion, but maybe you should try reading the file and echoing the
data instead of just opening it. :)
---John Holmes...
I would like to pass an image throught
How do I trap a PHP error and display my own error message instead?
I have two PHP scripts - one that creates tables on MSSQL and one that
deletes tables on MSSQL. I wish to capture the message that appears if
the user attempts to create tables that already exist, or delete ones
that do not
How do i generate a unique random number?
You can use rand(), but there's no guarantee it'll be unique unless you
remember every number you've ever generated
---John Holmes...
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
setting up some pages to allow users to log in, and store their userID in
a
session var.
for development purposes, i've installed AMP on my windows box.
-everything parses fine
-register globals is on.
problem: session vars do not seem to be carrying over pages, even when i
set
the
Hello everyone,
Apache 2.0.40
PHP 4.2.2
Linux
I have a single php script for downloading requested files. It works
beautifully on http over port 80. It does NOT work at all over https on
port 443. I am using the exact same script (the very same file) for both
http and https connections.
Apache 2.0.40
PHP 4.2.2
Linux
I have a single php script for downloading requested files. It works
beautifully on http over port 80. It does NOT work at all over https on
port 443. I am using the exact same script (the very same file) for both
http and https connections. Apache has the
Beautiful, that worked immediately! Thanks for your very quick and super
helpful reply, John.
The solution is to change the session.cache_limiter to none in php.ini.
Henning Sittler
www.inscriber.com
-Original Message-
From: CPT John W. Holmes [mailto:[EMAIL PROTECTED]
Sent:
Hello everyone,
Can anyone tell me what is wrong with my PHP script? I am trying to add
information to an MSSQL database from a separate HTM file. The script it
as follows:
?php
$myEmployeeName=$_GET['name'];
$myEmployeeDept=$_GET['department'];
$myEmployeeNotes=$_GET['notes'];
Hi Other PHP Users,
i am trying to send mail from a script, but i receive these error message:
Warning: mail() [function.mail]: Failed to connect to mailserver at
localhost port 25, verify your SMTP and smtp_port setting in php.ini
or use ini_set() in
Can anyone tell me what is wrong with my PHP script? I am trying to add
information to an MSSQL database from a separate HTM file. The script it
as follows:
How about you tell us what the problem is? What is the result of this
script? What are you expecting the result to be? Take away the @
i am trying to send mail from a script, but i receive these error message:
Warning: mail() [function.mail]: Failed to connect to mailserver at
localhost port 25, verify your SMTP and smtp_port setting in php.ini
or use ini_set() in c:\apacheserver\apache\htdocs\work-net\serial.php on
line
Hi,
I need to use function imagecreatetruecolor() in my script but it
doesn't work on my local apache+php+mysql on XP server. It works fine
on the real server though but i need to play with it around. What do
I need to do to get it work? from docs I understand I need gd 2.0.1
or higher, well
I don't know what the problem is. I have used this script before with
MSSQL with no problems - only this morning in fact. I am VERY new to PHP
so I am still trying to get the hang on it.
-Original Message-
From: CPT John W. Holmes [mailto:[EMAIL PROTECTED]
Sent: 19 June 2003 15:07
To:
Hi,
Since I don't want to continue with Smarty I started with an own
(little) template engine. In this first try it should only replace
{for loops=INTEGER} ... {/for} through a trivial FOR-loop which runs
INTEGER times.
This mission was sent to the function loop in this file:
Yury B . [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Hi,
I need to use function imagecreatetruecolor() in my script but it
doesn't work on my local apache+php+mysql on XP server. It works fine
on the real server though but i need to play with it around. What do
I need to do to
You must use
$template = preg_replace(!{for loops=(.*)}(.*){/for}!U, code('\\1','\\2'),
$template);
since the references are of the form \\n
Andrei BEJENARU
Niels Uhlendorf [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Hi,
Since I don't want to continue with Smarty I started with
Why this error ( Linux Redhat 8.0, PHP 4.2.2):
Fatal error: Allowed memory size of 16777216 bytes exhausted (tried to
allocate 1048576 bytes) in /var/www/html/xpai/xmail.class on line 71
Fatal error: Allowed memory size of 16777216 bytes exhausted (tried to
allocate 131 bytes) in Unknown on
Why this error ( Linux Redhat 8.0, PHP 4.2.2):
Fatal error: Allowed memory size of 16777216 bytes exhausted (tried to
allocate 1048576 bytes) in /var/www/html/xpai/xmail.class on line 71
Fatal error: Allowed memory size of 16777216 bytes exhausted (tried to
allocate 131 bytes) in Unknown on
[snip]
Why this error ( Linux Redhat 8.0, PHP 4.2.2):
Fatal error: Allowed memory size of 16777216 bytes exhausted (tried to
allocate 1048576 bytes) in /var/www/html/xpai/xmail.class on line 71
Fatal error: Allowed memory size of 16777216 bytes exhausted (tried to
allocate 131 bytes) in
Tony,
It might be that somewhere in your code there is a loop or while structure that has an
error. This is running endlessly until you run out of memory which is when you see
the error message.
Check the structures within the code to ensure that they are correct.
HTH,
Michael Egan
This is the result of free
[EMAIL PROTECTED] webmin]# free
total used free sharedbuffers cached
Mem:513936 444256 69680 0 157168 135476
-/+ buffers/cache: 151612 362324
Swap: 779104 0 779104
I think
Michael,
this is the line:
array_push($ret, $tmp[0]);
But is very strange, till yesterday phpadmin ( a software for xmail server)
worked fine, not reboot or other was done.
After the error, I changed memory_limit from 8 to 60 to resolve, but with 8M
yesterday worked fine.
Sorry for my
Hi,
I just got a warning message on a system using php version 4.3.1:
snip
Warning: Call-time pass-by-reference has been deprecated - argument
passed by value; If you would like to pass it by reference, modify the
declaration of [runtime function name](). If you would like to enable
call-time
hello all,
I am trying to use either of the functions above to execute a compiled c
program on linux. The command line works with ./a.out (a.out being the
filename). Both my test.php and the exe are in the same directory.
I've tried combinations of all the following. Thx Mignon
?
I have this in a script:
header(Location: $Relative/outstanding.php?pdd=1pddid=$poid);
It works fine elsewhere in the script without the variables. Does anyone
know if php 4.06 has issues with this? Or am I making a boneheaded mistake
here?
$Relative is from an include, and outputs fine. :)
Dear List,
I'll say it again, after viewing ALL of these 'hosting question' postsIf
you want really good, reliable, dependable service AND an excellent
combination of MB storage space and Transfer MB's then take a look at
http://www.webmasters.com
They even have 24 hour toll free phone
I have a form (setup.php) that passes values to processSetup.php when they are written
into setup.txt. I'm trying to instead of writing every idividual value into setup.txt
from setup.php, write a loop that will take as many values as there are in the $_POST
array and write them all into a
Try
header(Location: .$Relative./outstanding.php?pdd=1pddid=.$poid.);
EF.
Spyproductions Support Team [EMAIL PROTECTED] escribió en el
mensaje news:[EMAIL PROTECTED]
I have this in a script:
header(Location: $Relative/outstanding.php?pdd=1pddid=$poid);
It works fine elsewhere in the
it's in the manual, read here:
http://ca.php.net/manual/en/control-structures.foreach.php
Henning Sittler
www.inscriber.com
-Original Message-
From: Kyle Babich [mailto:[EMAIL PROTECTED]
Sent: Thursday, June 19, 2003 12:43 PM
To: [EMAIL PROTECTED]
Subject: [PHP] Processing Form Data
What kind of 'logical' order do you need for the Post array?
To clarify:
Do you need to write to a file the POST variables passed to the script?
Kyle Babich [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
I have a form (setup.php) that passes values to processSetup.php when they
are
On Friday 20 June 2003 00:11, Mignon Hunter wrote:
I am trying to use either of the functions above to execute a compiled c
program on linux. The command line works with ./a.out (a.out being the
filename). Both my test.php and the exe are in the same directory.
I've tried combinations of
What kind of 'logical' order do you need for the Post array?
To clarify:
Do you need to write to a file the POST variables passed to the script?
Yes, setup.php - processSetup.php - setup.txt
Kyle Babich [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
I have a form
$setup_filename = /path/to/file/on/the/server/;
$fd = fopen($setup_filename , 'a'); #a for appending to file, w to write
from the beginning checkout php.net for more details on fopen
$report = ;
#
#Apply any re-ordering of the Post array here to you 'logical' order
# look at the manual for
On Thursday 19 June 2003 23:53, dorgon wrote:
I just got a warning message on a system using php version 4.3.1:
snip
Warning: Call-time pass-by-reference has been deprecated - argument
passed by value; If you would like to pass it by reference, modify the
declaration of [runtime function
Dorgon [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Will the pass-by-reference feature really be dropped?! Many software
design patterns wouldn't be possible anymore! It's an essential feature.
I think call-pass-by-reference is going away, but pass-by-reference is going
to be
Maybe, there's a setting for this in php.ini.
yes. there is:
declaration of [runtime function name](). If you would like to enable
call-time pass-by-reference, you can set
allow_call_time_pass_reference to true in your INI file.
pass-by-reference has not been dropped, it is Call-time
Hi,
$report = key:.$index. = .$value.\n;
actually, shouldn't it be:
$report .= key:.$index. = .$value.\n;
If you don't have the . there, its going to keep overwriting the report,
and thus writing only the last $report item that was built. .= would concat
'em all
whats the difference?
call-time-pass... is function callMe($obj) {...}
and pass-by-ref is return $obj ?
I'm not sure if I got you.
tx
dorgon
Rush wrote:
Dorgon [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Will the pass-by-reference feature really be dropped?! Many software
design
Does anyone know of a working snippet to manage sessions using any
combination of Register_Global and pre/post php v4.1?
Would love to look at some examples ..
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Yes that's right. this was just from the top of my head and it's early for
me.
it should be
$report .= key:.$index. = .$value.\n;
as Dan has pointed out.
Dan Joseph [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Hi,
$report = key:.$index. = .$value.\n;
actually, shouldn't it
thanks Jason,
This worked much better!
Eddie
-Original Message-
From: Jason Wong [mailto:[EMAIL PROTECTED]
Sent: Wednesday, June 18, 2003 5:23 PM
To: [EMAIL PROTECTED]
Subject: Re: [PHP] picture help
On Thursday 19 June 2003 05:05, Edward Peloke wrote:
thanks, I tried and it doesn't
I'll give one of the suggestions a whirl (or both). I do have this same
sort of thing on a different server with a more recent version of PHP -
which is why I thought it might be a version issue. :)
-Mike
-Original Message-
From: Esteban Fernandez [mailto:[EMAIL PROTECTED]
Sent:
Isn't Call-time pass-by-reference the following
$variable = myFunction1($x); Where
myFunction1() is defined as function myFunction1($x)
Where as pass-be-reference is called as
$variable = myFunction2($x); Where is defined as function myFunction2
($Obj);
I think the latter is better anyways,
On Wed, Jun 18, 2003 at 07:52:21PM -0400, Mike Morton wrote:
What I am looking for specifically is a company that someone can recommend
from direct experience, one that is customer friendly, offers dedicated
servers at a REASONABLE price, offers admin support and server support, etc,
etc,
that's some of my scripts I once used.
have a look at it. it won't run instantly, since I just
took them from a collection of classes
hth
/Dorgon
the most interesting part will be:
// initialize global session object
session_start();
if (isset($_SESSION)) { // php versions = 4.1.0
if
I think you are absolutely right.
thanx!
I'll fix it and see if the warning still remains.
/Dorgon
Bobby Patel wrote:
Isn't Call-time pass-by-reference the following
$variable = myFunction1($x); Where
myFunction1() is defined as function myFunction1($x)
Where as pass-be-reference is called as
On Friday 20 June 2003 01:11, dorgon wrote:
Maybe, there's a setting for this in php.ini.
yes. there is:
Yes, I know there is ;-) The 'maybe' is maybe you have it set different on the
two systems.
declaration of [runtime function name](). If you would like to enable
call-time
On 19-Jun-2003 Awlad Hussain wrote:
How do i generate a unique random number?
http://www.php.net/manual/en/function.uniqid.php
Regards,
--
Don Read [EMAIL PROTECTED]
-- It's always darkest before the dawn. So if you are going to
steal the
Thanks for the explanation.
Yes, let us drop call-time pass-by-reference!! I'm with you. ;-)
/dorgon
Jason Wong wrote:
On Friday 20 June 2003 01:11, dorgon wrote:
Maybe, there's a setting for this in php.ini.
yes. there is:
Yes, I know there is ;-) The 'maybe' is maybe you have it set
Hi All,
Looking for some guidance on something I want to be able to do with switch,
and I don't think it exists, but I'd like to consult the list as a last
resort.
I have a switch setup similar to:
switch ($step) {
case 0 :
blah...
Jason,
I'm only subscribed to digest and found your reply in archives and
couldnt figure out how to reply :{
Anyway, right now I'm just trying to get something to work. The c exe
is as follows:
**
#include stdio.h
#define NAME Mignon
int main(void)
{
int q;
q
I have a switch setup similar to:
Under case 0, I'd like to do a few things, and then if a certain condition
is met, move into case 1. Is this possible? Am I off the wall here? Is
there a better way of doing this madness I've come up with?
Just do a conditional break.
Chris
--
PHP
On 19 Jun 2003 at 13:52, Dan Joseph wrote:
Hi All,
Looking for some guidance on something I want to be able to do with switch,
and I don't think it exists, but I'd like to consult the list as a last
resort.
I have a switch setup similar to:
switch ($step) {
Hi,
Just do a conditional break.
case 0:
blah blah blah.
if (my condition == false)
break;
case 1:
blah blah ..
Oh... you know, I've gotta stop leaving my brain at home. Thanks Chris,
R'twick.. It sure is a relief to know that this
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
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 - Gremlins
I need to provide a way for users to download data files from a web site.
I know that I could have then right click and save-as, however, I need to record this
action in a database. If they just right click, I don't have any way to trigger the
script to record the transaction.
Does some one
Oh... you know, I've gotta stop leaving my brain at home. Thanks Chris,
R'twick.. It sure is a relief to know that this list is here when I'm
having bad PHP days.. which lately, is everyday... This solved my problem
perfectly.
np.
We've all had our brain fart days. Or weeks. :p
Chris
Any success with making the PHP Header and PHP odbc_connect work
successfully on PHP version 4.0.2 while the IIS 5.0 is hooked up to MS-SQL
2003? We had no problem with this if IIS 5.0 is hooked up to MS-SQL 2000.
I assumed it had to do with the PHP depending on the named-pipe. I just
switched
On Friday 20 June 2003 01:56, Mignon Hunter wrote:
I'm only subscribed to digest and found your reply in archives and
couldnt figure out how to reply :{
Anyway, right now I'm just trying to get something to work. The c exe
is as follows:
**
#include stdio.h
Is there a simple script that will take a value in Kilobytes and convert it
to MegaBytes?
++
Mike Yrabedra (President)
323 Incorporated
Home of MacDock, MacAgent and MacSurfshop
++
W:
Is there a simple script that will take a value in Kilobytes and convert
it to MegaBytes?
$value_in_mb = $value_in_kb / 1024;
ta da
-
michal migurski- contact info and pgp key:
sf/ca
I looked in the manual (twice now). I want to keep logging to the log
file but print to browser on this one script.
I have in my script:
error_reporting (E_ALL);
error_reporting (E_ERROR | E_WARNING | E_PARSE);
but they're still only being logged to file. I dont have access to
php.ini.
Yes,
1 - 100 of 160 matches
Mail list logo