Sidenote:
You can also do:
$dir = "folder/of/include/files";
$files = opendir($dir);
while ($file = readdir($file)):
if (substr($file,-4) == '.php'):
include_once($dir.'/'.$file);
endif;
endwhile;
but I wouldn't recommend it. :P
Mike
John Comerford skrev:
Yes, what you have descr
Is this what you mean?
www.server.com/index.php?pageid=123
becomes
www.server.com/index.php/123
It's actually the other way around. When the user browses to
/index.php/123, the webserver translates that into /index.php?pageid=123 ...
If it's an Apache server, it's done in a .htaccess file loca
Yes, what you have described should work fine..
sam rumaizan wrote:
1- I have 50 php pages.
2- I want to include all 50 php pages in my main page.
include("1.php"); .. include("50.php");
My question is:
can I put all of the include php pages in one php page and sa
1- I have 50 php pages.
2- I want to include all 50 php pages in my main page.
include("1.php"); .. include("50.php");
My question is:
can I put all of the include php pages in one php page and save it as
includepages.php then include this php page to my main page
includ
Not sure if i understand properly... you don't want to use the include
() function or you don't want to have the code of script B in script A?
If it is the later you can use include("path/to/scriptB.php"); or
require("path/to/scriptB.php");
you can also use include_once() and require_once()
Please tell me how I call one PHP script from another?
On successful completion of script A I need to call script B without
including it as part of script A.
--
Regards,
Alf Stocktonwww.stockton.co.za
Be cheerful while you are alive.
-- Phathotep, 24th Century B.C.
- Original Message -
From: gunawan
To: php-windows@lists.php.net
Sent: Thursday, April 12, 2007 8:17 AM
Subject: change ? into 'slash'
if the title is not right.. plz reply to me with the right title.
i see on mambo site where the site manage to change ? into /
how to make that? are
Press Release to Blog Publishers
Lyro.com Launches Business Card 2.0
New digital business card directory helps users brand themselves
Release date: March 29, 2007
Minneapolis, MN - We're introducing Lyro - the business card 2.0. You
are part of a select group of blog owner/publishers that we are
How can I run java with PHP?
Any example please
You could look here:
http://www.zend.com/products/zend_platform/features_comparison/java_bridge
or here:
http://php-java-bridge.sourceforge.net/pjb/
--
Stanislav Malyshev, Zend Products Engineer
[EMAIL PROTECTED] http://www.zend.com/
--
PHP Wi
As a side note, there are a lot of companies/organizations that
completely block cookies at the firewall level. As a result, the
cookie never makes it to the web browser. If relying strictly on
cookies for authentication, on every page, the user must
re-authenticate.
Jody
--
PHP Windows Mailin
How can I run java with PHP?
Any example please
-
Don't pick lemons.
See all the new 2007 cars at Yahoo! Autos.
You keep repeating what I've already said. That's what the *sigh* was about.
But, I was hasty in sighing as you're right in how important it is to
clarify to the absolute limit on this subject. Sorry about that!
Far to many programmers are completely oblivious when it comes to
hacking methods.
A
Mikael Grön wrote:
As I said.
Cookies being completely insecure is as valid as Cookies not being as
secure as Sessions.
Sessions are more secure than cookies, but only in so far as the actual
data stored in a session is never sent to the client.
... *sighs*
I'm not sure what that's suppo
As I said.
Cookies being completely insecure is as valid as Cookies not being as
secure as Sessions.
... *sighs*
Though, there are ways to make cookies more secure, for example by
storing copies of them with timestamps in a database and matching values
before allowing users to pass... But th
Mikael Grön wrote:
You can, only it's not as secure. It's easier to edit cookies since
they're not stored on the server. Also cookies don't disappear when you
close the browser, which is standard on other pages with login systems.
Your users will expect to be logged out when closing the browser
You can, only it's not as secure. It's easier to edit cookies since
they're not stored on the server. Also cookies don't disappear when you
close the browser, which is standard on other pages with login systems.
Your users will expect to be logged out when closing the browser.
Mike
sam rumaiz
It is a general question.
Why can't I use cookie instead?
Mikael Grön <[EMAIL PROTECTED]> wrote:
Are you asking someone specifically, or is this a general question?
Here's an example of when sessions are useful:
You have a login area on your website on which users who have registered
can l
17 matches
Mail list logo