uot; then
www.mycompany.com/10/Za=1&b=2&c=3 works fine
Thanks,
Maris
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Smarty as shown above?
function create_object($id, $name){
//help needed
}
Thanks,
Maris
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Found the solution:
function create_car($params){
global $smarty;
$car = new Car("Jeep sWrangler","black");
$smarty->register_object($params[id], $car);
}
"Maris" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Hi there!
>
> I
ndex.php file.
Thanks,
Maris
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
ob_end_clean();
> ?>
>
> regards,
> m.
>
> Maris wrote:
>
> > Hi!
> >
> > Let's say my index.php consists of the following:
> >
> > PHP says Hello World"; ?>
> > HTML says Hello World
> >
> > ..some other HMTL out
Hi!
I am using:
What changes should be made to this code to skip the dialog box
asking Open, Save, Cancel and go right to the opening the MSWord file
outside the browser?
Thanks,
Maris
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Adrian, thanks for the clue!
.. but this is opening word document inside the web browser which is not
acceptable in my case :(
"Adrian" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> you could try
> header('Content-Disposition: inline; filename=test.doc');
>
>
--
PHP General
yeah, i guess you're right!
then there's no such possibility :(
"Adrian" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> oops, i thougt you wanted it opening in the browser.
> i don't think there is a way to open it directly outside the browser,
> because if this would be possible so
t of there?
Thanks, Maris
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi!
just installed latest php and apache on windows nt!
to my big surprise when i am executing test.php?abc=testvalue
where test.php =
I get empty string
can somebody say what's wrong?
Thanks, Maris
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
Let's assume that we have an html page where we plant a call
to cookie registering php script. This is done by
the following html line which is placed on that page
we would like to have cookies stats for:
...
..
http://www.cookiedomain.com/cookies/cookies.php>
..
Php cookie registering scr
Hi!
Configuration - windows XP, PHP4 (not in CGI mode), Apache
I am experiencing difficulty to add sybase_ct support into php
php is installed in C:/PHP4
in php.ini file:
extension_dir = C:/PHP4/extensions
extension=php_sybase_ct.dll
after restarting Apache it says:
"Unable to load library 'C
Hi!
Is there any possibility to get PHP page viewer's ip address..
for example
$addr=some_function_that_returns_viewer's_address()
or something like that?
Thanks,
Maris
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hmm.. but if it's not MySql .. but Sybase for instance?
What then?.. there is no such thing like LIMIT in SQL
"Joffrey Van Wageningen" <[EMAIL PROTECTED]> wrote in message
014801c1d0f2$fd59ac20$[EMAIL PROTECTED]">news:014801c1d0f2$fd59ac20$[EMAIL PROTECTED]...
> - Original Message -
>
Hi All!
I have a situation where I need to keep connection still active after php
script is done and page displayed!
I tried to use
$cx=odbc_pconnect($G_dbname, $G_dblogin, $G_dbpassw);
But unfortunately connection closes automatically when script is done!
What must I do to keep connection aliv
When connecting to database (Sybase) through ODBC it takes some time to
establish odbc connection with:
$cx=odbc_pconnect($G_dbname, $G_dblogin, $G_dbpassw);
And only after that I am able to access data through SQL Selects
The problem is that every time the script is finished this connection is
Yes I am using CGI...
So that means under Windows using Apache Server it is impossible to do that?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
thanks, I configured php under apache as a module
now connection doesn't disappear after script is done
it stays alive..
now another problem:
first time I open connection this way..
if (empty($cx)){
$cx=odbc_pconnect($G_dbname, $G_dblogin, $G_dbpassw);
}
if next time i will use the same constr
Hi!
Configuration: WinXP, the latest Apache, PHP4
The problem is that every time the script runs and the following command is
executed
$cx=odbc_pconnect($G_dbname, $G_dblogin, $G_dbpassw);
it happens very often that a new connection is created instead of reusing
the old one!
Is there any idea w
Hi!
Configuration: WinXP, the latest Apache, PHP4
The problem is that every time the script runs and the following command is
executed
$cx=odbc_pconnect($G_dbname, $G_dblogin, $G_dbpassw);
it happens very often that a new connection is created instead of reusing
the old one!
Is there any idea w
I am wondering .. why?
"Eric Coleman" <[EMAIL PROTECTED]> wrote in message
026b01c1db1c$860b2890$0201a8c0@devstation">news:026b01c1db1c$860b2890$0201a8c0@devstation...
> Why won't you just use odbc_connect ?
> ----- Original Message -
> From: "M
Hi guys!
$php_self and $php_referrer doesnt work the same in IE and Netscape
When opening a page with
IE they return for example http://localhost/directroy/index.php
but in Netscape Navigator - http://localhost/directory/
Why?
And how to solve this problem?
Thanks
--
PHP General Mailing L
22 matches
Mail list logo