On Wed, July 20, 2005 1:04 pm, Matt Darby said:
babu wrote:
It will become a big mess up for me if i combine all the files as they
are large files.
Scenario #1:
Use include/require to suck in the files, when needed.
Scenario #2:
Use header(Location: ) to re-direct the browser to another file.
Are characters such as àâáâãäåèéêë and others
like them considered UTF-8 characters? If it is
considered UTF-8 characters, it still manages
itself to be displayed correctly under
ISO-8859-1. The page contains those type of
characters and it is being displayed under
ISO-8859-1. However, if I
On Wed, July 20, 2005 7:32 am, Christopher J. Umina said:
Hello!
I currently have a script which streams data out of a MySQL database,
and prints the content headers correctly, however, when I use the
following line:
header(Content-Disposition: attachment; filename=\. $filename .\);
On Wed, July 20, 2005 10:15 am, babu said:
I am using header method to redirect to a certain page.my first question
is
1.Is there any other alternative to this method.
2.I am getting the error by using this method. the error is Cannot modify
header information - headers already sent by.
i
On Wed, July 20, 2005 10:02 am, Shaw, Chris - Accenture said:
I recommend redesigning your query, the database can pull back the records
you want far quicker than any frontend combining/processing, since that's
what T-SQL and relational database were designed for.
This is usually true, and
Vidyut Luther wrote:
Hello,
I have a question on how to get Server side system specific
information via PHP, or just general direction on how to parse some of
the information found in /proc
I just use file_get_contents() on the files in /proc. I would expect
that would be a lot faster
On Wed, July 20, 2005 12:49 am, Steven said:
I am looking for a simple way to check if the server is connected to the
Internet, they use a dialup to get Internet connection, and I need to
email reports out, but want to check to see if the user remembered to
connect to the Internet first. If
Richard Lynch wrote:
On Thu, July 21, 2005 3:50 pm, Markus Fischer said:
is there a way to have a more torough checking of PHP code before
executing?
Use E_ALL if you aren't already.
Most people aren't because the default is E_ALL ~ E_NOTICE, which is a Big
Mistake for a default, imnsho.
Rasmus Lerdorf wrote:
Sounds like you just need to turn on E_NOTICE. At least for your
variable access stuff assuming your test case actually hits that part of
the code.
I was talking about finding the problems bevore executing the code.
If you are talking about complete code coverage
On Tue, July 19, 2005 4:31 pm, Cabbar Duzayak said:
I have a web site that is going to have around total of 10-20 thousand
unique users, about 1000 unique hits per day on shared hosting.
I have been using PHP's internal mail mechanism with the local smtp
server on my hosting company, but it
Thank you Richard, I think I'd better explain a little about the project and
then you or somebody else might give some good suggestion upon the
restrictions of the project.
The project is to implement a digital library protocol, called oai_pmh
On Mon, July 18, 2005 12:15 pm, Thomas said:
I was wondering if anybody has attempted to track a mobile phone through a
country. I know that this is usually more a case for the FBI . a friend of
mine is going on a 4 month bike tour and I would like to 'track' him for
locations. I thought of an
On Tue, July 19, 2005 1:12 pm, Murray @ PlanetThoughtful said:
I'm based in Australia but my blog is predominantly read by Americans. I'm
wondering if anyone knows of a class that will translate Australian / UK /
Canadian / Whathaveyou English spellings into their American English
equivalents?
On Tue, July 19, 2005 10:26 am, John Nichel said:
There's some freaky math going on there or something. I added a couple
of other echos in to see and for some reason it seems to be losing
single digit value (subtracting, rounding down, I don't know).
$calculatedGross = $originalNet + (
Read this chapter of the manual:
http://www.php.net/manual/en/features.connection-handling.php
Liang ZHONG wrote:
I now encounter a problem with flow control of my program with PHP. This
is very crucial to the design of a pretty big project. This is what I
want to do in the program:
?php
On Tue, July 19, 2005 5:32 am, Liang ZHONG said:
It sounds interesting. But since I am pretty new to PHP, I have some
questions, naive maybe, about what you wrote.
#!/bin/sh\n/path/to/script/Send.php 12 \n
What does the Send.php look like? I do not have idea how a shell
interprets
an php
Richard Lynch wrote:
On Thu, July 21, 2005 3:50 pm, Rasmus Lerdorf said:
I find a lot of this AJAX stuff a bit of a hype. Lots of people have
been using similar things long before it became AJAX. And it really
Call me silly, but...
Didn't a LOT of us move a bunch of code to PHP
On Mon, July 18, 2005 8:24 pm, Ryan A said:
I didnt totally understand you q in the beginning (and still dont fully),
but
?php
$x = 5;
?
He wants a function that, if you put in $x, you get out 'x'
For *ANY* $variable.
There is no such function.
Usually the person asking it is doing
On Mon, July 18, 2005 2:14 pm, Marcelo Volmaro said:
I need to get some information from a webpage, that is served as UTF-8.
I need that information because the page contains different language
characters. The problem is that no matter if I use fget or the CURL
libraries, i got the information
On Mon, July 18, 2005 1:49 pm, Fredrik Tolf said:
very huge undertaking. I realize that Apache is huge, but that's just
because it has so insanely many features -- an HTTP server in itself
shouldn't need to be very complex, the way I see it.
There are innumerable other HTTP servers.
Some of
On Thu, 2005-07-21 at 13:37 -0700, Dan Trainor wrote:
Hello, all -
I've been looking around for a function that would tell me if a $value
in a $key=$value array was empty, and I could not find one. So I
decided to make my own. Even if I am re-inventing the wheel, I thought
that the
Eugene Voznesensky wrote:
I' looking for free PHP/MySQL Affiliate Tracking
[Management] program. Would appreciate any advice/idea
fd.
Have you looked over sourceforge.net?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Richard Lynch wrote:
[snip]
PS
It's true that your variable could/would/should appear in debug_backtrace,
but how would you pick it out from all the other variables that would
appear in your debug_backtrace?
For that matter, it's in $_GLOBALS, but how would you pick it out?
You could print
I did not specify all versions; older versions worked fine, but I.E.
that shipped with WINXP, before any service packs had these issues.
J
-Original Message-
From: Richard Lynch [mailto:[EMAIL PROTECTED]
Sent: Thursday, July 21, 2005 9:04 PM
To: Programmer
Cc: 'Richard Baldwin';
I was wondering how can I ask a question to the other subscribers?
Hello *,
I an developing a tool which let me scroll in a very big
(some 1000 km²) topographical map.
For testing I have installed a citymap of Offenburg/Germany
but I get only en empty HTML-Page in Konqueror, but ist
works in Mozilla, Firefox and InfernalExploder.
The Link is:
Chirantan Ghosh wrote:
I was wondering how can I ask a question to the other subscribers?
Don't look know but, you just did.
--
John C. Nichel
ÜberGeek
KegWorks.com
716.856.9675
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
Am 2005-07-22 09:55:47, schrieb Chirantan Ghosh:
I was wondering how can I ask a question to the other subscribers?
- END OF REPLYED MESSAGE -
Coucou...
I can see your question. :-)
Greetings
Michelle
--
Linux-User #280138 with the Linux
Posting a question on how to post a question.
:)
-Original Message-
From: Chirantan Ghosh [mailto:[EMAIL PROTECTED]
Sent: 22 July 2005 14:56
To: php-general@lists.php.net
Subject: [PHP] how to post a question?
*
This e-mail has been received by the
Shaw, Chris - Accenture wrote:
Posting a question on how to post a question.
:)
you gotta start somewhere
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Michelle Konzack wrote:
Hello *,
I an developing a tool which let me scroll in a very big
(some 1000 km²) topographical map.
For testing I have installed a citymap of Offenburg/Germany
but I get only en empty HTML-Page in Konqueror, but ist
works in Mozilla, Firefox and InfernalExploder.
The
Sorry Guys for the previous ignorant Q I thought I was emailing the Help desk,
do forgive.
I am trying to print a remote header menu in a html page without frames.
The client side JS in located in this htm. (
Richard Lynch wrote:
On Thu, July 21, 2005 12:17 pm, Mathieu Dumoulin said:
2. Further more, i can't seem to find a way to know from which path or
drive my usbkey is operating. There is maybe something i missed
somewhere that's why im asking. Anyone ever found something about the
CLI current
I was wondering how can I ask a question to the other subscribers?
Dude, when you figure it out let me know too...
:-p
-Ryan
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Chirantan Ghosh wrote:
I was wondering how can I ask a question to the other subscribers?
Try reading this first:-
http://www.catb.org/~esr/faqs/smart-questions.html
Alan
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi Alan Everybody who wasted time to read my 1st Letter,
SORRY guys, I do deserve the scorn but it was genuine mistake I didn't want
to post garbage bugging other people.
I was under the impression that I was mailing to the HELP DESK( nonliving
resp system).
If you can, Please do help me in
Chirantan Ghosh wrote:
Hi Alan Everybody who wasted time to read my 1st Letter,
SORRY guys, I do deserve the scorn but it was genuine mistake I didn't
want to post garbage bugging other people.
I was under the impression that I was mailing to the HELP DESK(
nonliving resp system).
If you
* Richard Lynch [EMAIL PROTECTED] :
On Thu, July 21, 2005 4:55 am, Chris Shiflett said:
Christopher J. Umina wrote:
I currently have a script which streams data out of a MySQL database,
and prints the content headers correctly, however, when I use the
following line:
Am 2005-07-22 10:12:17, schrieb John Nichel:
You mean the 'posting a totally non-php question to a php list' bug?
Because the page is generated by a couple of PHP scripts and
ONLY THIS PAGE is not working.
So I was thinking there is a problem with the file-extension
*.php and Konqueror can not
Posting a question on how to post a question.
Here it goes:
http://www.collectionscanada.ca/obj/h9/f1/284-v3.jpg
Just put your hand on top of it and say ABRACADABRA
Nadim Attari
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
You just did it
On 7/22/05, Chirantan Ghosh [EMAIL PROTECTED] wrote:
I was wondering how can I ask a question to the other subscribers?
Hi Edward,
I would simply like to print the remote Menu page(
http://www.dtcc.com/ThoughtLeadership/menu.htm ) in a new page.
I did the Error report print because I had no idea for what reason my PHP
code was working.
The menu is used as a header as well(the root file is JS which I can't
On Friday 22 July 2005 16:33, Michelle Konzack typed:
Am 2005-07-22 10:12:17, schrieb John Nichel:
You mean the 'posting a totally non-php question to a php list' bug?
Because the page is generated by a couple of PHP scripts and
ONLY THIS PAGE is not working.
So I was thinking there is a
Michelle Konzack wrote:
Am 2005-07-22 10:12:17, schrieb John Nichel:
You mean the 'posting a totally non-php question to a php list' bug?
Because the page is generated by a couple of PHP scripts and
ONLY THIS PAGE is not working.
So I was thinking there is a problem with the
Hey,
Getting the code from the remote site is easy enough, you just gotto find
the images now, but heres something
that should get you the basic code including the javascript:
?php
$filename =
file_get_contents('http://www.dtcc.com/ThoughtLeadership/menu.htm');
echo $filename;
?
once you have
Hi Ryan,
I tried that first also after you wrote with no avail. ( This should be
very elemental)
=
?php
$filename =
file_get_contents('http://www.dtcc.com/ThoughtLeadership/menu.htm');
echo $filename;
?
=
I am trying this html in a local machine. I preview it Internet Explorer
Hey,
The problem might be with your php settings,
run phpinfo() and see if allow_url_fopen is set to ON
heres where i uploaded what i did so far, little more needs to be done
so that the mouseover images work:
http://php-php.com/a2ztips/test.php
The way I did it is in a *very very very dirty
Chirantan Ghosh wrote:
Hi Edward,
I would simply like to print the remote Menu page(
http://www.dtcc.com/ThoughtLeadership/menu.htm ) in a new page.
I did the Error report print because I had no idea for what reason my
PHP code was working.
The menu is used as a header as well(the root
Hey,
Some more _dirty code_ as posted on http://php-php.com/a2ztips/test.php,
?php
$filename =
file_get_contents('http://www.dtcc.com/ThoughtLeadership/menu.htm');
$o=array(../dtcc.css,images/,/http,..http:);
$n=array(http://www.dtcc.com/dtcc.css,http://www.dtcc.com/ThoughtLeadersh
The easiest way to fix this is to validate your output. Konqueror is
likely more picky about correct code.
Here is validator output:
http://validator.w3.org/check?uri=http%3A%2F%2Fmichelle.konzack.home.tamay-dogan.homelinux.net%2Ftdlandmap%2F
Michelle Konzack wrote:
Hello *,
I an developing
Hello Edward,
I did try your approach in this page
http://www.homecare1.biz/public_html/PHPsiteTest01.html with no avail.
How would I find out if I have fopen wrappers enabled?
This page is remote hosted ( Hosted by Godaddy.com who state I have
PHP/MySQL enabled).
CODE USED:
===
table
Richard Lynch [EMAIL PROTECTED] writes:
The operator is not, as far as I know, defined for an array assignment
operation.
True, you can use in the parameter list in some versions to keep PHP
from copying the whole array. But that does not legitimatize what you are
doing, I don't think.
Quoting Michelle Konzack [EMAIL PROTECTED]:
Am 2005-07-22 10:12:17, schrieb John Nichel:
You mean the 'posting a totally non-php question to a php list' bug?
Because the page is generated by a couple of PHP scripts and
ONLY THIS PAGE is not working.
So I was thinking there is a problem
What I was thinking with debug_backtrace() is that you could get the
information for the function that called the function you want the
variable name for, *reducing* the likelyhood of duplicate values, but
admitedly not eliminating it.
You could also pass the name of the variable to the
He wants a function that, if you put in $x, you get out 'x'
For *ANY* $variable.
There is no such function.
Usually the person asking it is doing something very
newbie-ish, and very wrong.
Actually it's not either...
Since you can't easily debug when generating XML, as malformed XML
Chirantan Ghosh wrote:
Hello Edward,
I did try your approach in this page
http://www.homecare1.biz/public_html/PHPsiteTest01.html with no avail.
How would I find out if I have fopen wrappers enabled?
This page is remote hosted ( Hosted by Godaddy.com who state I have
PHP/MySQL enabled).
?php
set_time_limit(0);
function f(){
$count=1000;
for($i=0; $i$count; $i++){ }
exec(touch /tmp/ccc);
}
register_shutdown_function('f');
header(Content-type: text/plain);
header(Location: y.html);
?
When the time_limit is set to 0, the redirect page will be shown
Given it's a fatal error, it's as bad as a syntax error. It cancels
everything it's doing and leaves.
Remember that, even the shutdown function has to obey the time limit.
On 7/22/05, Liang ZHONG [EMAIL PROTECTED] wrote:
?php
set_time_limit(0);
function f(){
$count=1000;
I want the http client see the page ( here y.html) immediately after I call
header function, and then close the connectiion, and the function f running
in the background. But trying many many times, the result seems that I have
to either set the time limit to small to send the the html page
Liang ZHONG wrote:
What is the correct way to keep the function running after I redirect an
existing page to http client (which I want the client get immediately)
and then immediately close the connection?
Use the execution functions to call an external script that performs the
tasks you
Ok,
If I use the file_get_contents.. how do I actually parse the
contents on /proc/uptime
cat /proc/uptime
1400293.13 1317047.64
What do I do with those two numbers ?
man uptime doesn't really talk about that file.. :/
On Jul 22, 2005, at 2:42 AM, Jasper Bryant-Greene wrote:
Vidyut
On 7/23/05, Vidyut Luther [EMAIL PROTECTED] wrote:
Ok,
If I use the file_get_contents.. how do I actually parse the
contents on /proc/uptime
cat /proc/uptime
1400293.13 1317047.64
The first number is the total uptime in seconds, the second number is
the total idle time.
--
ramil
Liang ZHONG wrote:
My Question is:
What is the correct way to keep the function running after I redirect an
existing page to http client (which I want the client get immediately)
and then immediately close the connection?
ignore_user_abort(true);
-Rasmus
--
PHP General Mailing List
63 matches
Mail list logo