Sorry, I forgot to say my requirement is to make this a browser only
application.
Would all these still works?
Thanks
Dominic
- Original Message -
From: "Vail, Warren" <[EMAIL PROTECTED]>
To: "'Markus Fischer'" <[EMAIL PROTECTED]>; "DoL"
<[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>; <[EMA
On Friday 17 May 2002 14:30, Triax wrote:
> Hello,
> currently I want to implement a multiple upload using a listbox.
> I have 2 link which will dynamically add or remove a file to/from the
> list box,
> -
> Upon sbumitting, my p
On Friday 17 May 2002 14:30, Roman Duriancik wrote:
> I have some text file, in this text file i write some information.
> But my problem is : How write/append new information on beginning of
> document but
> old information will be there too. When I used fopen with option "a" or
> "r+" and
> with
What is the type of array returned by child_nodes()?
I have an XML doc parsed into a DOM structure by
$docnode = domxml_open_file("blah")
then I get root by
$root = $docnode->document_element();
then I get the first node
$f_child = $root->first_child();
and then I want to get an array of all the
I am in the process of developing a website with a webmail system similar in
functions to hotmail
Does anyone have any suggestions for where to start?
thanks
craig
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Take a look at some others...
http://www.hotscripts.com/PHP/Scripts_and_Programs/Email_Systems/Web-based_E
mail/
"Craig" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> I am in the process of developing a website with a webmail system similar
in
> functions t
www.horde.org/imp/
> -Original Message-
> From: Craig [mailto:[EMAIL PROTECTED]]
> Sent: 17 May 2002 9:46 AM
> To: [EMAIL PROTECTED]
> Subject: [PHP] Looking for web based email
>
>
> I am in the process of developing a website with a webmail
> system similar in
> functions to hotmail
I have this code :
$text = file("http://www.hokej.sk/spravy/?id=16159";);
echo count($text);
for ($i=0;$ihttp://www.hokej.sk/spravy/?id=16159";) - Bad file descriptor
in d:\skuska.php on line 2
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/uns
Hi All,
Is this possible?
I really don't want to go back to perl5 to setup an autoresponder system!
Henry
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
And what about resolution of the screen?
How is possible to keep it in record too or to tailor the page?
(get_browser() is not supported from my server, I'm waiting my sypport team
answer about "browscap.ini")
Thanks
Makis
> -Original Message-
> From: Kevin Stone [mailto:[EMAIL PROTE
On Friday 17 May 2002 18:11, Henry Grech-Cini wrote:
> Hi All,
>
> Is this possible?
Yes, compile php as a stand-alone binary, see manual for details.
> I really don't want to go back to perl5 to setup an autoresponder system!
--
Jason Wong -> Gremlins Associates -> www.gremlins.com.hk
Open So
Hi Henry,
> Is this possible?
yup.
Set your cron job up as "lynx -dump http://www.myserver.com/myscript.php >
/dev/null" (or pipe it to a logfile if you fancy) - obviously, you'll need
lynx installed for this to work :-)
Cheers
Jon
--
PHP General Mailing List (http://www.php.net/)
To unsubsc
My guess is that it's something to do with the =shared. In your phpinfo()
output, there should be a table about half way down which says
GetText Support enabled
When I compiled (bsd so it may be different for you) I
used --with-gettext=/usr/local/ the gettext binary is in /usr/local/bin and
the
I've a php script that creates (inserts) a new record in a MySQL table. It
executes, goes to the next page, but it doesn update the db>
The db name and table name are OK. I've printed the values passed to the
script and it's OK too.
What code can I add to the script to find out the error of t
In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED]
says...
> Hi All,
>
> Is this possible?
>
> I really don't want to go back to perl5 to setup an autoresponder system!
>
> Henry
Just compile php as an executable (without --with-apache or --with-apxs
options) and use the #! syntax in the firs
Hi all,
firstly: i know nowt about search engines/crawlers spiders really.
i'm giving users fake sub-domains i.e
www.username.mysite.com gets redirected to www.mysite.com/users/sites/username via
mod_rewrite/wildcard dns
so i'm wondering if search engines will have any trouble indexing those site
Hi All,
Can somebody tell me how to install
PHP with Apache and Sybase on Suse linux.
It would be great help for me.
Regards,
Vivek
I have an array which I use a loop to add numbers to different elements in
the array. I can extract the highest no
which in this case is 48. ie ([22 ] => 48 [23 ] => 2 [12 ] => 22 [14 ] =>
5 )
Using this highest no (48 in this instance), how do I get the position or
[element No] that matches the
On Friday 17 May 2002 18:44, Vivek Kumar Agrawal wrote:
> Hi All,
>
> Can somebody tell me how to install
> PHP with Apache and Sybase on Suse linux.
>
> It would be great help for me.
There is a list specifically for php installation issues.
--
Jason Wong -> Gremlins Associates -> www.gremlins
yip it's possible in exactly the same way as you would Perl,
use:
#/path/to/php
/*
php code
*/
and add it to cron as you would a perl script
> -Original Message-
> From: Henry Grech-Cini [mailto:[EMAIL PROTECTED]]
> Sent: 17 May 2002 11:12 AM
> To: [EMAIL PROTECTED]
> Subject: [PH
On Friday 17 May 2002 17:35, Anthony Rodriguez wrote:
> I've a php script that creates (inserts) a new record in a MySQL table. It
> executes, goes to the next page, but it doesn update the db>
>
> The db name and table name are OK. I've printed the values passed to the
> script and it's OK too.
On Friday 17 May 2002 18:42, Josh Edwards wrote:
> I have an array which I use a loop to add numbers to different elements in
> the array. I can extract the highest no
> which in this case is 48. ie ([22 ] => 48 [23 ] => 2 [12 ] => 22 [14 ] =>
> 5 )
>
> Using this highest no (48 in this instance),
Hi Jason,
Thanx for your prompt response.
Can you guide me how to install PHP with Apache and Sybase on Linux.
Regards,
Vivek
- Original Message -
From: "Jason Wong" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, May 17, 2002 4:27 PM
Subject: Re: [PHP] Installing PHP with Ap
Hi Guys,
Special greetings to all of you who have helped me in the past.
As some of you know i just bought a PHP book called "Php Blackbook" which i
heard is really good.
Anyway, In chapter 4 it talks about credit cardsand then CyberCash which
is owned by verisign and payflow which too is own
> i would have thought that server-side redirects are no problem for
crawlers.
That's what i would have thought too. mod_rewrite is an alternativ for
virtual domains. if you request www.mydomain.com it doesn't matter
to the server if you have virtual domains or mod_rewrite. both got
redirected to
Im having a problem with StrToLower function in php
Im trying to convert characters like Þ and acute letters from
uppercase to lowercase, but it dosent work.
this is what the manual says: Note that 'alphabetic' is determined by
the current locale. This means that in i.e. the default "C" l
> Set your cron job up as "lynx -dump http://www.myserver.com/myscript.php >
> /dev/null" (or pipe it to a logfile if you fancy) - obviously, you'll need
> lynx installed for this to work :-)
but this is only needed only if you compile php into apache or am i wrong?
if i have the cgi version inst
correct...
> -Original Message-
> From: Michael Virnstein [mailto:[EMAIL PROTECTED]]
> Sent: 17 May 2002 12:57 PM
> To: [EMAIL PROTECTED]
> Subject: Re: [PHP] Using php as a scripting language within cron jobs?
>
>
> > Set your cron job up as "lynx -dump
> http://www.myserver.com/myscr
I have restricted the IP Address etc through the directory security, if
i goto: www.domain.com/thedir/ it does indeed give me the ip denied,
howver if i goto a file within it if it's a basic html page it displayes
it, similarly if it's a PHP script it also gets executed...
(I know if I was using
Hi Michael,
> > Set your cron job up as "lynx -dump http://www.myserver.com/myscript.php
>
> > /dev/null" (or pipe it to a logfile if you fancy) - obviously, you'll
need
> > lynx installed for this to work :-)
>
> but this is only needed only if you compile php into apache or am i wrong?
> if i
php-general Digest 17 May 2002 12:02:32 - Issue 1350
Topics (messages 97988 through 98049):
Re: Can anyone help me save img from URL?
97988 by: Victor Polyushko
Re: Done w/ PHP - VB or C# ?
97989 by: Miguel Cruz
97990 by: Victor Polyushko
97991 by: Peter
Re
[snip]
> but this is only needed only if you compile php into apache or am i wrong?
> if i have the cgi version installed, i can call the php script
> directly from the shell. The only thing for me to do then, is to set
> #!/path.to/php in the first line of the script, right?
[/snip]
Can you hav
Jay Blanchard wrote:
>
> [snip]
> > but this is only needed only if you compile php into apache or am i wrong?
> > if i have the cgi version installed, i can call the php script
> > directly from the shell. The only thing for me to do then, is to set
> > #!/path.to/php in the first line of the s
afaik yes.
The module version should be called if apache has been requested with one of
the
reqistered php file types. the cgi version can be used as shell interpreter.
the only thing that can smash th whole thing imo, is if you try to use the
cgi version
via web if you have php also installed as
> the only thing that can smash th whole thing imo, is if you try to use the
> cgi version via web if you have php also installed as apache module.
if anyone has infos here, it'll be really nice.
Regards Michael
"Michael Virnstein" <[EMAIL PROTECTED]> schrieb im Newsbeitrag
[EMAIL PROTECTED]">
Michael Virnstein wrote:
>
> afaik yes.
> The module version should be called if apache has been requested with one of
> the
> reqistered php file types. the cgi version can be used as shell interpreter.
> the only thing that can smash th whole thing imo, is if you try to use the
> cgi version
>
i do not know if file() can be used with files on remote servers.
fopen() can, if this feature is enabled in php.ini.
Regards Michael
"Roman Duriancik" <[EMAIL PROTECTED]> schrieb im Newsbeitrag
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> I have this code :
> $text = file("http://www.hokej.s
[snip]
Works well, and if your using libraries of code, you can share between the
web module and the cgi. his is what I do, and sometimes I run a daemon to
update a cache, so that the web module never needs to hang the user while
it retrieves data from a remote site.
[/snip]
Too cool, I will star
>> [snip]
>> > but this is only needed only if you compile php into apache or am i
>> > wrong? if i have the cgi version installed, i can call the php
>> > script directly from the shell. The only thing for me to do then, is
>> > to set
>> > #!/path.to/php in the first line of the script, right?
> the only thing that can smash th whole thing imo, is if
> you try to use the cgi version
> via web if you have php also installed as apache module. but all of
> what i wrote is a guess,
> never tried by myself.
You can do all of the following simultaniously without and clashes:
* Use PHP as an
I am a newbie so be kindI have looked into
the manual about directory functions etc.I want to return all the files
from a directory into a array.
Could some one give me a few pointers or
something?
I keep getting confused but I have used google and
the manual.
I can find functions but
That's what i found about file():
Tip: You can use a URL as filename with this function if the "fopen
wrappers" have been enabled. See fopen() for more details.
So check your php.ini settings. If you're hosted by a hosting company and
they
failed to enable the fopen wrappers, you can overwrite t
Hi there!
I'm just starting to get in touch with
oo programming in PHP. Now I've got a
quite simple question, I guess...
In an example in the PHP-help, I found
a class definition with accessor functions
like
dummy->get_some_variable();
But AFAIK (and see ;)), variables in PHP
in fact are nev
>> > Set your cron job up as "lynx -dump
>> > http://www.myserver.com/myscript.php /dev/null"
>> > (or pipe it to a logfile if you fancy) - obviously,
>> > you'll need lynx installed for this to work :-)
>>
>> but this is only needed only if you compile php into apache or am i
>> wrong? if i have
Is there a variable in PHP which will show the
directory of the document root? I have done a few searches and before I go
looking harder I thought I'd ask. My problem is that I am using both windows,
IIS and linux, Apache. I tried a few things like $document_root which didn't
seem to work bu
#!/path.to/php -q
I'd like to suggest the -q option for PHP shell scripts, which I rely on every
day.
James
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
> From: [EMAIL PROTECTED]
>
> I am a newbie so be kind
>
> I have looked into the manual about directory functions etc.
>
> I want to return all the files from a directory into a array.
>
> Could some one give me a few pointers or something?
>
> I keep getting confused but I have used google a
On Friday 17 May 2002 20:56, [EMAIL PROTECTED] wrote:
> Is there a variable in PHP which will show the directory of the document
> root? I have done a few searches and before I go looking harder I thought
> I'd ask. My problem is that I am using both windows, IIS and linux, Apache.
> I tried a few
Currently, people can post links to images in an application I am using but
they can post something outrageous like 1000X800 pixels and it messes thing
up on the format. I was sent this as a solution but it really bogs down
especially on images from certain servers. Is there a better way to do
t
-q? this is for disabling the html headers, right?
"James E. Hicks III" <[EMAIL PROTECTED]> schrieb im Newsbeitrag
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> #!/path.to/php -q
>
> I'd like to suggest the -q option for PHP shell scripts, which I rely on
every
> day.
>
> James
>
--
PHP Gene
> #!/path.to/php -q
>
> I'd like to suggest the -q option for PHP shell scripts, which I rely
> on every day.
Sh!! We dont want to give away *everything* heh... bah ... well I
might as well give you the rest of the info.
[14:03:50][dhardiker@amnesiac]:~$ php -?
Usage: php [-q] [-h] [-s
HI,
as far as i know private vars should be available in the next release of
the zend engine, thus, using get and set functions is a good practice to be
sure that your apps will still function in future php releases.
Regrads.
___
Hassan El Forkan
> But AFAIK (and see ;)), variables in PHP
> in fact are never private, but always
> public, at least within the current script.
This is correct, all functions and variables inside a class are public.
There are no protected nor private func's / var's.
> So what would be the sense in having
> t
Hi the ML
I have the following question :
I have constructed several pages with PHP which look likes some reports. (I
attached one example to my mail)
Now I need to convert this HTML page to PDF to send it by mail .
Does any one has an idea ?
Laurent Drouet
(See attached file: samples.zip)
#
Here's a sample of a weblog. I have a loop that extracts the request ie "Get
/A1.php
How do I get the top ten requests and how many time these were requested
after looping thru the whole file. Can you set up an array that is self
populating if a string doesn't match an element in the array or is
I personally have never come across the method that is involved in compiling
PHP as a binary, but I have come up with a way to run PHP scripts from the
Command Line and Cron without the binary.
from the cron I would call this command...
wget -q -T10 http:/www.mydomain.com/myScript.php -0 /dev/nu
This is the one my company uses:
http://nocc.sourceforge.net/
I found it very easy to modify, and it fully supports attachments as well as
the related RFCs.
-Jared
-Original Message-
From: Craig [mailto:[EMAIL PROTECTED]]
Sent: Friday, May 17, 2002 4:46 AM
To: [EMAIL PROTECTED]
Subject
When using xitami with PHP I get the message:
Security Alert! PHP CGI cannot be accessed directly.
This PHP CGI binary was compiled with force-cgi-redirect enabled. This means that a
page will only be served up if the REDIRECT_STATUS CGI variable is set. This
variable is set, for example, by
I actaully had to do that yesterday, here is the code i used.
$path = "/foo/bar";
$myArray = $array();
$dir = opendir($path);
while($file = readdir($dir)) {
// if(!ereg("^\.", $file) {
$myArray[count($myArray)] = $file;
// }
}
closedir($dir);
If you want to exclude the always present "."
Hi,
my isp has set up an internal redirect that
resolves www.mysite.biz to www.mysite.com
how can i check if the request was for the .biz version.
thx
getenv("HTTP_HOST");
Then parse the data as you need to to get to the root of the domain.
-Jared
-Original Message-
From: Adrian Murphy [mailto:[EMAIL PROTECTED]]
Sent: Friday, May 17, 2002 9:20 AM
To: [EMAIL PROTECTED]
Subject: [PHP] apache redirect and request
Hi,
my isp has set up
> from the cron I would call this command...
>
> wget -q -T10 http:/www.mydomain.com/myScript.php -0 /dev/null
>
> I have never had a problem with this method, although I am sure it has
> a higher overhead than compiling as a binary and directly calling php.
This method (again) is insecure in the
Why not mail it as MIME??
if that's not the case, refer to
http://www.php.net/manual/en/ref.pdf.php
- Original Message -
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, May 17, 2002 5:17 PM
Subject: [PHP] PHP & PDF
> Hi the ML
>
> I have the following question :
>
> I hav
I use http://www.squirrelmail.org/ ... Im actually currently mailing you
from it - I find it very easy, and extreemly configurable. Its open source
and developing at a rate of knotts.
Its very easy to install, although it does currently require cookies...
but Im urging them to shy away from that ;
Jared Boelens wrote:
> This is the one my company uses:
>
> http://nocc.sourceforge.net/
>
> I found it very easy to modify, and it fully supports attachments as well as
> the related RFCs.
I had problem with it, since it required imap stuff and whatnot.
Anyway, I ended up using squirrelmail a
I just wanted to thank everyone for helping me with the script for my school
project. But, of course I must esp. thank JODY, (the man!!). Go ahead
Jody, eat up the glory! :)
Renee
Here is part of the script in its final form if anyone is interested:
";
}
Hey,
Sorry for the late reply,
but i have a boss who wants everything done RIGHT NOW!
Anyway, as an example think a person uploads a .php or .exe file, I just
dont want it to run on my webserver
how can i restrict him/her?
Any ideas welcome
-Ryan.
- Original Message -
From: "Jason
David Orn Johannsson wrote:
> I'm having a problem with StrToLower function in php
>
> I'm trying to convert characters like Þ and acute letters from
> uppercase to lowercase, but it dosen't work.
>
> this is what the manual says: "Note that 'alphabetic' is determined by
> the current locale.
Hi Guys,
Special greetings to all of you who have helped me in the past.
As some of you know i just bought a PHP book called "Php Blackbook" which i
heard is really good.
Anyway, In chapter 4 it talks about credit cardsand then CyberCash
which
is owned by verisign and payflow which too
Hi,
[..]
> $user = "OMMITTED";
> $pass = "OMMITTED";
> $db = "Book Store1";
> $local = "OMMITED";
> $link = mysql_connect( "$local", $user, $pass );
[..]
You do realise, you have just pasted your database connection details to
the world?! I gonna have to write an article on how to communicat
If you want to tailor the page to the screen size (generally a bad idea in
the first place), you'd have to do that with client-side code. Otherwise,
when the user resizes their window your 'tailored' content doesn't fit
correctly anymore.
Its generally a better idea to make sure your HTML looks
> You do realise, you have just pasted your database connection details to
> the world?! I gonna have to write an article on how to communicate
> securely over the internet. (not just with PHP, but with the data you
> communicate in the messages as well!!)
Well not quite, she did post her usernam
I do a
system("html2ps SOME.html > SOME.pd");
then I do a
system("ps2pdf SOME.pd");
which gives me
SOME.pdf
Which I then read into a variable with binary option,
$fi=fopen("SOME.pdf","rb");
$binfile = fread ($fi, filesize ("SOME.pdf"));
fclose($fi);
then
$encoded_atta
naw.i tried that and all i get is the .com all the time
- Original Message -
From: "Jared Boelens" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, May 17, 2002 2:34 PM
Subject: RE: [PHP] apache redirect and request
> getenv("HTTP_HOST");
>
> Then parse the data as you need t
On Friday 17 May 2002 21:20, Josh Edwards wrote:
> Here's a sample of a weblog. I have a loop that extracts the request ie
> "Get /A1.php
> How do I get the top ten requests and how many time these were requested
> after looping thru the whole file. Can you set up an array that is self
> populati
I am using an Apache webserver w/ PHP provided by a hosting
company & I can't seem to get PHP errors logged to a file.
>From reading the docs, my understanding is that I need to set
error_log to the name of a file & set log_errors to "on" in the
php.ini file (.htaccess, in my case). Is this corr
> I have the following question :
> I have constructed several pages with PHP which look likes some reports. (I
> attached one example to my mail)
> Now I need to convert this HTML page to PDF to send it by mail .
> Does any one has an idea ?
Check out HTMLDoc. It works wonders for us.
Chris
On Fri, May 17, 2002 at 09:40:36AM +0300, Rosen wrote:
>
> // if in the input form I enter something with quotes, i.e. "TEST"
> //here the value of $text is \"TEST\" . The PHP send value to
> me with backslah.
> //
> //How can I get the real entered, i.e. "TEST" ? Where is the
> Turn magic_quotes off. Check the manual for full details.
or use stripslashes() ... rtm ;)
--
Dan Hardiker [[EMAIL PROTECTED]]
ADAM Software & Systems Engineer
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi Ryan:
> Does this mean that if i want to start accepting credit cards on my site i
> wont have to pay for a credit card merchant account?
You betcha.
--Dan
--
PHP classes that make web design easier
SQL Solution | Layout Solution | Form Solution
sqlsolution
On Fri, 17 May 2002, peter tatischev wrote:
> What is the type of array returned by child_nodes()?
> I have an XML doc parsed into a DOM structure by
> $docnode = domxml_open_file("blah")
>
> then I get root by
> $root = $docnode->document_element();
> then I get the first node
> $f_child = $ro
$_SERVER["DOCUMENT_ROOT"]
"Jason Wong" <[EMAIL PROTECTED]> schrieb im Newsbeitrag
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> On Friday 17 May 2002 20:56, [EMAIL PROTECTED] wrote:
> > Is there a variable in PHP which will show the directory of the document
> > root? I have done a few searches
I'd suggest you go for FPDF, a free PHP class for generating PDF files fast & easy.
It's pretty good for simple stuff (i.e. 99% of my work at least) and has a fast
learning curve.
www.fpdf.org
cheers,
thalis
On Fri, 17 May 2002 [EMAIL PROTECTED] wrote:
> Hi the ML
>
> I have the following
- Original Message -
From: "Analysis & Solutions" <[EMAIL PROTECTED]>
To: "PHP List" <[EMAIL PROTECTED]>
Sent: May 17 2002 07:27 AM
Subject: Re: [PHP] PHP,CyberCash,Verisign,PayFlow
> Hi Ryan:
>
> > Does this mean that if i want to start accepting credit cards on my site
i
> > wont have
You have to have an account with either one. Payflow or CyberCash is just a
card swiper on the Internet. An acquiring bank is still needed.
Sincerely,
Robert T. Covell
President / Owner
Rolet Internet Services, LLC
Web: www.rolet.com
Email: [EMAIL PROTECTED]
Phone: 816.471.1095
Fax: 816.471.34
"Jeff Lewis" <[EMAIL PROTECTED]> wrote in message
004e01c1fda3$78a91cd0$76a1a8c0@LEWISJCIT">news:004e01c1fda3$78a91cd0$76a1a8c0@LEWISJCIT...
> Currently, people can post links to images in an application I am using
but
> they can post something outrageous like 1000X800 pixels and it messes
thing
Thanks, I have a few to play with now
"Dan Hardiker" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> I use http://www.squirrelmail.org/ ... Im actually currently mailing you
> from it - I find it very easy, and extreemly configurable. Its open source
> and dev
I'm working on getting some image creation scripts done and I have one
requirement that I'm not sure how to handle. I have a base image that I can
create with no problem. The problem comes in that I want to set some text
in the exact center of the image. Is there some sort of formula I can u
Use imagettfbbox(). This function calculates the bounding box given the
font, size and actual text within which that text would fit.
-Rasmus
On Fri, 17 May 2002, Anzak Wolf wrote:
> I'm working on getting some image creation scripts done and I have one
> requirement that I'm not sure how to ha
On Fri, May 17, 2002 at 10:27:50AM -0400, Analysis & Solutions wrote:
>
> > Does this mean that if i want to start accepting credit cards on my site i
> > wont have to pay for a credit card merchant account?
>
> You betcha.
Oh, Dear! I didn't see the "wont" in there on the second line. I thoug
Hi all, Ive been searching through the archives for this and I am still none
the wiser!
Ive done a count on my database and found out I have "1234567890" stored in
a variable "$count".
How do I output "1,234,567,890" so that if I write "I have 1,234,567,890
subscribers" it looks better than "I h
See number_format()
On Fri, 17 May 2002, Randum Ian wrote:
> Hi all, Ive been searching through the archives for this and I am still none
> the wiser!
>
> Ive done a count on my database and found out I have "1234567890" stored in
> a variable "$count".
>
> How do I output "1,234,567,890" so tha
I think http://www.php.net/manual/en/function.number-format.php might
accomplish what you need.
HTH,
Dw
- Original Message -
From: "Randum Ian" <[EMAIL PROTECTED]>
To: "PHP" <[EMAIL PROTECTED]>
Sent: May 17 2002 08:44 AM
Subject: [PHP] Subscriber count from db
> Hi all, Ive been searc
***_PLEASE CC me as I am on digest_***
Anyone have a link or links to how to definitively make safe inserts to
databases with form information?
I'm thinking this has to do with add/remove slashes. BUT, I also think
that it might be a good idea to write a function that adds slashes to
all SQL wo
Is it possible to create an excel file with some data from mySQL, using PHP
?
Thanks,
Evan
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Saturday 18 May 2002 00:18, Evan wrote:
> Is it possible to create an excel file with some data from mySQL, using PHP
> ?
Yes if you know the file format for excel. If not then write your data into a
CSV file.
--
Jason Wong -> Gremlins Associates -> www.gremlins.com.hk
Open Source Software
depending on your needs you could just create a .csv file (comma seperated
text) that excel can read easily
- Original Message -
From: "Dennis Gearon" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, May 17, 2002 11:13 AM
Subject: [PHP] forms into database and visa versa
> ***_P
I guess you'd have to look around for exact specs on how Excel "marks up"
it's source (if you want formatting, bold, etc), but it's quite easy to
create a CSV (comma separated value) file which can easily be imported into
Excel, if you're happy to have no formatting.
I'm sure a quick "dig" around
You can use COM, if you're running on a Windows server. Haven't tried it
myself, right enough...
==
Richard Black
Systems Programmer, DataVisibility Ltd - http://www.datavisibility.com
Tel: 0141 435 3504
Email: [EMAIL PROTECTED]
-Original Message-
F
> > Is it possible to create an excel file with some data from mySQL, using PHP
> > ?
> Yes if you know the file format for excel. If not then write your data into a
> CSV file.
I just output the data as regular HTML (tabled, usually) but send the following
headers first:
header("Content-Disp
1 - 100 of 217 matches
Mail list logo