Hello
I tried with this question on php.db but still no answer and it is pretty
urgent, maybe it can go on php.install as well.
I have php 4.3.2 installed as apache 2.0.45 module on RH Linux (7.3) with
oci8 support.
Things work fine when php scripts are accessed via web, but when i try to
start t
Try this:
odbc_error
Get the last error code (PHP 4 >= 4.0.5)
string odbc_error ( [resource connection_id] )
"Veselina Jecheva" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> How can I do this - odbc_exec returns just false on error?
>
> At 16:41 6/30/03 +0200, Svensson, B.A.T. (HKG
Must be wrong path, check if it is correct path, calculate all '../' and
find is there such file on that path
"Ildiko Nyari" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
Thanks, I have the feeling it is something with the pear, but I always get
similar errors, and the pear is always
Maybe you dont have permission to open it. I think using chown could do the
trick. I have user 'www' in apache and if scripts are not owned by 'www' i
get this error like you.
If i am not correct, please someone enlighten me.
PS. My applications work ok on Unix and Linux with this trick, although
"B.A.T. Svensson" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> I want to be able to execute php by running my head into it.
>
Please B.A.T Svensson,
Although i dont speak english good, would u be kind to try to explain me
this sentence above:
"> I want to be able to execute php b
maybe session_trans_sid is set to 0 on server, and in your installation is
1. Dont rely on automatic url encoding, add session manually to url.
"Yuegong" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Hi ;
> I set a intranet App by PHP and Mysql; when i test on my NootBook it
is
Solution is adding
session_cache_limiter('private');
before session_start(); altough i dont know why :)
"Radovan Radic" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Hi guys,
>
> I have problems with Save As option from Internet Explorer. Page
Hi guys,
I have problems with Save As option from Internet Explorer. Pages are
generated by PHP, basically using include some lib scripts, header, footer
and generating contents from MySQL db.
I am using sessions, manually url rewriting, no frames.
When i click Save As from IE, and choose option "
Hi,
I am off-topic here, but are there any ways to load word document file into
php, and do something with it (convert to html, put into db etc.)
Thx,
Radovan
"Erwan Pianezza" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> http://www.web-aware.com/biff/
>
> PHP to Excel, aka BiffW
>
> You need a session_start() on every page that needs to examine/update
> $_SESSION[] ...
>
> Rich
BTW, why is autostart_session default to off in php.ini ? Does it mean it is
not good that session autostarts on every page?
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, vi
Why dont open for append
$fp=fopen("file.txt","a");
fputs($fp,"New line?");
Or i didnt understand what do u need?
"Afan Pasalic" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Hi,
> I'm working on adding a new row in text file. I use file() to transfer
file
>
I solve this by starting-up with the line (on my local computer):
mysqld-nt.exe --default-character-set=cp1251
How ppl solve this problem on the web servers?
"Veselina Jecheva" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Hello everybody,
> I'm using PHP &
You can put this line in your script:
error_reporting(E_ALL);
or some other combination
"Christoph Grottolo" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> [EMAIL PROTECTED] (Wade) wrote:
>
> >01302003 1407 CST
> >
> >How do you turn on error messages in your P
Hi
Sorry, i am not here to answer. I just wonder how this message
SSI, SHTML and PHP, INCLUDES...
got under the thread:
Re: Flow diagrams.
Does this happen to someone else?
Radovan
"Leo G. Divingracia III" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> have
AIL PROTECTED]
> Subject: [PHP-WIN] Re: Counter problems!
>
>
> I tested that and the counter does not increase when i hit
> the refresh button or press enter in the adressbar.
> It only increases when i quit the explorer and reopen the same link
> afterwards. Which is ofcourse
r press enter in the adressbar.
> It only increases when i quit the explorer and reopen the same link
> afterwards. Which is ofcourse a new visit because the session is
> distroyed when closing the browser.
>
> Jochem
>
>
> Radovan Radic wrote:
> > Yes, but what if you re
gt; > counter.php:
> > > if ( ! isset($_SESSION['count']) )
> > {
> > $fp=fopen("counter.txt","r");
> > $_SESSION['count']=fread($fp);
> > fclose($fp);
> > $_SESSION['count']++;
> > }
> > pr
Include php_mssql.dll extension
mssql_pconnect("dbhost","dbuser","dbpassword");
mssql_select_db("dbname");
This should work.
"Phplam" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Hi,
> with adodb driver which is free download, seems to be easy. I'm now
triyi
t;>Subject: [PHP-WIN] Re: Counter problems!
> >>
> >>
> >>You could check the IP adress of the visitor.
> >>If it has not changed the the visitor is the same.
> >>Last IP adress in the counter file?
> >>
> >>
> >>Jochem
> &g
Hi
I want to add simple counter on my index.php page.
counter.php:
";
?>
index.php
";
include("counter.php");
?>
This should work, but when someone refreshes index.php page, counter is
increased! How can i stop it?
Thx,
Radovan
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscri
Thanks for the answers and tips.
I think i am gonna quit this project and try to get some easier.
Maybe regular expr. could help, but some designers dont use ... but
only so i could have much problems about it.
Thanks again, i was hoping this could be easier:(
Radovan
"Radovan Radic&quo
Either noone can read this message, or noone can help about it?
Come on ppl give me some feedbacl
"Radovan Radic" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Hi all
>
> I got (i think) heavy task for my school projec
Hi all
I got (i think) heavy task for my school project. I
hope someone can help
me.
Script needs to find key words (for example: computer,
science)
It should search in url or mail
Script should find words within meta-tags (i know how
to do it) and:
In the body of html (url or email) but only if t
$fp=fopen("file.log","a+");
fputs($fp,"message...\n");
fclose($fp);
"James Meers" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
Hi,
I want to create a sort of log/text file, everytime I run a query or
something I would like to write/append it to a text file. D
select * from table where date=(select max(date) from table) and
time=(select max(time) from table)
HTH,
Radovan
"Aidal" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Hi NG.
>
> I know this is probably very simple, but I've had no luck making it work
:(
>
> I
You have to load php_mssql.dll extension.
Then in php
$dbhost="myDBHost"; // or IP address of the server
$dbusername="username";
$dbpassword="password";
$dbname="MyDatabase";
$connection=mssql_pconnect($dbhost,$dbusername,$dbpassword);
mssql_select_db($dbname);
HTH,
Radovan
"Nguyen Le Vinh" <[E
"Matt Babineau" <[EMAIL PROTECTED]> wrote in message
002c01c29f20$cf908500$1a10a8c0@webdevx">news:002c01c29f20$cf908500$1a10a8c0@webdevx...
> How can I access a mysql result array numerically?
>
> Like:
>
> $result[0][0];
> $result[1][0];
>
> I want to be able to access one whole column at a time.
because your asking for the document root, ie: the directory root.
>
> "Radovan Radic" <[EMAIL PROTECTED]> wrote in message
> [EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> > Hi
> >
> > I installed Apache 1.3.27 on w2k, after using IIS.
> > W
Hi
I installed Apache 1.3.27 on w2k, after using IIS.
When i try to output
print "Home;
it gives me A HREF="c:/inetpub/wwwroot/test/"
instead of
http://localhost/test
Why is that?
Radovan
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Thanks for the info guys
I think i will try Apache, i have been using it on Win98, i dont know how it
will be on 2000.
Radovan
"Radovan Radic" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Hi
>
> Can you tell me your experi
Hi
Can you tell me your experiences about web servers.
I need fast web server which runs on Win2000, compatible with PHP (i mean
that php works without problems) and is not IIS
Thx
Radovan
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi folks
I need to ask something about scripts&browser
First, i didnt know that script is still working even if the user closes the
browse (scripts that work long time)
My problem was that some scripts are running very long (long queries) and
even if i set set_time_limit() it wont help because bro
Answering to myself:
"Radovan Radic" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Hi
>
> I have problems with downloading files from my web application in php.
> Here is the code from download.php
>
>
Hi
I have problems with downloading files from my web application in php.
Here is the code from download.php
download.php is called from another page
I get the save as dialog box , but filename is not temp.txt but download
with no extension. I have heard this is bug in IE about content-disposit
After this procedure, i have another procedure that produces big resultset
about 900 rows, 11 cols?
In this last select if i reduce with where AgentCode=11 and get ~30 rows,
the script works ok!
PHP 4.2.3 , IIS , W2K
Radovan
"Radovan Radic" <[EMAIL PROTECTED]> wrote
Hi folks,
I get this error in the script that is loading some data from the sql server
database in the select list. (<500 rows)
The instruction at "0x77fcb007" referenced memory at '0x000".
The memory could not be "written".
Click on OK to terminate the program
Click on CANCEL to debug the pr
or if you want to us 12hour clock try this:
$todaydatetime = date("Y m d g:i");
That will translate into:
2002 11 07 6:12
[snip]
It is ok, but is there some way i do $mydate=format_date($date,Y m d
:i") - is there some function that could do it, where $date is some date,
not neccessarily tod
Thx a lot
I ll give it a try
Radovan
"Dash McElroy" <[EMAIL PROTECTED]> wrote in message
news:Pine.NEB.4.44.0211060943070.11600-10@;shell.sasquatch.com...
> www.editplus.com
>
> Works rather well. I've still yet to touch on a lot of it's capabilities.
>
> -Dash
>
> "Nuclear war can ruin your
Hi
We could use some url for this editor, pls?
Radovan
"Seung Hwan Kang" <[EMAIL PROTECTED]> wrote in message
news:20021105082844.78910.qmail@;pb1.pair.com...
> If you looking for a small size editor (about 1MB), Editplus should be ok.
> It support all syntax highlights for commonly known open-s
Hi
Is there any solution for sending fax through php?
I need to generate document ,get fax number from database and send the
document to the fax number.
There is an example on http://codeproject.com/isapi/aspfax.asp in ASP, but
it dodnt work for me, although i cant say i know much about faxing
sof
"Mark A. Nichols" <[EMAIL PROTECTED]> wrote in message
news:7A08E8036BBBAA4FBD9071B169EDC9B6843E@;mailserver01.spicergroup.com...
Your code works for me on Windows 2000 with IIS and Windows 2000 with
Apache.
>Could it be file permissions on the server.
Yes, maybe i didnt set permissions on my se
Hi
(Win2000, PHP 4.0.6 IIS)
$filename="streets.dat";
if (file_exists($filename))
{
Read From File;
Print To Html;
}
else
{
$f=fopen($filename,"w");
read from database to file;
Print To Html;
fclose($f);
}
But fopen will not create $filename, and i get an error like:
You dont have
Hello
When i have javascript code history.go(-1) and i need to go back to the php
page, i get errors page has expired.
What should i do?
Radovan
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi
I have a form and buttons insert, update, delete with input boxes.
Method is post , action $PHP_SELF (php 4.0.6+MSSQL)
When user presses insert button then i have
action=$PHP_SELF&operation=insert&name=SomeName&lname=
&SomeLName&...
After submit it all goes well and data are inserted into the
Hello!
I need to use login form when user opens my page so this is for session.
Then i need to get userno from usertable for input user and pass, because
userno is almost in all tables. Then i need to put userno in cookie (or i
guess).
I think i need to do something like this in every php script:
It's ok . I got it.
"Radovan Radic" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Hello
>
> PHP/JavaScript beginner's problem:
>
> I need to write PHP script with insert, update and delete options on it.
&
Hello
PHP/JavaScript beginner's problem:
I need to write PHP script with insert, update and delete options on it.
So i have three buttons, and action=$PHP_SELF. I have to ask user if he is
sure that he wants to delete one record. I guess i should use JavaScript.
Anyone can help me?
Thanks
Radov
> > use to you.
> >
> > Nicole Amashta
> > www.aeontrek.com
> > ==
>
> Thanks for the help,
> Another one:
> Usually, i am gonna have tables that i get from clients(dbf or whatever,
> then convert them to mysql), and then i should upload them to the web
> server.
> I could use phpM
"Nicole Amashta" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]...
> You need to find out from whoever hosts the server if mysql database
exists
> and if active for you. You will need to ask them for the correct host,
login
> and password for your database.
>
> You will then need to
Hello
I have php4 , mysql 3.23, apache and win 2000 pro on my computer, and i have
designed one simple site that uses php scripts and mysql databases.
Now i want to publish it to the web, but i dont know is there mysql on the
server, and if there is how will i connect to it?
For example, i have c
50 matches
Mail list logo