hi i was wondering if there was anyway to upload a whole directory using the
php ftp functions rather than single files ??
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Saturday 09 November 2002 14:22, Ian Newlands wrote:
> Does anyone know of a function, or a method to calculate how many bytes are
> in a string? Similar to the filesize file system function.
>
> Any help would be appreciated.
Assuming 1 character = 1 byte, then strlen().
--
PHP General Mail
Or,
"Jason Wong" <[EMAIL PROTECTED]> wrote:
> On Saturday 09 November 2002 14:22, Ian Newlands wrote:
> > Does anyone know of a function, or a method to calculate how many bytes
are
> > in a string? Similar to the filesize file system function.
> >
> > Any help would be appreciated.
>
> Assuming
"Karl James" <[EMAIL PROTECTED]> wrote:
> I have the php bible 4 book but it
> Doesnt tell you how to do things all the way
Well, I don't think there's a book that would tell you how to do things
"all the way". Besides, if there is, programming wouldn't be fun anymore ;)
Start from small things
http://www.ultimatefootballleague.com/Create_Account.htm
Im Trying to create this form so that this will give you access to login
Team action page
Where you can do the add/drops Trades and submit starters..
SO what im trying to do on this form is have the results mailed to me
in my in box and
This is I get regarding the
Email sent from my form
http://www.ultimatefootballleague.com/Create_Account.htm
-Original Message-
From: Karl James [mailto:karl.james@;verizon.net]
Sent: Friday, November 08, 2002 4:46 PM
To: [EMAIL PROTECTED]
Subject: Form posted from Microsoft Internet E
And, you can add to this
> Never trust data from the client...always filter it(I use an lib to do
that)!
> Make sure register_globals is off or code accordingly.
Make sure that you're using SSL (https).
Also, (maybe not directly related though...) if possible, separate your web
server from your
why don't you submit it to a php script (instead of using the mailto ) and get mail()
to email it to you, you could also process it and save the info somewhere.
Paul Roberts
[EMAIL PROTECTED]
- Original Message -
From: "Karl James" <[EMAIL PROTECTED]>
To: <[EMAI
Sorry about that guys, here is a bit more info that might be useful:
I forgot to tell you that I'm working on a Windows XP box with full rights,
which means the default temporary directory is C:\WINDOWS\Temp and there are
no limitations on what I can and cannot access on the system (running as
sys
Hello,
"Karl James" <[EMAIL PROTECTED]> wrote:
> http://www.ultimatefootballleague.com/Create_Account.htm
>
> Im Trying to create this form so that this will give you access to login
> Team action page
> Where you can do the add/drops Trades and submit starters..
I suggest you try something simp
On Saturday 09 November 2002 18:39, [EMAIL PROTECTED] wrote:
> Sorry about that guys, here is a bit more info that might be useful:
>
> I forgot to tell you that I'm working on a Windows XP box with full rights,
> which means the default temporary directory is C:\WINDOWS\Temp and there
> are no lim
Hello,
(B
(B"Peter" <[EMAIL PROTECTED]> wrote in message
(B[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
(B
(B...[snip]...
(B
(B> the result of echo, $tmp is displayed as '0.0002'. What's wrong here?
(BThe
(B> problem only occurs when the value is greater than a 1,000? Could the ','
(B>
Hello PHP-ppl,
please help me with an easy question.
I want to recompile my sorce-installation from tarball, because I forgot an essential
flag, the --enable-ftp flag:
./configure . --enable-ftp --other-flags
Orderly I erased the config.cache file, the make distclean
After running
.
By restarting your web server?
- E
<[EMAIL PROTECTED]> wrote:
[snip]
> How can I start up this new and recompiled version of PHP???
[/snip]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
"Stephen" <[EMAIL PROTECTED]> wrote:
> I've always had trouble doing that. Is there like a tutorial or anything
on
> how to setup PHP and MySQL?
Simple. Google for "setup PHP and MySQL".
- E
...[snip]...
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.
php-general Digest 9 Nov 2002 13:57:57 - Issue 1694
Topics (messages 123529 through 123575):
Re: RE
123529 by: Charles Wiltgen
mkdir()
123530 by: Edward Peloke
123531 by: Marco Tabini
Need MENTOR for Fantasy football project
123532 by: Karl James
123
At 07:12 09.11.2002, conbud said:
[snip]
>Hi,
>In some of my URLs I have to pass variables through the URL like
>nav.php?page=about§ion=linux - when i do this and then scan my site for
>W3C validation I get this
>Line 40, column 28:
> ... O Ernest E. Vog
PHP$B=i?4http://www.mydomain.com$B$G%;%C%7%g%s$r3+;O$7!"$=$N8e!"(B
(Bhttps://www.mydomain.com/regist.htm$B$X0\F0$7$?$H$-$K!"%;%C%7%g%s$O7QB3$5(B
$B$l$k$N$G$7$g$&$+!)(B
(B
$BJL%5!<%P!<$X0\F0$9$k$H%;%C%7%g%s$O=*N;$9$k$HJ9$-$^$7$?!#%I%a%$%sItJ,$,F1(B
$B$8$G$b(Bhttps://$B$K$J$k$3$H$G!"JL%
At 07:45 09.11.2002, Khalid El-Kary said:
[snip]
>hi,
>just use & instead
>
[snip]
Sorry, no. This would result in a quite funny variable:
$_GET = Array(
name=> khalid
amp;age => d
)
--
>O Ernest
Not really. Try it ;)
Khalid is correct.
- E
"Ernest E Vogelsinger" <[EMAIL PROTECTED]> wrote:
> At 07:45 09.11.2002, Khalid El-Kary said:
> [snip]
> >hi,
> >just use & instead
> >
> [snip]
>
> Sorry, no. This woul
Hello Edwin,
Thank you for answering my question :
>- [snip]
> How can I start up this new and recompiled version of PHP???
>[/snip]
That´s all ?? Even for a -"NOT-DSO" but CGI-Installation.???
How can I check that all things were compiled?
Hope for help.
Oliver Etzel
lowcost domains
lowc
Hello,
"Ernest E Vogelsinger" <[EMAIL PROTECTED]> wrote:
[snip]
> If this is really what the W3C validator tells you you should file a bug
> report, IMHO. Passing GET variables should be valid HTML ;-)
[/snip]
True. And & IS a valid html. In fact, changing & to & is the only
way I could pass th
Hi there,
I have just reinstalled a new PHP version, the 4.2.3.
Before I had the 4.0.6.
I now get the quotes problem in my scripts that connect to the database.
Also the phpMyAdmin gives me errors when I use the ' inside a field in a GUI
select.
Before everything was working fine.
Which paramet
Hi,
I there anyway to upload entire directory.
--
AKHIL K
200101009
Room No. 15
BH-2
IIIT
--
Look at me. My life has no meaning or direction, and I'm happy
--
PHP General Mailing List (http://www.php.net/)
To un
Hi PHP-List,
Oh sorry, more concrete for an easy question:
How can I start up this new and recompiled version of PHP which was
recompiled
-not as a DSO-
but runs PHP as a CGI-Interpreter???
How can I start this fresh and recompiled PHP as a CGI-Interpreter??
How to start and fire up?
Please he
Hi !
Could you write it in english please ?
"Rich" <[EMAIL PROTECTED]> a ecrit dans le message de news:
[EMAIL PROTECTED]
> PHP$B=i?4 $B$*CN7C$rGR
> $BNc$($P!"(Bhttp://www.mydomain.com$B$G%;%C%7%g%s$r3+;O$7!"$=$N8e!"(B
> https://www.mydomain.com/regist.htm$B$X0\F0$7$?$H$-$K!"%;%C%7%g%s$O7
Ciao Daniele,
Check this out:
http://ca.php.net/manual/en/ref.info.php#ini.magic-quotes-gpc
Also, programmatically:
http://ca.php.net/manual/en/function.set-magic-quotes-runtime.php
Hope it helps.
Marco
--
php|architect - The magazine for PHP Professionals
The first monthly wor
Well, *I think* if you've overwritten the previous files, then you'll be
able to use the new versions.
Try phpinfo() or php -v (or something) and perhaps you'll see if indeed the
new version is running.
- E
<[EMAIL PROTECTED]> wrote:
> Hello Edwin,
> Thank you for answering my question :
>
> >-
As this is the industry I am in, maybe I can offer a few hints/suggestions to
start you on your way:
start with the database
- is your user table built (how much information about the user do you need) ?
- are you validating the incoming email address (sending an email to confirm
entry) ?
> > Also the phpMyAdmin gives me errors when I use the ' inside a field in a
(BGUI
(B> > select.
(B
(BAnd since you're using 4.2.3, make sure that you've read this as well (if
(Byou haven't yet):
(B
(B http://bugs.php.net/bug.php?id=19404
(B
(B- E
(B
(B...still using 4.2.2...
(B
(B--
Hi out there,
I encountered a lot of problems while trying to convert a list
in Forum-Code (like UBB-Code).
[list]
[*] item 1
[*] item 2
[*] item 3
[/list]
should be converted to
item 1
item 2
item 3
I converted the first one to
[*] item 1
[*] item 2
[*] item 3
Now I need a Regexp for co
>> ... If this is really what the W3C validator tells you you should file a bug
> report, IMHO. Passing GET variables should be valid HTML ;-)
Usually entities start with "&" and end with ";". The "entity" §ion
doesn't end with ";" and is not defined, that's why it's not valid.
Jens
PS: Be awa
Could someone tell me why isn't this working?
$text = "And what did I tell you?";
list($one,$two,$three,$rest) = preg_split("/\s+/", $text);
print($rest);
The result would be "I" and not "I tell you?"
Why?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php
untested:
preq_replace('/\[\*\]([^(\[\*\])(<\/ul>)]*)/i','$1',$text);
Jens Lehmann wrote:
Hi out there,
I encountered a lot of problems while trying to convert a list
in Forum-Code (like UBB-Code).
[list]
[*] item 1
[*] item 2
[*] item 3
[/list]
should be converted to
item 1
item 2
item
Hi everybody!
Well this is how it goes...
For the month of January there are 31 days...
so there are 2 rows in this table on the top row there are 31 columns
showing 31 days...and in the row below this one we will have to
generatecolspan based on the below information pulled from the
Thanks...the thing that I did wrong was I retrieved the number with
FORMAT(SUM(amount), 2), which formats the number and return it in the string
format...so that's what happened during the computation (it only took the
number prior to the ','. I miss the type-checking in C. :-)
Thanks,
-Peter
"@
list throws away the other two array elements, you need
list($one,$two,$three,$rest) = preg_split("/\s+/", $text, 4);
samug wrote:
Could someone tell me why isn't this working?
$text = "And what did I tell you?";
list($one,$two,$three,$rest) = preg_split("/\s+/", $text);
print($rest);
The re
On Sunday 10 November 2002 00:58, samug wrote:
> Could someone tell me why isn't this working?
>
> $text = "And what did I tell you?";
> list($one,$two,$three,$rest) = preg_split("/\s+/", $text);
> print($rest);
>
> The result would be "I" and not "I tell you?"
> Why?
Because that is what you aske
On Thu, 7 Nov 2002 11:31:52 -0600, [EMAIL PROTECTED] (Brian Fahrlander) wrote:
OK, thanks for no help whatsoever. But I'm not bitter; I'm here to report what I
found so that the next guy with this problem isn't stuck:
The PHP docs say to change variables in /etc/php.ini (like the whole
Thanks.
But what if you don't know how many elements there will be ahead?
"Samug" <[EMAIL PROTECTED]> kirjoitti viestissä
news:20021109165530.58233.qmail@;pb1.pair.com...
> Could someone tell me why isn't this working?
>
> $text = "And what did I tell you?";
> list($one,$two,$three,$rest) = preg_s
At 15:22 09.11.2002, @ Edwin said:
[snip]
>True. And & IS a valid html. In fact, changing & to & is the only
>way I could pass the xhtml validator. So, it's not really a bug when the
>validator complains about the & sign...
[snip]-
if you use
list($one,$two,$three,$rest) = preg_split("/\s+/", $text, *4*);
you get the remaining elements in $rest as a single string
samug wrote:
Thanks.
But what if you don't know how many elements there will be ahead?
"Samug" <[EMAIL PROTECTED]> kirjoitti viestissä
[EMAIL PROTECTED]">news:[E
At 17:58 09.11.2002, samug said:
[snip]
>$text = "And what did I tell you?";
>list($one,$two,$three,$rest) = preg_split("/\s+/", $text);
>print($rest);
>
>The result would be "I" and not "I tell you?"
[snip]
Your rege
You're absolutely correct. The script works perfectly fine now, and I have
you to thank. I went back to "Handling file uploads" and re-read the entire
thing. I guess I missed the part that said the following before the actual
script example. My fault and my apologies. Thanks Jason, and thanks to a
At 18:59 09.11.2002, samug said:
[snip]
>Thanks.
>But what if you don't know how many elements there will be ahead?
>
>"Samug" <[EMAIL PROTECTED]> kirjoitti viestissä
>news:20021109165530.58233.qmail@;pb1.pair.com...
>> Could someone tell me why isn't this wo
I recently updated from 4.2.0 to 4.2.3 - since doing so values submitted
to php from HTML forms using keys - value="foo[bar]" - get truncated in
php - example: if I submit "[EMAIL PROTECTED]" it will come out as
"eight13.com" with a print_r($_POST)
I found these bug reports which say what app
How is your database organized? you might be able to pull this
information from the query by using an appropriate group-by clause.
Marco
--
php|architect - The magazine for PHP Professionals
The first monthly worldwide magazine dedicated to PHP programmers
Check us out on the web at
That's what I thought, too. But it doesn't work.
test.php:
$text = ' [*] jusfj [*] ijusnf [*] jsf [*] jusdf ';
$text = preg_replace('/\[\*\]([^(\[\*\])(<\/ul>)]*)/i','$1',$text);
$text = htmlentities($text);
Output:
jusfj ijusnf jsf jusdf
I tested some different things, which didn't work
Hi!
Well I have 12 table for 2 years which makes it 24 tables named as:
jan_2002, feb_2002 ...etc dec_2002
jan_2003, feb_2003 ...etc dec_2003
Each table has fields according to the number of days in the month plus 1
field as a unique key.
Each registration will create 1 entry in 24 tables each
I have a link exchange script and I need to rotate the ads each time a page refreshes.
How exactly can I do this?
I have an id field for each ad. How could I display a different ad each time the page
refreshes using the id field?
Thanks,
Stephen Craton
http://www.melchior.us
"Life is a gift fr
I have a link exchange script and I need to rotate the ads each time a page refreshes.
How exactly can I do this?
I have an id field for each ad. How could I display a different ad each time the page
refreshes using the id field?
Thanks,
Stephen Craton
http://www.melchior.us
"Life is a gift fr
I am using the header function what i have is this:
header("Location:
http://".$_SERVER['HTTP_HOST'].dirname($_SERVER['PHP_SELF'])."/".$relative_url
$relative_url is a php file
when i run this script with this header function in
it, i get an error saying:"Redirection limit for this
URL has excee
The file loading may be too long for PHP to recognize it or whatever. Try
shortening it in some way.
- Original Message -
From: "Donahue Ben" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, November 09, 2002 2:47 PM
Subject: [PHP] header function
> I am using the header func
you can use SQL:
SELECT id, url, image FROM tblAdds ORDER BY RAND() LIMIT 1
I think thats just about it, that should evenly show them, if you want to
bias the displying of your ads you would need to get a count of the ads in
the DB, then use some random number generated from PHP to chose which to
At 17:19 09.11.2002, Jens Lehmann said:
[snip]
>Hi out there,
>
>I encountered a lot of problems while trying to convert a list
>in Forum-Code (like UBB-Code).
>
>[list]
>[*] item 1
>[*] item 2
>[*] item 3
>[/list]
>
>should be converted to
>
>
>item 1
>item
I wonder if there is a way to get the files names in a given directory.
At 20:47 09.11.2002, Donahue Ben said:
[snip]
>I am using the header function what i have is this:
>
>header("Location:
>http://".$_SERVER['HTTP_HOST'].dirname($_SERVER['PHP_SELF'])."/".$relative_url
>
>$relative_url is a php file
>
>when i run this script wi
Try readdir()
http://www.php.net/manual/en/function.readdir.php
Marco
--
php|architect - The magazine for PHP Professionals
The first monthly worldwide magazine dedicated to PHP programmers
Check us out on the web at http://www.phparch.com
On Sat, 2002-11-09 at 15:01, Mohd_Q wrot
I updated my development-server
--> FreeBSD 4.7-REALEASE, Apache/1.3.27 (Port-Build), PHP 4.2.3
(Port-Build) ...]
After this I found
http://www.php.net/manual/en/ref.errorfunc.php#ini.docref-root
In the manual. I downloaded the manual and changed some config-item
[httpd.conf]
Alias /manual/ "/
Ouch...
well, assuming you have two columns: day_id and value, here's a possible
solution:
$rs = mysql_query ('select day_id, value from my_table order by
day_id');
$a = mysql_fetch_assoc ($rs);
do
{
$i = 1;
$control = $a['value'];
while (($a = mysql_fetch_assoc ($rs))
On Tue, 5 Nov 2002 [EMAIL PROTECTED] wrote:
> Can anybody tell me if PHP 4.3.0 will use Zend Engine 2?
Hi,
The Zend Engine 2 is likely to appear officially only in PHP 5.
However, I have released a couple of alphas with the Engine 2 bundled
against the latest CVS of PHP (i.e. almost PHP 4.3.0).
H
"Ernest E Vogelsinger" <[EMAIL PROTECTED]> wrote in message
news:5.1.1.6.2.20021108175627.00b44880@;mail.vogelsinger.at...
>
> This is clearly said in your PHP.ini file:
>
> ; Whether to enable the ability to force arguments to be passed by
reference
> ; at function call time. This method is depr
Hi all. I was wondering if there are resources on the
web that will help me get an
idea of the changes and new features that will be in
php5.
I'm particularly interested in what's gonna be added
or changed to php in regards to
its OOP capabilities.
I already love this language. I'm just lookin
Hi all. I was wondering if there are resources on the
web that will help me get an
idea of the changes and new features that will be in
php5.
I'm particularly interested in what's gonna be added
or changed to php in regards to
its OOP capabilities.
I already love this language. I'm just lookin
Try searching the list archives, particularly of PHP-DEV lists (but
hesitate asking these questions there)
--
Maxim Maletsky
[EMAIL PROTECTED]
On Sat, 9 Nov 2002 13:27:05 -0800 (PST) ed <[EMAIL PROTECTED]> wrote:
> Hi all. I was wondering if there are resources on the
> web that will help m
read the manual regarding the installation of php as cgi. There you will
find the clues. I am not very sure what exactly you meant.
--
Maxim Maletsky
[EMAIL PROTECTED]
On Sat, 9 Nov 2002 15:34:47 +0100 <[EMAIL PROTECTED]> wrote:
> Hi PHP-List,
>
> Oh sorry, more concrete for an easy question
The fastest way to do this is very simple :
store the last Id of your banner , get another from your SQL table (with
rand) and display it (repeat if the Id is the same)..
And, in your html page, add a refresh=xx to refresh the ad page.
Regards,
P.E. Baroiller
"Stephen" <[EMAIL PROTECTED]> a écrit
use opendir() , and readdir()..
you'll get a var like $file,
then check is_file($file) to see if it's a file :)
(take a look at the php doc.)
"Mohd_q" <[EMAIL PROTECTED]> a écrit dans le message de news:
[EMAIL PROTECTED]
I wonder if there is a way to get the files names in a given directory.
Is there any way to gracefully handle errors that happen after output to the
screen has begun (the point where header(Location:) doesn't work) without
using ob_ functions?
I have a separate PHP page I'd like to display with the error if one happens
using the error_handler() and trigger_error() fun
Just turn off display_errors in your php.ini file
On Sat, 9 Nov 2002, Monty wrote:
> Is there any way to gracefully handle errors that happen after output to the
> screen has begun (the point where header(Location:) doesn't work) without
> using ob_ functions?
>
> I have a separate PHP page I'd l
I think the only way to do it the way you want to do it is through
buffering (with the ob_functions or via the php.ini file). Turning off
error printing is another possibility--that way you can have the errors
logged to a file rather than to the screen.
Marco
--
php|architect - The
At 23:42 09.11.2002, Monty said:
[snip]
>Is there any way to gracefully handle errors that happen after output to the
>screen has begun (the point where header(Location:) doesn't work) without
>using ob_ functions?
>
>I have a separate PHP page I'd like to di
At 23:57 09.11.2002, Ernest E Vogelsinger said:
[snip]
>if ($we_found_an_error) {
>$url = 'http://' . $_SERVER['SERVER_NAME'] .
> '/my_error_handler.php?any_parameters_you_need';
>echo '',
> 'document.location.href="'
Ok, it's late, and my last post for today, but I need to get this right ;-)
',
'document.location.href="', $url, '">',
'',
'',
'A nasty error has occurred. If you are not redirected ',
'to the correct page, click here to',
'co
imho there are many problems with a handler of this type... since an
error could occur anywhere--in the middle of an HTML tag, or within a
block of client-side script code--you don't know for sure that the
Javascript is going to be interpreted properly by the browser...and
therefore it may look mes
Yeah, spend a milisecond looking at the manual, and you'll find
"Filesystem Functions"
Mohd_Q wrote:
I wonder if there is a way to get the files names in a given directory.
--
By-Tor.com
It's all about the Rush
http://www.by-tor.com
--
PHP General Mailing List (http://www.php.net/)
To unsu
Hey Guys,
Can anyone please point me to any URLs or give me some code which will loop
through form fields and delete the particular file which is passed from the
form. The user will click a checkbox next to each file needed deleting and
we must perform a unlink() to each file.
Thanks.
--
PHP
Well I tried that, however I was saving dynamically generated .XLS files.
Because I was using addslashes before hand it was reporting the wrong file
size.
So it was my mistake, thanks for your help!
Regards,
Ian Newlands
"Jason Wong" <[EMAIL PROTECTED]> wrote in message
news:200211091639.43919
This was exactly what I was trying to avoid. See I was porting a reporting
module to write .XLS files to a database, rather than to files. It's easier
for me to clean up old reports that way.
Anyway, thanks for your help!
Regards,
Ian Newlands
"@ Edwin" <[EMAIL PROTECTED]> wrote in message
n
I've run into a problem with an include file that I can't figure out why it's
happening.
Certain text files on my site are rather long. Originally, when these pages
loaded, the menu structure would load first, followed by the text in a box
to the right of the Menu. However, the long text fil
Alternatively, you could set php.ini to use the semi-colon (;) to seperate
arguments.
HTH
Brad
"Rasmus Lerdorf" <[EMAIL PROTECTED]> wrote in message
news:Pine.LNX.4.44.0211082246320.2586-10@;www.lerdorf.com...
> and in your php.ini file add:
>
> arg_separator.output = "&"
>
> On Sat, 9 Nov 20
hi,
did any one face a prob when session vars get mixed from a website to
another when you use the same browser window ?
_
MSN 8 with e-mail virus protection service: 2 months FREE*
http://join.msn.com/?page=features/virus
--
php-general Digest 10 Nov 2002 02:10:06 - Issue 1695
Topics (messages 123576 through 123641):
Re: W3C and PHP
123576 by: Ernest E Vogelsinger
123578 by: Ernest E Vogelsinger
123579 by: . Edwin
123581 by: . Edwin
123592 by: Jens Lehmann
123600 b
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hey,
Reconfigure php without "--enable-mbstr-enc-trans" and that will fix the
problem.
HTH!
~Paul
On Friday 08 November 2002 06:56 pm, andy wrote:
> I recently updated from 4.2.0 to 4.2.3 - since doing so values submitted
> to php from HTML forms usi
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Did you restart apache?
HTH!
~Paul
On Saturday 09 November 2002 03:14 pm, Stefan Schiller wrote:
> I updated my development-server
>
> --> FreeBSD 4.7-REALEASE, Apache/1.3.27 (Port-Build), PHP 4.2.3
> (Port-Build) ...]
>
> After this I found
>
> http:
Hi,
This is a big, complex project for a newbie, and I doubt you're going to
find anyone with the time available to give you a hand.
Can I suggest you start by learning some PHP in relation to forms, form
validation, login, sessions, etc etc.
There's a good article by Kevin Yank on sitepoint.com
Has anyone taken a look at this magazine yet (www.phparch.com)? I came
across mention of it on Slashdot earlier today and it looks interesting. I
am considering subscribing but wouldn't mind some feedback about the
overall quality of the publication beforehand.
Nick Oostveen
--
PHP General M
So experiment. That's exactly how I made my fantasy league stuff work.
Along with a few questions here when I had *specific* issues with code.
Bob
- Original Message -
From: "Karl James" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, November 08, 2002 12:33 PM
Subject: RE: [PH
Is there anyway to use fopen() to open a webpage through a non-standard
port? For example, the webpage I need must be accessed through port 2734
instead of the standard HTTP port 80, and PHP seems to ignore port
information in the URL (e.g. fopen( "http://www.domain.com:2734/..."; ); )
Thanks in a
hi,
i suggest that you use CURL, check the PHP manual
if CURL did't help you can use the lower-level PHP sockets extension
also check the PHP manual
khalid
_
STOP MORE SPAM with the new MSN 8 and get 2 months FREE*
http://join.msn.
to all;
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
hi to all;
is there any way to convert decimal numbers to fraction and fraction to decimal
format. i need to convert the inputed fractional value in the field before inserting
it to the mysql database, such us 1/2 = 0.5 .
thanx in advance.
regards,
mike
--
PHP General Mailing List (http://
Hi!
Well let's make it simple.. We can see that the following values:
211
are stored in just one row in 31 different columns.
Bsaed on this if we were to make a table with colspans how would it go..?
Thank you
Dhaval
From: Marco Tabini <[EMAIL PROTECTED]
say it again?
--
Maxim Maletsky
[EMAIL PROTECTED]
On Sun, 10 Nov 2002 12:37:48 +0800 "Michael P. Carel" <[EMAIL PROTECTED]> wrote:
> to all;
>
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
You can't use fopen, but you can use fsockopen ( php.net/fsockopen ).
$fp = fsockopen ( "www.domain.com", 2734);
fputs($fp, "GET / HTTP/1.0\r\n\r\n");
while ( !feof($fp) )
echo fgets($fp, 256);
CURL is kinda overkill, sockets are overkill and
When I use set_error_handler('error_function') in my scripts, errors are
constantly being triggered that I've never seen before. If I comment the
handler function out, the errors go away. I have the error reporting set
very loosely: error_reporting (E_ERROR | E_USER_ERROR) - so not sure why it
keep
Ok I am building a site similar in purpose to elance for a client, and part
of their terms and conditions is no contact info till a bid has been
awarded. So they want all contact info that is posted to be removed on
submission of the bid, and any on site contact between buyer, and provider.
I have
Hey
Im trying to create a fucntion in an include file
function db_conn($host,$user,$pass,$dab)
{
$db = mysql_connect("$host", "$user","$pass")mysql_select_db("$dab",$db);
}
In the page ide use:
require('func.inc.php');
db_conn("$host","$user","$pass","$dab");
$result = mysql_query("select
Dhaval,
did you try the code I sent you?
Marco
On Sat, 2002-11-09 at 23:59, Dhaval Desai wrote:
> Hi!
>
>
> Well let's make it simple.. We can see that the following values:
>
> 211
> are stored in just one row in 31 different columns.
>
> Bsaed on this if we wer
Either add
global $db;
as the first line of the function or change your function call to:
$db = db_conn("$host","$user","$pass","$dab");
I assume that $host, $user, $pass and $dab actually contain some correct
values.
Marco
--
php|architect - The magazine for PHP Professionals
T
1 - 100 of 107 matches
Mail list logo