I still havent found a site that shows what I need.
I dont think php.net explain how ereg works.
I only want to publish stuff from the stringvariable $text thats inside tags
looking like this
This shall be visible
or
This shall be visible too
thanks
Martin
--
PHP General Mailing List (http:/
I had this problem when I stored my images on another webserver, and linked
the images with the whole adress like http://somewhere/image.gif";>
I solved the problem by copying the images to the same webserver that views
the
page.
The last webserver was to slow to replay that it had the pictures. Ma
Yes you can store images in a mysql table. But you will have to create a new
binary database.
You can read here how it works:
http://www.phpbuilder.com/columns/florian19991014.php3
It is a easy to understand text.
/Martin
"Justin French" <[EMAIL PROTECTED]> skrev i meddelandet
[EMAIL PROTECTED]
Hi
I want to call a function logout() inside an statement:
\">logout
but this doesnt work.. how shall I do it
/M
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Ok to make it simplier, this is what I wanna do!
Logout";
function logout()
{
.
}
?>
How do I do it!!!
/M
> Hi
> I want to call a function logout() inside an statement:
>
> \">logout
>
> function logout()
> {
>
> }
> ?>
>
> but this doesnt work.. how shall I do it
> /M
>
>
--
P
it logs somone out of a session..
"Ray" <[EMAIL PROTECTED]> skrev i meddelandet
news:[EMAIL PROTECTED]
does the function logout() log someone out of a session, or does it return
the url for where they go to logout?
and what about it isn't working?
On Monday 03 March 2003 16:32, you wrote:
> Ok t
How do I get a html page into a string variable in php?
Isnt there any function working like this:
$homepage = getHtmlPage(http://www.myhomepage.com/index.html);
/Newbie
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi!
Cookies makes me go AGHH!!
Please help me with this:
I am setting a cookie like this in my loginscript:
setcookie("devProcCookie", "cookie value"."|".time(), 31536000); // Set cookie
header("Location: inside.php");
exit;
So far it works!
But when I go to the inside.php page that loo
rocCookie)){
> $tok = explode("|", $devProcCookie);
> }
> //Note this will only work if the global variables in your php.ini files
> are turned on...
> I have no idea why it can't read the index $devProcCookie in the
> Cookies Array if you figure it out thoug
Another thing!
when I look in netscape/preferences/privacy&security/cookies/view Stored
Cookies..
there is no cookie for my website.. isnt that strange?
/Martin
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Yes!!! I got it to work!
The problem was the expirationdate in the cookie:
setcookie("devProcTailorCookie", "cookie value"."|".time(), 31536000);
Now I set it like this:
setcookie("devProcTailorCookie", "cookie value"."|".time(), time()+10);
But now it doesnt work in explorer. But I would b
Is there a way to express php variables inside an echo ' '.
I want something like this to work:
echo '';
I know I can write it like this:
echo '';
But Its to hard to read the code like this.
/Martin
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net
But the problem is that Im doin it inside a while loop. So I need to
echo it.
/mj
"Niklas lampén" <[EMAIL PROTECTED]> skrev i meddelandet
025801c21c1d$55d16210$ba93c5c3@Niklas">news:025801c21c1d$55d16210$ba93c5c3@Niklas...
Shorter version would be
And this is not bad coding, it is actually fas
Thanks, that was new for me!
/mj
"Niklas lampén" <[EMAIL PROTECTED]> skrev i meddelandet
026b01c21c31$3bdab780$ba93c5c3@Niklas">news:026b01c21c31$3bdab780$ba93c5c3@Niklas...
Not true. :)
You can do it like this: (Ok, this is a for loop, but idea is the same)
mailto:[EMAIL PROTECTED]]
Sent: 25.
Thanks all for your replies!
For my code, this is the best way to view variables in echo functions
It is nice and easy to read while going through a lot of code.
/mj
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
15 matches
Mail list logo