That's a terrible idea.
Not only does this avoid fixing the real issue (tries to fix the
symptom instead of the problem), you're telling him to change all
spaces to + signs.
Imagine a form asking for your name. You enter "Hugh Danaher" only to
see it translated into "Hugh+Danaher" on the server.
MY GOODNESS! Thing of what 126M would do for the open source movement!
We could run php.net on gold plated servers! Not to mention a 64 way sun
box with all the bells and whistles, and spruced up with urb3r cool
lighting kits!
or thing of all the cd's you could send to AOL for 126M!
any other ide
Just do ereg_replace(" ","+",$var) on the receiving end and be done with it.
- Original Message -
From: "Bob Eldred" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, November 19, 2002 11:24 PM
Subject: Re: [PHP] plus sign has changed to space after POST
> I don't believe it has
Good lord they're at it again!
- Original Message -
From: "MICHAEL OSHODI" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, November 19, 2002 10:51 PM
Subject: [PHP] REPLY NEEDED
ASSISTANCE
WE ARE MEMBERS OF A SPECIAL COMMI
I think I'd rather go with the 126M USD being offered by Desmond West (see
email entitled "STRICTLY CONFIDENCIAL") instead of this measly 31.5M USD.
If anyone wants to contact the people who own ecplaza.net (for fun), here's
the info from whois:
Registrant:
EC Plaza Network Inc.
1F, Shinho Vil
ASSISTANCE
WE ARE MEMBERS OF A SPECIAL COMMITTEE FOR BUDGET AND
PLANNING OF THE NIGERIA NATIONAL PETROLEUM CORPORATION
(NNPC)IN WEST AFRICA. THIS COMMITTEE IS PRINCIPALLY CONCERNED
WITH CONTRACT AWARDS AND APPROVAL. WITH OUR POSITIONS,
WE HAVE SUCCESSFULLY SECURED FOR OURSELVES
I don't believe it has anything to do with PHP, to be honest. I've got
scripts that are several versions of PHP old that do that. However, it
makes no difference in execution of the script.
case "show roster":
{
...
}
catches submit=show+roster quite nicely.
Bob
- Original Mes
--- [EMAIL PROTECTED] wrote:
> After upgrade to 4.2.3, plus "+" sign has changed to space after
> POST. I have checked the mailing list but can't find any help to
> turn this off forever! is this a bug in PHP?
It is possible.
When you post a form with your browser, the browser will URL encode
all
On Wednesday 20 November 2002 06:36, Baumann Reto wrote:
> Hi all
>
> Does somebody know if there is a potential problem with
> Header("Location: ");
> not working properly?
>
> I have a redirection, but it seems that on some browser, this doesn't work.
> Instead of the redirection, the sam
echo testfunction($var1, $var2, $var3, $var4);
Or if you need to do something else with the value before echo()ing it:
$meat = testfunction($var1, $var2, $var3, $var4);
//Do something with $meat
Beauford 2002 wrote:
Hi,
I have form that a user would input information and that info is sent to
Hi to all,
I have a problem regarding exploding string. I want to explode string
sepated by "+" sign, but i want it also the first variable in the array be
distinc in terms of collor or whatever when viewed in the page.
ex.
$no=("1+2+3");
$number=explode("+", $no);
how could i echo $no with th
Hi,
I have form that a user would input information and that info is sent to
a function, but I need to be able to return a result of this function
and is where I am having a problem.
For example:
testfunction($var1, $var2, $var3, $var4); //the form fills these
values.
echo $meat;
function te
Show your code. If I pass a + sign in a form, it comes out as a plus
sign in my data... I don't see your problem unless I do something like
this:
$data = "abc+def$ghi";
echo "Click Here";
Which is solved by using urlencode() before you place it in the link.
---John Holmes...
> -Original Me
This is the problem that I describe earlier in the thread. I can't save
%24 in the database but "$".
ie
a user send a string "abc+def$ghi", I need to get the exact string back
but not "abc+def%24ghi".
so is this a bug in PHP??
"John W. Holmes" <[EMAIL PROTECTED]>
11/19/2002 04:46 PM
Pl
WOW - talk about a quick response. this solved my problem...
thanks,
Jeff
"Ray Hunter" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> HREF="action.html?action=deactivate&confirm=yes"
>
> Should work...
>
>
>
> On Tue, 2002-11-19 at 20:44, Jeff Bluemel wrote:
HREF="action.html?action=deactivate&confirm=yes"
Should work...
On Tue, 2002-11-19 at 20:44, Jeff Bluemel wrote:
> I'm using the following syntax, but evidently it's not correct.
>
> HREF="action.html?action=deactivate?confirm=yes"
>
> thanks,
>
> Jeff
--
Ray Hunter
email: [EMAIL PROTECTE
I used this link for sendmail on linux, and it works great... you'll have a
very hard time beating it.
Jeff
"Manuel Lemos" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Hello,
>
> On 11/20/2002 08:18 AM, Siamak wrote:
> > hi
> > how can i send a mail by a sm
I don't mind helping, but can you please read the archives next time?
This has been asked a lot. Anyway, the correct syntax is:
HREF="action.html?action=deactivate&confirm=yes"
Jeff Bluemel wrote:
I'm using the following syntax, but evidently it's not correct.
HREF="action.html?action=deactiv
I'm using the following syntax, but evidently it's not correct.
HREF="action.html?action=deactivate?confirm=yes"
thanks,
Jeff
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Ahhh - that works a treat! First time I've seen the floor command in
action.
Thanks Jonathon.
Still more lines of code than I'd like, but obviously its not that easy to
do!
Best Regards
Bob Irwin
Server Admin & Web Programmer
Planet Netcom
- Original Message -
From: "Jonathan Sharp" <[E
CHeck out ADODB, it makes this a pretty easy task.
http://php.weblogs.com/adodb
"Marco Bleeker" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Hello, how would I go about listing a portion of a MySQL table, without an
> overall selection criterium? I have a un
Have you tried this:
http://curl.haxx.se/libcurl/php/examples/
Would help if you posted some code, or errors or something. I've used curl
in several PHP applications successfully.
Snoopy is actually a really awesome implementation of curl in php:
http://sourceforge.net/projects/snoopy/
I replace
Thats a toughy.. Your best bet is going to be dump the database to text,
then find an importer into MS Access.. Yes, I know you said you don't have
access, but I don't think you'll be able to create the access database
without it. Mabey you have a friend or something with it.
There are a bunch of
i'll just throw my code in here while we're at it...
$seconds = 3600*5 + (60 * 10) + 45;
$hours = floor( $seconds / 3600 );
$mins = floor( ($seconds % 3600) / 60 );
$seconds = floor( ($seconds % 60) );
echo "Hours: $hours\nMins: $mins\nSeconds: $seconds\n";
-js
John W. Holmes wrote:
>>You can
- Original Message -
From: "Marco Bleeker" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, November 19, 2002 8:34 PM
Subject: [PHP] Listing a table
> Hello, how would I go about listing a portion of a MySQL table, without an
> overall selection criterium? I have a unique index
On Wed, 20 Nov 2002, Bob Irwin wrote:
> Its seems far more reliable than what I am using (dividing by 60 for
> minutes, 3600 for hours and doing rounding, exploding if its not a round
> number etc).
>
> Its only for measuring short times, so Matt's suggestion should work ok.
> Ideally though, beca
Hello, how would I go about listing a portion of a MySQL table, without an
overall selection criterium? I have a unique index field, but it's a string
and not autoincremented (but manually and with gaps). I just want to go to
one particular row (query on that index field) and then list, say, 20
Bob,
Instead of dividing, use modulus to get the exact number of remaining
seconds, and then determine the minutes from that.
Here is some code that I've quickly adapted from another language I use, to
take the total minutes, and convert it to "hours:minutes" display.
$totalmins = 193;
$showmin
Its seems far more reliable than what I am using (dividing by 60 for
minutes, 3600 for hours and doing rounding, exploding if its not a round
number etc).
Its only for measuring short times, so Matt's suggestion should work ok.
Ideally though, because it will crop up from time to time, it'd be the
> You can do something like this:
> $seconds = 265;
> $time = date('i s',$seconds);
> $minSecs = explode(' ',$time);
> echo "{$minSecs[0]} minutes and {$minSecs[1]} seconds\n";
> ?>
That doesn't work for anything over 3599 seconds, though...
---John Holmes...
--
PHP General Mailing List
> might be my php code has problem the following code fragment will keep
"+"
> to "+" but "$" to "%24"
That's what urlencode() is supposed to do.
---John Holmes...
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
>From: "Bob Irwin" <[EMAIL PROTECTED]>
> Sent: Tuesday, November 19, 2002 7:27 PM
>Subject: [PHP] Seconds to minutes
> At the moment, I'm using quite a few lines of code to convert seconds to
> minutes and hours. I'm thinking, surely I'm missing something really
> simple! Is there a PHP function
Ok, I'm going to break down and ask for help.
I'm trying to post an XML file to NetLedger through HTTPs, but cURL isn't
returning any errors when I run through PHP, and the file isn't getting there.
Can someone point me in the direction of a site with some *good* help on
how to do file posting
might be my php code has problem the following code fragment will keep "+"
to "+" but "$" to "%24"
"John W. Holmes" <[EMAIL PROTECTED]>
11/19/2002 04:12 PM
Please respond to holmes072000
To: <[EMAIL PROTECTED]>
cc: <[EMAIL PROTECTED]>
Subject:
Hey Guys,
At the moment, I'm using quite a few lines of code to convert seconds to
minutes and hours. I'm thinking, surely I'm missing something really
simple! Is there a PHP function that converts seconds to minutes? Or is it
a 4 or 5 (and not always that accurate) lines of code?
Any ideas or
Hello,
Every not EXPERIMENTAL modules are supposed to be stable. There still might
have some bugs and bug-fixes too..
--
Regards.
M.CHAILLAN Nicolas
[EMAIL PROTECTED]
www.WorldAKT.com Hébergement de sites internets.
"Chris Edwards" <[EMAIL PROTECTED]> a écrit dans le message de news:
04dd01c28ff
You have to encode it on one end, and decode it on the other.
Use
$url_safe = urlencode($string);
and pass $url_safe in the URL. Then on the receiving end, use
$back_to_normal = urldecode($url_safe_string);
---John Holmes...
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMA
I have tried this but the problem is it change the other special character
as well. For example, $ to %24, etc.
If people pass a string like "abc+def$ghi", I want to save the exact
string to the database rather than "abc+def%24ghi". I can't do a
translation of %24 to $ before saving the stri
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, November 19, 2002 6:43 PM
> To: [EMAIL PROTECTED]
> Subject: [PHP] plus sign has changed to space after POST
>
> After upgrade to 4.2.3, plus "+" sign has changed to space after POST.
I
> have checke
seems to me that you're trying to have an object's member behave as if it
had global scope. you never say "$foo = new bar()". instead you say
"$this->foo = new foo()" where $this is an instance of Overall. you can't
instantiate a Foo as a member of an Overall instance, and then expect to
talk to
After upgrade to 4.2.3, plus "+" sign has changed to space after POST. I
have checked the mailing list but can't find any help to turn this off
forever! is this a bug in PHP?
thanks
Hello,
On 11/20/2002 08:18 AM, Siamak wrote:
hi
how can i send a mail by a smtp server from a php page?
If you are using Windows that is is the default method.
If not, you may want to try these classes:
http://www.phpclasses.org/smtpclass
http://www.phpclasses.org/mimemessage
--
Regards,
Ma
$overall->foo->bar() works for me.
also there's no need for the eval('global...') line
Apache 1.3.27, PHP 4.2.2
-js
Tularis wrote:
> ok, I have gotten great help here already, but it still doesn't work,
> it returns a object not found error (on the $foo->bar() line). I want to
> change $overal
At 11:18 20.11.2002, Siamak said:
[snip]
>hi
>how can i send a mail by a smtp server from a php page?
>thanks
[snip]
http://www.php.net/manual/en/function.mail.php
--
>O Ernest E. Vogelsinger
(\)ICQ #
I'm looking for a PHP library that would allow me to write in the native
file format of Microsoft Access (".mdb"). This would allow me to "hand" a
copy of a MySQL database to my client. I'm hosted on unix, and I'm not
familiar with ODBC, nor do I have access to MS Access running on a server.
Does
--- Baumann Reto <[EMAIL PROTECTED]> wrote:
> Does somebody know if there is a potential problem with
> Header("Location: ");
> not working properly?
Try this code:
http://www.google.com/";);
?>
If this does not work, let us know.
Chris
--
PHP General Mailing List (http://www.php.net/)
To
At 23:36 19.11.2002, Baumann Reto said:
[snip]
>Hi all
>
>Does somebody know if there is a potential problem with
>Header("Location: ");
>not working properly?
>
>I have a redirection, but it seems that on some browser, this doesn't work.
>Instead of
phpmailer.sourceforget.net
-js
Siamak wrote:
> hi
> how can i send a mail by a smtp server from a php page?
> thanks
>
>
>
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Are you using an exact path or a relative url (such as somepage.php)?
It should be absolute (such as http://someserver/somepage.php).
Baumann Reto wrote:
Hi all
Does somebody know if there is a potential problem with
Header("Location: ");
not working properly?
I have a redirection, but
At 23:08 19.11.2002, Vincent Vandemeulebrouck said:
[snip]
>> does anybody know a way to make a distinction
>> between robots and users?
>> should I use the user agent? Or is this not a safe method.
>> If the visitor is a spider/robot I want to include some s
What browsers are having the problems?
On Tue, 2002-11-19 at 15:36, Baumann Reto wrote:
> Hi all
>
> Does somebody know if there is a potential problem with
> Header("Location: ");
> not working properly?
>
> I have a redirection, but it seems that on some browser, this doesn't work.
> I
Hi all
Does somebody know if there is a potential problem with
Header("Location: ");
not working properly?
I have a redirection, but it seems that on some browser, this doesn't work.
Instead of the redirection, the same page is requested again!
I'm also using sessions and html-post reque
hi
how can i send a mail by a smtp server from a php page?
thanks
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
>From what I think I heard on another group was that it dosent matter what
stylesheet you use, it will just read the file, getting words and following
links. Cant remember where I read this, think it was a forum, and they were
argueing about robots and whether they follow links specified in JavaScr
ok, I have gotten great help here already, but it still doesn't work,
it returns a object not found error (on the $foo->bar() line). I want to
change $overall->foo->bar() to $foo->bar... any tips? or help??
thanx!
- Tularis
class overall {
var $loaded;
function load($class){
eval("glob
> does anybody know a way to make a distinction
> between robots and users?
> should I use the user agent? Or is this not a safe method.
> If the visitor is a spider/robot I want to include some script
> containing extra URL's for the robot.
I am very interested too in this, as I received visits f
even further, instead of using fgets() to get each line and then exploding
it, you can use fgetcsv() which reads the line and breaks it into chunks by
any delimiter, returning the chunks in an array.
$fp = fopen($filename, "r");
while (!feof($fp))
{
$line = fgetcsv($fp, 9, "|");
...
}
Some are more stable than others. Which particular SAPI module are you
asking about?
On Tue, 19 Nov 2002, Chris Edwards wrote:
> Does anyone know if the PHP SAPI modules are better in the newer releases?
> Are they currently stable enough for production websites?
>
> --
> Chris Edwards
> Web App
This works too.
$fp = fopen($filename,'r');
while($line=fgets($fp))
{
//do what you need to do with $line
}
fclose($fp);
Robbert van Andel
-Original Message-
From: Rasmus Lerdorf [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, November 19, 2002 11:44 AM
To: Kelly Meeks
Cc: [EMAIL PRO
On Wednesday 20 November 2002 03:45, Kelly Meeks wrote:
> here's an example of a text file I need to read...
>
> abcd|test1|morevalues|otherstuff
> efghijklm|a;kd;laskf;alskdjf;alskdf;askldjasldkf|;askd;lakjl;asdf|al;sdjf;a
>lf
>
> I believe each line is seperated by a carriage return.
>
> How can
There are a couple of ways:
- If the file is small enough, I suppose you could use the
http://ca.php.net/manual/en/function.file.php file function, which loads
the file in array (one element per line).
- If the file is bigger, you can use the normal fopen() functionality
and then use http://ca.ph
$array = file($filename);
Each line of the array will have a line of your file.
Or, if you want to do it line by line:
$fp = fopen($filename,'r');
while(!feof($fp)) {
$line = fgets($fp);
}
fclose($fp);
-Rasmus
On Tue, 19 Nov 2002, Kelly Meeks wrote:
> here's an example of a text f
here's an example of a text file I need to read...
abcd|test1|morevalues|otherstuff
efghijklm|a;kd;laskf;alskdjf;alskdf;askldjasldkf|;askd;lakjl;asdf|al;sdjf;alf
I believe each line is seperated by a carriage return.
How can I read this in one line at a time in to a variable?
I'm assuming t
Many thanks for your reply, I will add the bugs site to my list of
things to search before posting here!
As I am putting the code onto a number of servers where I can't control
the PHP settings, I will need to devise a work around. Good to know
it's not my poor coding.
Phoebe.
Mike Ford wrote
I think there is a PHP release mailing list, that should keep you in the loop,
or check php.net. The news is usually fresh there.
-Brad
> When will there be a new release of php?
>
> With kind regards,
>
> Richard Pijnenburg
> Klik-on Internet Solutions
>
>
--
PHP General Mailing L
At 19:37 19.11.2002, Chris Edwards said:
[snip]
>is anyone running the isapi mod on iis? why does it ask for authenitcation
>when I run a script?
[snip]
From the docs (http://www.php.net/manual/en/features.http-auth
> -Original Message-
> From: Richard Pijnenburg [mailto:[EMAIL PROTECTED]]
> Sent: 19 November 2002 18:48
>
> When will there be a new release of php?
Well, http://www.php.net/ says:
[14-Nov-2002] PHP 4.3.0RC1 has been released. This is the first
release candidate and
So, er, s
At 19:10 19.11.2002, Adam said:
[snip]
>Thanks, but not sure if this is what i'm looking for
>
>I just want to setup the PHP script so that the variable $filename can be
>changed via a link such as 'index.php?filename="file.xml"',
>causing the script to
OS: RedHat 7.3
PHP: 4.3.0RC1 (sources)
IMAP: imap-2001a-10, imap-devel-2001a-10 (rpms)
Krb: pam_krb5-1.55-1, krbafs-devel-1.1.1-1, krbafs-1.1.1-1,
krb5-libs-1.2.4-3, krb5-devel-1.2.4-3 (rpms)
I get the following error-messages:
configure:34127: checking for crypt in -lcrypt
configur
When will there be a new release of php?
With kind regards,
Richard Pijnenburg
Klik-on Internet Solutions
> Does anyone know if the PHP SAPI modules are better in the newer releases?
> Are they currently stable enough for production websites?
Better than..?
Where you/are you having problems with them currently?
I know many production win32 php environments.
--
PHP General Mailing
is anyone running the isapi mod on iis? why does it ask for authenitcation
when I run a script?
--
Chris Edwards
Web Application Developer
Outer Banks Internet, Inc.
252-441-6698
[EMAIL PROTECTED]
http://www.OuterBanksInternet.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscrib
> How would I return an array of data with a function?
return $array;
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
> Is it will increase the processing time when too many "include"
process in
> a
> program?
Well, each include() takes up time, so yes. It depends on what you're
including, though, as to how big of an impact it has on your program.
---John Holmes...
--
PHP General Mailing List (http://www.php
Thanks, but not sure if this is what i'm looking for
I just want to setup the PHP script so that the variable $filename can be changed via
a link such as 'index.php?filename="file.xml"',
causing the script to parse the appropriate file.
Adam.
- Original Message -
From: Ernest E
Does anyone know if the PHP SAPI modules are better in the newer releases?
Are they currently stable enough for production websites?
--
Chris Edwards
Web Application Developer
Outer Banks Internet, Inc.
252-441-6698
[EMAIL PROTECTED]
http://www.OuterBanksInternet.com
--
PHP General Mailing List
At 18:23 19.11.2002, Van Andel, Robert spoke out and said:
[snip]
>How would I return an array of data with a function?
[snip]
// returns a copy of the array
function return_an_array() {
$a = array('oranges','apple
How would I return an array of data with a function?
Robbert van Andel
"The information transmitted is intended only for the person or entity to
which it is addressed and may contain confidential and/or privileged
material. Any review, retransmission, dissemination or other use of, or
taking
At 18:04 19.11.2002, Adam spoke out and said:
[snip]
>Cheers for replying.
>
>I have the menu in place already, it is the PHP end i'm not sure about.
>Currently I have many php files which only differ in one line:
>$filename="file.xml";
>
>I want to be able t
If you are running them as commandline apps you can just pipe "|" the
output to another program
i.e. phpapp.php | perlapp.pl
That should work as long as you deal with the arguments properly...
On Tue, 2002-11-19 at 09:50, Kelly Meeks wrote:
> Is there any way to get a php script to grap the
If they are on the same machine and executable from the command line, then
you can use exec(), system(), backtics, etc to get the output.
If they are on another machine (or not executable) and only available
through a HTTP interface, then just use fopen to open the address and read
the output from
mibbie give us a url to look at ACT? Or atleast a quick out-line of what it
does?
"Craig" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Does anyone know of any sites that offer a web based contact management
> system that works in a similar way to ACT?
>
> I w
Is there any way to get a php script to grap the output from a perl script?
Can you reverse that and have a perl script grab the output from a php script?
Kelly
Hello all,
I wish to use threads or processes under Windows. Is there a known .DLL
that I can load and use to do the work in Windows? Any URI for details
and information is highly appreciated.
I know of PHP's internal Process Control functions, but they don't work
outside UNIX.
Thanks in advance
Does anyone know of any sites that offer a web based contact management
system that works in a similar way to ACT?
I want to implement such a system that connects to a mysql database
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
If the word document you are trying to download is already on the server,
you could probably just make a link to the file
http://host.com/document.doc";>
When the user clicks on it, they either view the document if they have the
MS Word plugin, or they are asked to download it. I'm not sure that
Cheers for replying.
I have the menu in place already, it is the PHP end i'm not sure about.
Currently I have many php files which only differ in one line:
$filename="file.xml";
I want to be able to pass this value to the script through a link.
A.
- Original Message -
From: "Jonathan Sh
AWSOME !!!
Cordialmente
Daniel Massón => Ingeniero de desarollo
[EMAIL PROTECTED]
www.imagine.com.co
Tels: (57)(1) 2182064 - 6163218
Bogotá - Colombia
- Soluciones web para internet e intranet
- Asesoría y Soporte Técnico
- L
I'm assuming you're trying to have a select list.
Try this:
File XML1
File foo
Just make sure you test the value you get for file, so that someone
doesn't pass you /etc/passwd (just an example).
-js
Adam wrote:
> I am developing a site, using XML and PHP for formatting. I want to have one H
"Jeremy Wilson" <[EMAIL PROTECTED]> wrote:
> Well fine... by reading a bunch of your other posts when you talk to
> people, it looks like you are just a rude SOB... so I am really not
> offended.
Who is offending who? You attacked a ml with a spam (yes, it's spam) and now
you're attacking people
I am developing a site, using XML and PHP for formatting. I want to have one HTML
template and call up the different XML files from a Javascript menu.
Ideally i want to be able to call files from a link, such as:
'index.php?action=load&file="file.xml"'
Not sure if this is the right format, b
Hello,
"John Yamokoski" <[EMAIL PROTECTED]> wrote:
> I am new to PHP but wanted to know if its possible to do the following
with
> PHP.
>
> I want to grab the size of the users RAM and the speed of the users CPU.
Is
> this even possible with PHP since its a server side language??
>
> And if its no
At 01:34 19.11.2002, shi ziye spoke out and said:
[snip]
>not sure how to post, sorry!
[snip]
Just the way you did :)
--
>O Ernest E. Vogelsinger
(\) ICQ #13394035
^ http://www.vogelsinger.at/
Hello,
"Simon Dedeyne" <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> Does anybody know where to find a pre-compiled Windows (XP) version of
> PHP that includes multistring functions? I checked phpdev on firegpages
> and other sites that usually hold these installations but their versions
> don't suppo
At 16:56 19.11.2002, Michelle spoke out and said:
[snip]
>I would like to download a word-document from another site and save it to my
>harddrive.
>How would I go about doing this?
>
>I tried:
>$filename = "http://host.com/document.doc;
>
>$fd = fopen ($filen
Hello,
"Phil Schwarzmann" <[EMAIL PROTECTED]> wrote:
> Let's say you had one site and one site only to get the latest PHP/MySQL
> news, articles, reviews, resources, tutorials, advanced stuff etc.
>
> What would it be?!?
http://www.phpbuilder.com/ ?
Give me another choice :)
http://w
PHP is true and blue in relation to error messages (in this case
anyway):
Warning: stat failed for http://host.com/document.doc (errno=2 - No such
> file or directory) in d:\inetpub\wwwroot\dl-doc.php on line 8
The file either doesn't exist on "host.com" under the root directory
as "document.doc"
Hello,
(B
(B"Kondwani Spike Mkandawire" <[EMAIL PROTECTED]> wrote in message
(B[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
(B> Hi folks:
(B>
(B> Have any of you guys encountered the following error:
(B>
(B> CGI Error
(B> The specified CGI application misbehaved by not returning a complete
I would like to download a word-document from another site and save it to my
harddrive.
How would I go about doing this?
I tried:
http://host.com/document.doc;
$fd = fopen ($filename, "rb");
$string = fread ($fd, filesize ($filename));
At 16:10 19.11.2002, Phil Schwarzmann spoke out and said:
[snip]
>When declaring a new object ( $obj=new Something; ), do they need to be
>then registered in a session ( session_register("obj"); ) if you want to
>use them for a different script?
-
1 - 100 of 162 matches
Mail list logo