Hi , I am trying the following code but get no response from the server, can
someone tell me what I am doing wrong? thank you.
"obese bob", "age" => "20")
// );
$urlencoded = "";
while (list($key,$value) = each($vars))
$urlencoded.= urlencode($key) . "=" . urlencode($value) .
At 03:09 28.02.2003, John W. Holmes said:
[snip]
>Can anyone with Apache verify that you can pass arguments inside of a
>virtual() call? Something like:
>
>Virtual("script.pl?id=1")
>
>And have $id available within script.pl.
>
>I don't have access to an Apac
At 05:11 28.02.2003, Karl James said:
[snip]
>Hey does anyone know if you can use PHP and ASP 3.0 or I.I.S on the same
>hard drive on XP pro?
>
>I need to know for school, because I m taking classes for both languages.
[snip]---
At 05:30 28.02.2003, Justin Michael Couto said:
[snip]
>Here is my crontab entry:
>
>* * * * * /path/to/file/file_name.php
>
>I also have
>
>* * * * * /path/to/file/bash_test_script
[snip]
Did you try to run the p
Hi guys,
If I have an object that has another object as a variable (eg, a dbConn
object), then I create another object and pass this dbConn in the
constructor, if that second class sets that arg to it's own variable, is it
true in 4.3.1 that they will NOT be sharing the same object reference?
I t
I also tried the following code and get no response, can anyone tell me what
I did wrong?
set_port("8080");
#
#Set the filename of the URI you wish topost to. see also
set_action()
#ie.
#
# set_action(string ACTION)
#Returns true on success.
#$a->set_action("http://www.someh
Hello,
Please read the below query and the information that I have mentioned. This
is really weird...
select date_format(date_add(arrivaldate1, INTERVAL nights1 DAY), '%Y-
%m-%d') as dept_date1 from mytable where ('dept_date1' BETWEEN
'2003-02-01' AND '2003-02-10')
When it goes to databa
Hello,
As related to my earlier question
select date_format(date_add(arrivaldate1, INTERVAL nights1 DAY), '%Y-
%m-%d') as dept_date1 from mytable where ('dept_date1' BETWEEN
'2003-02-01' AND '2003-02-10')
The above query is valid but returns 0 because 'dept_date1' is treated as a
string. I want
Hi,
Friday, February 28, 2003, 5:39:39 PM, you wrote:
RK> Hello Tom,
RK> Thursday, February 27, 2003, 7:39:52 PM, you wrote:
TR>> Hi,
TR>> Friday, February 28, 2003, 12:20:38 PM, you wrote:
RK>>> I really need somebody to help me with this I am totally lost on what
RK>>> to do
RK>>> I need a
I found an excellent article and explanation
http://zend.com/zend/spotlight/mimocsumissions.php
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi folks,
I need to clean up the capitalisation of user-entered personal names.
Once you start thinking about it, you realise it is a non-trivial
issue, but previous discussions on the list presented only very
partial solutions.
In Perl, there are Cpan modules such as namecase and nameparse whic
on 2/27/03 10:18 AM, merlin at [EMAIL PROTECTED] wrote:
> I recently discovered the reason why the traffic is rising so high on my
> server. Some people are "stealing" bandwidth. They include
> the link of an image into a forum posting. Now everytime somebody reads this
> threat on the other site
Hi,
> $_SERVER[HTTP_REFERRER] does not help.
Not sure if you've got it that way in your code, but that might be because
it's spelt "HTTP_REFERER" - yes, it's wrong, you're right, but you have to
live with it :-)
I think you may also need to quote it like this, but I'm not sure:
$_SERVER['HTT
Hi,
Well it's hardly rocket science - a flick through the manual and I came up
with :
$name=ucwords(strtolower($name));
HTH
Danny.
- Original Message -
From: "Geoff Caplan" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, February 28, 2003 10:31 AM
Subject: [PHP] Capitalising
i'm using session on my page
basically my need is this:
certain values wil be set for every visitor
some for only certain visitors (for example: only if they fill out their
name&adress)
when the session is closed
i want the ones that have those values filled out (let's say their
name&address) sto
What about DeSilva And McSomething?
Justin
on 28/02/03 10:11 PM, Danny Shepherd ([EMAIL PROTECTED]) wrote:
> Hi,
>
> Well it's hardly rocket science - a flick through the manual and I came up
> with :
>
> $name=ucwords(strtolower($name));
>
> HTH
>
> Danny.
>
> - Original Message -
Hi Danny,
> > I need to clean up the capitalisation of user-entered personal names.
>
> Well it's hardly rocket science - a flick through the manual and I
> came up with :
> $name=ucwords(strtolower($name));
While that would work in many cases, how do you catch exceptions such as the
following?
Hi all
Is this a Bug? or a feature that i don't understand ?
This is what I do:
mytest.php :
--
$mycmsconn=mysql_connect("$dbip","$dblogin","$dbpass",false,MYSQL_CLIENT
_COMPRESS) ;
$mycmsdataquery="SELECT * FROM foo";
$mycmsdataresult = mysql_query($mycmsdataquery,$mycmsconn
Danny,
DS> Well it's hardly rocket science -
I'm afraid it's a bit more complicated than that. There are hypenated
names, names with lower-case words like de and von, Irish style names
(O'Connell), Scots style names (MacDonald, McCalman) etc etc. And
there are exceptions in most of these cases to
What is someone spells their name Desilva?
On February 28, 2003 06:21 am, Justin French wrote:
> What about DeSilva And McSomething?
>
> Justin
>
> on 28/02/03 10:11 PM, Danny Shepherd ([EMAIL PROTECTED]) wrote:
> > Hi,
> >
> > Well it's hardly rocket science - a flick through the manual and I cam
Make a perl script that does what you want and use exec to pipe to it then :)
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Scott,
SM> can you list the conditions in pseudocode where you want to change a
SM> lower-case character to an uppercase character?
This is part of the problem. There are a lot of complex rules in
different cultures with many exceptions- and I can't find them
documented anywhere. Even once you ha
Have a javascript alert like "Are you 100% sure you haven't typed your name
wrong :)"
Other option is to create name dictionary then compare..
- Original Message -
From: "Joshua Moore-Oliva" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, February 28, 2003 11:35 AM
Subject: Re:
Thanx! This is an excellent solution!
Merlin
"Daniel Kushner" <[EMAIL PROTECTED]> schrieb im Newsbeitrag
news:[EMAIL PROTECTED]
> Hi Merlin,
>
> What you are describing is named Hot Linking. A quick search on Google
gave me this:
> http://www.htmlbasix.com/disablehotlinking.shtml
>
>
> Regards,
thanx for no response.
forget it.
It was realy so simple.
> Hi, All,
>
> I would be very appreciated if you could help me to find information about
> formating excel cells (like merge cells, Autofit columns, etc.). I am
using
> excel from php like com object.
> Thanks in advance.
>
> gytis
>
>
thanks for no response.
forget it please.
"Dj Gj" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> hi, all,
>
> does anybody know:
> how to merge excel cells from php code?
> how to make excel columns "autofited" from php code?
> where to find the information about all of this kind tr
Joshua,
JMO> Make a perl script that does what you want and use exec to pipe to it then :)
This is certainly a sensible solution. But I'd have to learn enough
about Perl to do it. And I think it would be slow for large volumes of
names - exec seems to be slow in general, for some reason.
It woul
well, as a last resort if you can find the perl module that does that conver
the code to php...
it's probably just a bunch of regular expressions, and php has a perl compat
regular expressions interface..
Josh.
On February 28, 2003 07:01 am, Geoff Caplan wrote:
> Joshua,
>
> JMO> Make a perl s
> What is someone spells their name Desilva?
>
> On February 28, 2003 06:21 am, Justin French wrote:
> > What about DeSilva And McSomething?
I found another thread on this subject here:
http://www.phpbuilder.com/mail/php-general/2002102/2138.php, but i did not
read it.
Looking at all the exampl
> thanx for no response.
> forget it.
> It was realy so simple.
You're welcome. Really, it was nothing.
How about sharing the solution with the group that way you help other
people?
---John W. Holmes...
PHP Architect - A monthly magazine for PHP Professionals. Get your copy
today. http://www.p
I wrote a simple function to randomize the order of an array. In
pseudo-code, it looks like this :
def _array_rand (a) :
for i = 0 to len (a)
j = rand (len (a))
temp = a[i]
a[i] = a[j]
a[j] = temp
return(a)
Can anyone tell me if I'm missing the obvious here
> DS> Well it's hardly rocket science -
>
> I'm afraid it's a bit more complicated than that. There are hypenated
> names, names with lower-case words like de and von, Irish style names
> (O'Connell), Scots style names (MacDonald, McCalman) etc etc. And
> there are exceptions in most of these case
> At 03:09 28.02.2003, John W. Holmes said:
> [snip]
> >Can anyone with Apache verify that you can pass arguments inside of a
> >virtual() call? Something like:
> >
> >Virtual("script.pl?id=1")
> >
> >And have $id available within script.pl.
> >
> >I don't ha
> TR> Friday, February 28, 2003, 12:09:30 PM, you wrote:
> JWH>> Can anyone with Apache verify that you can pass arguments inside
of
> a
> JWH>> virtual() call? Something like:
>
> JWH>> Virtual("script.pl?id=1")
>
> JWH>> And have $id available within script.pl.
>
> JWH>> I don't have access to
Hello all,
I've installed PHP 4.1.2 to the Apache Web server,
and I wanted to control IO ports. But I always got
"error: Cannot open /dev/port: Operation not permitted "
or
"error: ioperm: Operation not permitted "
I played with the httpd.conf - ...
...
no success. I have root access.
Any
Hello,
is it possible to fetch a Website via SSL?
Greetings fom Germany
Micha
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
At 14:11 28.02.2003, Michael Temeschinko said:
[snip]
>Hello,
>is it possible to fetch a Website via SSL?
[snip]
Sure - have a look at cUrl...
--
>O Ernest E. Vogelsinger
(\)ICQ #13394035
^ ht
yes
- Original Message -
From: Karl James
To: [EMAIL PROTECTED]
Sent: Thursday, February 27, 2003 11:11 PM
Subject: [PHP] Read
Hey does anyone know if you can use PHP and ASP 3.0 or I.I.S on the same hard
drive on XP pro?
I need to know for school, because I'm tak
Hi,
Friday, February 28, 2003, 10:41:24 PM, you wrote:
>> TR> Friday, February 28, 2003, 12:09:30 PM, you wrote:
>> JWH>> Can anyone with Apache verify that you can pass arguments inside
JWH> of
>> a
>> JWH>> virtual() call? Something like:
>>
>> JWH>> Virtual("script.pl?id=1")
>>
>> JWH>> And h
I'm using this script to test passing arrays to a Session-variable.
";
echo $array2[0];
?>
method 1 doesn't work until another PHP is loaded, only then the var is
ouputted...
method 2 works fine, but i'd prefer using $_SESSION all the way instead of
session_register
any suggestions?
grace
michie
Hello all,
I've installed PHP 4.1.2 to the Apache Web server,
and I wanted to control IO ports. But I always got
"error: Cannot open /dev/port: Operation not permitted "
or
"error: ioperm: Operation not permitted "
I played with the httpd.conf - ...
...
no success. I have root access.
Any h
Try looking at this page
http://www.php.net/manual/en/function.serialize.php
Josh.
On February 28, 2003 08:22 am, Michiel van Heusden wrote:
> I'm using this script to test passing arrays to a Session-variable.
>
> session_start();
>
> // method 1
> $_SESSION['array1'] = array("item1", "item2");
Allright, we managed to get to send emails thru an SMTP, but now we need to
know which email DID get to the recipient and which didn't. Our smtp class
supports basic error message but as soon as the message is outbound from
this server, which is most oftenly the case, the class always returns
succe
John,
JWH> The best solution I see is to start building yourself some
JWH> arrays...
Looks like a sensible approach, at least for the kind of rough and
ready solution I need.
My only comment would be to make use of the placement of the words. If
the names are fielded ( first_name, middle_name, l
Hi all,
We have finally isolated the problem with bad tarballs of phpDocumentor
releases in windows. The tarball is fine. A user who was getting files
with cut off names was unzipping using PKzip, switched to Winzip and the
tarball extraction worked! Here's the complete information:
Thanks
Hi,
Does anyone know how to make the flag "sort_numeric" work?
Will it work with asort?
asort ($numeric_array, SORT_NUMERIC);
I've tried this but it looks like it's having problems with the comma in
big numbers.
I'm not absolutely sure, but it looks like it's ignoring everything
after a comma
I have the file below which I need to sort by player and then rewrite it,
this file will then be used as part of another part of my input process on
my site. A couple of things. I am able to read the file into an array using
'file', I think, but I am not able to sort it. I have tried different
vari
Hi again,
My problem was about authentication without the default popup, but with
a form that submits the credentials. I still didn't get it to work, so
I'd like to know if anyone has ever done anything like that. I just
can't get it to work right and I'd like to see a working script
thx,
Olive
is there any predefined procedure to strip http headers from a response?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi
I just have a little problem with sessions.
my code:
TEST
\n";
echo "\n";
echo "\n";
}
?>
my error msgs:
Warning: Cannot send session cookie - headers already sent by (output
started at d:\apache_docroots\internal.infomart.ca\infodesk\test.php:6) in
d:\apache_docroots\internal.infom
At 16:41 28.02.2003, Beauford.2002 spoke out and said:
[snip]
>I have the file below which I need to sort by player and then rewrite it,
>this file will then be used as part of another part of my input process on
>my site. A couple of things. I am able to rea
At 16:46 28.02.2003, Diana Castillo spoke out and said:
[snip]
>is there any predefined procedure to strip http headers from a response?
[snip]
A valid HTTP response is a MIME message comprised of two parts - the head
Maybe a script that tests the entry, and asks the user to reconfirm
nonstandard spelling and capitalization. Something like...
if ($name != ucwords($name) {
//script that suggests ucwords($name) as a possible correction
//but allows the user to confirm nonstandard capitalization scheme
//by re-en
Hi,
Saturday, March 1, 2003, 1:54:24 AM, you wrote:
PKI> Hi
PKI> I just have a little problem with sessions.
PKI> my code:
PKI>
PKI> TEST
PKI>
PKI>
PKI> session_start();
PKI> if ($submit) {
PKI> echo 'Hello '.$_SESSION['ID'];
PKI> } else {
PKI> $_SESSION['ID']=2;
PKI> echo "\n";
PKI>
Hi, list
I had certain information in a text file, which showed ok upon fopen() and parsing,
but when I put it into a MySQL database, instead of echoing directly into the browser,
the spaces in the strings collapsed, so that "One Two & Three" became "OneTwo&Three"
in the database table. When I r
Thanks everyone! it worked fine now!
-Original Message-
From: Tom Rogers [mailto:[EMAIL PROTECTED]
Sent: Friday, February 28, 2003 10:58 AM
To: Poon, Kelvin (Infomart)
Cc: '[EMAIL PROTECTED]'
Subject: Re: [PHP] Help with Sessions
Hi,
Saturday, March 1, 2003, 1:54:24 AM, you wrote:
PKI>
"K" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Hi guys,
> I would like to read the IP address from a PC that connects to my web
site.
> Any function does that in PHP?
SuperGlobal var in >= 4.1.0:
$_SERVER['REMOTE_ADDR']
Global var in < 4.1.0:
$HTTP_SERVER_VARS['REMOTE_ADDR']
S
Tried setting it to NULL and unset(com_onject).
Neither are working. I'm stumped.
On Thu, 27 Feb 2003 23:35:23 +, Rich Gray wrote:
>> When using the COM functions in PHP what is the equivalent of
>> ASPs "set object=nothing"?
>> I am using the Crystal Report objects and I cannot seem to
>>
Is it the Win IIS authentication system ??? or apache .htaccess
Daniel E Massón.
Ingeniero de desarrollo
[EMAIL PROTECTED]
Imagine S.A.
Su Aliado Efectivo en Internet
www.imagine.com.co
(57 1)2182064 - (57 1)6163218
Bogotá - Colombia
__
Hi,
I have a site that requires a user to login in for extended function. The
site uses sessions. I note that if a user configures his/her browser block
all cookies, he/she will not be able to navigate the extended part of the
site. Is there a way (PHP code if possible please) to verify if sess
Hi, all,
Are there any functions in PHP which can give us the coordinates of the cursor when we
click the mouse?
Thanks for the replys.
Minghua
I can run it from the shell prompt perfectly fine. I just won't run
from cron.
I do have the statement:
#!/usr/local/php
In the beginning of my script. Like I said it works perfect when I run
it by hand from the shell prompt. I think the reason it is not running
has to do with the cron envi
Yep, that did it. Thanks.
- Original Message -
From: "Ernest E Vogelsinger" <[EMAIL PROTECTED]>
To: "Beauford.2002" <[EMAIL PROTECTED]>
Cc: "PHP General" <[EMAIL PROTECTED]>
Sent: Friday, February 28, 2003 10:50 AM
Subject: Re: [PHP] Sorting a file
> At 16:41 28.02.2003, Beauford.2002 spo
A basic html input command using an image will enable you to send the
coordinates of the mouse to the next script.
your x,y variables will become $coordinate_x,$coordinate_y
- Original Message -
From: "Minghua Yao" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, February 28,
Hi,
I've figured out the way to solve my problem is to get rid of the commas
before I sort.
Trying to use this:
//strip the commas---
foreach ($numeric_array as $key => $value) {
if (stristr($value, ",")){
//test to see if it worked
echo("comma striped");
}
}
--
I
Hello,
I posted the other day with a problem about an problem with PHP being
accessed via Flash. I did get it working, actually the problem was what
John Nichel Suggested with the hosting company not setting up to parse php
with *.html .
Now the problem I have is that one person on a Mac told
try ereg_replace(",","",$value);
- Original Message -
From: "Jim Long" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, February 28, 2003 9:17 AM
Subject: [PHP] strip comma from $value
> Hi,
>
> I've figured out the way to solve my problem is to get rid of the commas
> before I
Shouldn't it be
#!/usr/local/bin/php
Or was it just a typo here?
- Original Message -
From: "Justin Michael Couto" <[EMAIL PROTECTED]>
To: "'Ernest E Vogelsinger'" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Friday, February 28, 2003 12:09 PM
Subject: RE: [PHP] Can't run PHP cli
perhaps you are parsing out the spaces before inserting the vars in the
database?
- Original Message -
From: "Alberto Brea" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, February 28, 2003 7:58 AM
Subject: [PHP] Spaces collapsed in database
Hi, list
I had certain information in
Hi,
Trying this:
//strip the commas from numeric array so it can sort properly---
foreach ($numeric_array as $key => $value) {
if (ereg_replace ("," , "", $value)){
echo("comma striped");
}
}
Does the same thing as before, echo's comma stripped, but does not
actually remove the commas
THAN
ereg_replace returns a string, regardless of whether or not any replacement
occured. If no replacement occurs, the original string is returned.
Additionally, it does not modify the original string, so you need to store
the string it returns:
foreach($numeric_array as $key => $value ) {
i
I hit send right as I saw a typo (the ')' in the echo statement. Should be
this:
foreach($numeric_array as $key => $value ) {
if(strstr($value,","))
{
$value = ereg_replace(",","",$value);
echo "comma stripped";
}
}
-Original Message--
Hi,
Thanks to those who are helping me.
Matt,
Same result, echo's sucess, but commas are still out put in the $numeric_array.
Jim Long
Matt Wrote:
> foreach($numeric_array as $key => $value ) {
> if(strstr($value,","))
> {
> $value = ereg_replace(",","",$value)
The path is
#!/usr/local/bin/php -q
But like I said, that can't be the problem because when I run it from
the command line, it runs fine. The only problem I am having is that it
won't run from cron. That is why I think it is an issue with the cron
environment. All other types of scripts like
I'm sorry, I missed a really big problem with what you're doing.
When you use foreach(), the value that it gives you (in your case, via the
$value variable) is not a reference to the array item, its a copy of it, so
modifying the copy doesn't modify your original array.
Use this (this should work
You might want to post some code so we can see why it is not running...
What do you get when you run the code from the commandline?
--
Ray
On Thu, 2003-02-27 at 21:30, Justin Michael Couto wrote:
> I am trying to run a PHP CLI script from cron using PHP 4.3 and FreeBSD
> 5.0
>
> This is what
Hi,
Figured it out.
I needed to reset my output array $numeric_array.
//strip the commas from numeric array so it can sort properly---
foreach($numeric_array as $key => $value ) {
if(strstr($value,","))
{
$value = ereg_replace(",","", "$value");
I have a form that has input for minutes. My problem is that I am trying
to test to see if the field is blank or not and if they enter a "0" (zero),
my test always show it as blank. I have tried !$timemb and
!is_numeric($timemb).
Thank You
Steve
--
PHP General Mailing List (http://www.php.net
> Is there a way (PHP code if possible please) to verify
> if session
> cookies are enabled in the user's browser?
On the *second* request, check if $_COOKIES['PHPSESSID'] is set.
On the initial request, PHP sends the 'PHPSESSID' cookie as part of the
response. The browser then returns that co
I am sure you have tried this, but,
Do you call the full path to php for cron.
something like:
40 * * * * /usr/local/bin/php -q /home/user/phpcliscript
Hope this helps.
At 10:10 AM 2/28/2003 -0800, you wrote:
The path is
#!/usr/local/bin/php -q
But like I said, that can't be the problem becaus
At 17:52 28.02.2003, Don spoke out and said:
[snip]
>I have a site that requires a user to login in for extended function. The
>site uses sessions. I note that if a user configures his/her browser block
>all cookies, he/she will not be able to navigate the
See isset() and empty()
-Original Message-
From: Steve Buehler [mailto:[EMAIL PROTECTED]
Sent: Friday, February 28, 2003 10:29 AM
To: PHP
Subject: [PHP] testing for < 0
I have a form that has input for minutes. My problem is that I am
trying
to test to see if the field is blank or not
Try $timeb <> ''.
Steve Buehler wrote:
I have a form that has input for minutes. My problem is that I am
trying to test to see if the field is blank or not and if they enter a
"0" (zero), my test always show it as blank. I have tried !$timemb
and !is_numeric($timemb).
Thank You
Steve
--
Th
At 19:28 28.02.2003, Steve Buehler spoke out and said:
[snip]
>I have a form that has input for minutes. My problem is that I am trying
>to test to see if the field is blank or not and if they enter a "0" (zero),
>my test always show it as blank. I have t
There we go. Thank You so much. I also found that I had another error in
my script and !is_numeric($timemb) did work after all.
Steve
At 10:41 AM 2/28/2003 -0800, you wrote:
See isset() and empty()
-Original Message-
From: Steve Buehler [mailto:[EMAIL PROTECTED]
Sent: Friday, February
> Are there any functions in PHP which can give us the coordinates of the
cursor when we click the mouse?
> Thanks for the replys.
If you use an image as your submit for your form, you can.
When that image is clicked on, you'll have
$_POST['image_x'] and $_POST['image_y'] as the coordinates wh
Hello,
We recently upgraded a development server running RH Linux 7.2 from Apache 1.3.26/PHP
4.2.3 to Apache 1.3.27/PHP 4.3.1.
A day after the upgrade, we started experiencing lost of connections to MySQL DB. The
DB server is in a remote server.
The error that I am getting is:
PHP Warning: my
hmmm
the question too is where do the variables get assigned and where is the
"form" or the query statements to the database for the info you need to
print out... maybe its something with that...
- Original Message -
From: "Stitchin'" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Frid
On Thu, 27 Feb 2003, Michael Sims wrote:
|That's actually pretty cool, from a tech standpoint, but why not
|access the MS-SQL database directly? From Windows it's easy, you just
|need the SQL .dll's installed on the server, and from Linux/Unix you
|can build PHP with FreeTDS support (--with-sybas
Hello
I use Apache/1.3.27 Server
I use to use a mysql-connection, but now the apache support is gone.
Trying to connect to my MySQL-database gives following result:
Fatal error: Call to undefined function: mysql_pconnect() in...
How do I get the MySQL-support back?
Henning (newbie)
--
PHP Genera
I'm working on a shell script in php. The script has an option to write
to standard output, or to a file. If the filehandle is opened I'd like
to redirect standard output to the file pointer. This would allow me
not to have to handle every output statement twice, once with an echo
and again with
Hi,
I have a huge potential project and I'm fairly new to PHP. I've been
managing shopping carts for years for people, Miva Merchant, doing sites,
etc., but would like to try my hand at a custom PHP cart if possible. I Was
wondering if for the project requirements below ...
a.) Any PHP ready m
Does anyone have any idea of why I may be getting this error, when my
scripts ran perfectly fine before (i don't know what). Is there some kind of
setting in my mail program that may have changed? I'm using Outlook with
Exchange Server.
Warning: Failed to Connect in d:\apache\htdocs/emailtest.php
I'm ether looking to find or build my own open source php based script, that
would allow you to include a small code chunk on every page of a site and
then view statistics from the info, on what pages were viewed, how many
times, etc...
First, if there are any you know of and want to recommend, pl
Argh, I was thinking about the problem backwards, redirect the fp to stdout
is the way to do it.
if(!$argv[1]) $argv[1] = "php://stdout";
$fp = fopen($argv[1], "w");
fputs($fp,"blah\n");
fclose($fp);
On Fri, 2003-02-28 at 15:11, Jeff Bearer wrote:
> I'm working on a shell script in php. The scri
Hey guys,
Can anyone here point me to a resource (not geozip) that can be used to calculate
the distance between two zip codes?
Thank you!
Arkady
Hi,
Any one know in a php script, if it is possible to simulate a post method?
I mean I want to header() to an url but don't like to embed the parameters
into that url.
Thanks in advance!
Alex Shi
--
==
Cell Phone Batteries at 30-50%+ off retail
Why not use sessions?
- Original Message -
From: "Alex Shi" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, February 28, 2003 3:09 PM
Subject: [PHP] Post method
> Hi,
>
> Any one know in a php script, if it is possible to simulate a post method?
> I mean I want to header() to an
Take a look here http://www.unf.edu/~hayg0001/php/pagetracker.php. I
have a script that you can use as a starting point. It is nothing fancy,
but it works. Every thing is stored in a database, where I can then
produce real time reports for the site.
~Guy Haynes
Michael Zornek wrote:
I'm ether
you should check out www.x-cart.com its sweet. another is
www.oscommerce.com
if you need something for reference, www.php.net
--
Chris Edwards
Web Application Developer
Outer Banks Internet, Inc.
252-441-6698
[EMAIL PROTECTED]
http://www.OuterBanksInternet.com
- Original Message -
Fr
1 - 100 of 146 matches
Mail list logo