Hello,
I would like to make a connection to a sybase database in PHP.
I installed freetds version 0.60 and it work fine (i can connect to a
sybase database).
Then, i compile the sybase extension (with php-devel) :
$ phpize
$ ./configure --with-php-configure=/usr/bin/php-config
--with-sybas=/usr/l
On Tue, Jan 28, 2003 at 10:44:47PM +0100, Geckodeep wrote:
>Hi Rajesh
>
>
>
>First of all I'd like to thank you for your time.
No hassles.
>
>I got the script working in a way that it feeds my DB table, but I am
>getting this error message: Warning: copy() [function.copy]: Unable to
>access in u
On Wednesday 29 January 2003 11:34, Louis Feng wrote:
> Here is my problem. I have PHP running on one machine, mysql on another
> one. Everything works fine till I put a firewall on the PHP machine,
> which blocks pretty much every port there is except port 80. Now, PHP
> can't connect to the mysql
On Wednesday 29 January 2003 09:50, Addison Ellis wrote:
> hello and thank you for taking a look at this.
> i, no matter what id do can not get variables to echo a value
> or inserted into my db. i uploaded the original file and parse error
> line by parse error line had to remove all bracket
hello,
i can not pinpoint this. your time and help is very much
appreciated. best, addison
Error:
id=, HTTP_POST_VARS=Array, key=, value=, category=, subcategory=,
[EMAIL PROTECTED]
Error in query: insert into ads values
(year,make,model,color,mileage,condition,price,other,contact,next_,,crea
Here is my problem. I have PHP running on one machine, mysql on another
one. Everything works fine till I put a firewall on the PHP machine,
which blocks pretty much every port there is except port 80. Now, PHP
can't connect to the mysql database anymore. If I disable the firewall
on the PHP ma
It turns out to be quite simple. Just play with the
PHP header() function
header("Content-Type: $application/$Format");
header("Content-Disposition: attachment;
filename=$file_name");
--- Boaz Yahav <[EMAIL PROTECTED]> wrote:
> This looks like a great example to add to weberdev.
> If you get the
hello and thank you for taking a look at this.
i, no matter what id do can not get variables to echo a value
or inserted into my db. i uploaded the original file and parse error
line by parse error line had to remove all brackets, which doesn't
make sense to me right now, except for the two enc
Hi,
If anyone else has any further ideas, please let me know - thanks.
Thanks Jim for the nuke idea, I've downloaded it & am looking through
it... very exhaustive though...
Thanks Jeff on your thoughts.
I've been thinking along very similar lines to what you suggested...
- I have a contents tab
Hi Rajesh
First of all I'd like to thank you for your time.
I got the script working in a way that it feeds my DB table, but I am
getting this error message: Warning: copy() [function.copy]: Unable to
access in upload1.php on line 28.
this is what I have in the 28th line :
if(!copy($_FILES['im
Hi Rajesh
First of all I'd like to thank you for your time.
I got the script working in a way that it feeds my DB table, but I am
getting this error message: Warning: copy() [function.copy]: Unable to
access in upload1.php on line 28.
this is what I have in the 28th line :
if(!copy($_FILES['im
I have a web site that is protected using sessions, and it works fine.
Only occasionally
when a end-user tries to log in using IE the login screen will just
reload, every time they
try to log in. I found that by closing IE (all windows) then trying again,
it will go on to the
proper page. This
> So I read this thread and the MySQL doc on mysql_insert_id() and still
> have
> a related question.
>
> Does mysql_insert_id() function on a per-connection basis? I read the
> stuff
> on last_insert_id() and it specifically mentions that the last ID is
> stored
> on the server on a per-connectio
So I read this thread and the MySQL doc on mysql_insert_id() and still have
a related question.
Does mysql_insert_id() function on a per-connection basis? I read the stuff
on last_insert_id() and it specifically mentions that the last ID is stored
on the server on a per-connection basis. However,
> I've been checking the last_insert_id() function out and I am curious. The
> MySQL docs say to use the mysql_insert_id() function after an "insert
into"
> query to grab the key value. Both seem to work; however, there are some
> subtle differences.
>
> Which is the best one to use after a single
Is it possible that the tables at school are not indexed?
berber
-Original Message-
From: Paolo Bonavoglia [mailto:[EMAIL PROTECTED]]
Sent: Saturday, January 25, 2003 7:55 PM
To: [EMAIL PROTECTED]
Subject: Re: [PHP-DB] SQL very fast here & very slow there
At 16:43 24/01/2003 24/01/2003
I think I remember something about pack and unpack working with aunti
endian, uncle endian and all the little endians.
Jason
-Original Message-
From: Robert Trembath [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, January 28, 2003 9:02 AM
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: [PHP-D
Just a shot in the dark, but be sure the socket and port settings are
correct for your setup (whatever that might be since you did not include
that info in your post) and that mysql is actually running.
Be sure to scour
http://www.mysql.com/documentation/mysql/bychapter/index.html
especially t
Has anyone done 16-bit integer conversion to decimal in PHP or know the
formula to convert the data. Below is an example of what oracle gives me
and what I need to convert it to. Any help would be greatly appreciated.
Thanks,
Robert
I get this in unsigned 16-bit Integer format:
AACBAACBAACDAA
Hi
I've been checking the last_insert_id() function out and I am curious. The
MySQL docs say to use the mysql_insert_id() function after an "insert into"
query to grab the key value. Both seem to work; however, there are some
subtle differences.
Which is the best one to use after a single insert
There are some cases where I see recursive functions as the only
option. Picture this function to retrieve data from a global array:
$data =
array(array('somedata'=>'somevalue','somedata2'=>'somevalue2'),array('somedata'=>'somevalue','somedata2'=>'somevalue2'),array('somedata'=>'somevalue','so
AFAIK "none" is put into "tmp_file" when the file upload wasn't successful.
Andrey
- Original Message -
From: "Bartosz Matosiuk" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, January 28, 2003 2:07 PM
Subject: [PHP-DB] problem with copy()
> hi
>
> can the string source
hi
can the string source in copy () looks like that: "c:\pic.jpg". If not
than how should it look like.
I'm not sure becouse script gives me "Unable to open c:\pic.jpg for
reading: No such file or directory" but the file is there.
and when i'm using $HTTP_POST_FILES['file']['tmp_name
hy,
i'm having a problem with my project
i have an oracle server on a computer named oracle and in apache htdocs files i have a
directory special for my project...
1 in that dir i have a html file named index.html
here i get the username and the password and post it to the validate.php file
Hi Jordan
Made any recent changes to your network configuration? Can you access other
IP ports OK e.g. http port 80? Do you have any firewall protection on your
PC? Can you access MySQL from the command line OK?
Rich
-Original Message-
From: JordanW [mailto:[EMAIL PROTECTED]]
Sent: 28 Jan
Mark
Not exactly sure what you're after but will array_multisort() help?
http://www.php.net/array_multisort
Rich
-Original Message-
From: Mark @ Webbiz NZ [mailto:[EMAIL PROTECTED]]
Sent: 28 January 2003 05:10
To: [EMAIL PROTECTED]
Subject: [PHP-DB] Sorting Arrays
Hello,
I don't unde
26 matches
Mail list logo