The problem is more of my own output sticking around (echo $query) and
the test server still going to the next page, despite the echoed text.
I'm not sure how to use output buffering to fix this..
Jon
On Mar 7, 2005, at 2:01 AM, Burhan Khalid wrote:
Jonathan Haddad wrote:
I do all my develo
I do all my development on mac os x. sometimes, to debut a script, i
output the query to the page. quite often the page sends headers to go
to another page. When i do this, i comment out the header() function
and read the results. When i'm done i remove the comment
Sometimes I've forgotten
So I'm setting up a website that needs to run on a windows server.
There are file uploads. What do I need to do to make the directory
writable? I'm sure it's very obvious but when the time comes to do it
it has to happen immediately.
Thanks,
Jon
--
PHP General Mailing List (http://www.php.ne
Mike wrote:
the resizing part goes well; I don't really know what the imageinterlace
function does, but I used it in desperation. Why: the output image's quality
is visibly inferior to the source's. And I want the image to look good. The
source is a jpeg (dinamic). As you probably have noticed,
Stefan Holmes wrote:
-Original Message-
From: raditha dissanayake [mailto:[EMAIL PROTECTED]
Sent: 18 September 2004 03:22
To: Michael Mao
Cc: [EMAIL PROTECTED]
Subject: Re: [PHP] thumbnail of webpage
Michael Mao wrote:
Is there a way to capture a snapshot of a html page and save it as
John Holmes elegantly wrote:
From: "Justin French" <[EMAIL PROTECTED]>
I have a few functions with way too many parameters in them, or
functions which have a non-obvious order of parameters which I
constantly have to refer to as I'm working. Since I'm using PHP as
my templating language (none s
the chmod 666 sets the exisiting files to be edited by the server.
anything that's uploaded by the server is owned by it, and thusly can be
edited.
as a side note, you'd have to chmod 777 the directory to be edited if
you want uploads to work.
PHP Junkie wrote:
Ave,
Well here's my situation..
In Safari it'll download the file and then open it.
Jon
PHP Junkie wrote:
Ave,
IT WORKS!!
There wasn't one bit of a problem..
I'll just paste the code here again for anyone who might be looking for it.
I guess I was very close to it but just doing one thing wrong... I wasn't
specifying the Basena
PHP probably does not have permission to change those files. chmod 777
and it should work.
However now those files are writable by anyone. If you're on a shared
server there could be problems later.
Jon
PHP Junkie wrote:
Ave,
I do not really know what the problem is because I don't get an err
eval takes a string and evaluates it as PHP, which I also thought would
work. But this is a file of mixed PHP and HTML.
I've designed it this way because I work with guys that are dreamweaver
crazy and want to do all their layout there.
Maybe I should parse the file, and eval() the PHP and ech
BBEdit is the tool of the Gods.
Jon
Lester Caine wrote:
Matthew Weier O'Phinney wrote:
So, you basically need a text editor with good syntax highlighting for
X/HTML, PHP, CSS, SQL, and javascript. As I said, I have that in Vim. I
also know EditPlus has that and is either shareware or freeware.
If y
The only problem there is when you group the LEFT JOIN pictures that
have a count of 0 return a count of 1. Unfortunately there's no single
query that I figured out when I did this same project that would give
accurate results.
John Holmes wrote:
Mattias Jönsson wrote:
SELECT pics.*, pic_comme
And if you want to be really extreme, you can edit httpd.conf to use
virtual hosting and recognize each of the sites you have as individual
web servers.
Then, edit your hosts file to match the domains.. say I am working on my
own web site, oldirtyhaddad.com (shameless plug). I have set up my
Remember you can always use curly braces..
"SELECT * from MembersData WHERE UserID = '{$_SESSION['logname']}'"
works just fine
Jonathan Haddad
Afan Pasalic wrote:
I think he has to keep the single quotes and add double quotes with dots:
$MembersDataQry = "SEL
as in 20 degrees?
float *sin* ( float arg)
*sin()* returns the sine of the arg parameter. The arg parameter is in
radians.
RADIANS.
|sin(deg2rad(20));
|
Jon
Marcus Strube wrote:
Hi,
i'm working with PHP 5.0.0 (Linux) and have some trouble using function sin().
In PHPs opinion
sin(20)
is
0
I've seen it work with a relative URL, which suprised me, because until
I had saw that I would have agreed with you.
Jon
Chris Shiflett wrote:
--- Arnout Boks <[EMAIL PROTECTED]> wrote:
header('Location: ' . urlencode('loginForm.php?error=Incorrect
password'));
The Location header require
You don't have to declare an array size in PHP.First you can do this:
$arr = array();
then
$arr[1] = 50;
$arr[2] = true;
$arr[3] = "some value";
or you can loop through
foreach( $i = 0; $i < 50 ; $i++ )
$arr[$i] = false;
I believe you can assign the checkbox names in HTML as grid[] and in p
Anything inside that textarea actually get's displayed. So they will
actually see that HTML.
I don't know of a way to actually highlight sections within the text
area, and I don't think there is one. You could highlight the text
outside of the textarea though.
Jon
bruce wrote:
hi..
i'm presen
error_reporting( E_NONE )?
Jon
Scott Fletcher wrote:
Close, but still not quite it. I can't remember what I did 6 to 8 months
ago. I do remember that it was written to temporary suppress the php error
while the other part of the php script can be allow to execute before
unsupressing the php error
19 matches
Mail list logo