Search:
Type: Posts; User: ZorTiger
Search:
Search took 0.07 seconds.
-
setting cookies are done with: setcookie
http://us2.php.net/manual/en/function.setcookie.php
like:
setcookie("chanels", $mychanels,time()+3600); // sets a cookie chanels to expire an a hour....
-
also i noticed this:
echo "Error; mod-$value Missing" ... should be have a ;
echo "Error; mod-$value Missing";
im not perfect :P
-
:P it should be simple enough.
session_id()
will return the session ID :)
i think it will also return false on no session
-
Always, same basic script i did that i posted could be easily modified
-
if 'a' is on the _root
you mightw ant to try
_root.removeMovieClip("a");
-
Im at work, there is nothing better to do :)
The easyest way to detect another login with the same user/pass would be to compare there current session ID to the one in the database that you set at...
-
actually, i came up with it dose allow select distinct
if you search on mysql' site for SELECT Syntax
you will come up with this:
http://dev.mysql.com/doc/mysql/en/SELECT.html
SELECT
...
-
With php, you pretty much got the idea there.
There are always fancyer aways, not nessarly better though.
If you track the userid with the sessionid, and last pageview.. you have a lot of...
-
when there are more then 1 director, it is above my SQL ablitys, more over, i think its not a limit to mySQL, its a limit to PHP
so your best is to do 2 actual querys..
Iv crafted SQL thats...
-
have you tryed something like:
SELECT DISTINCT
tblCompanies.intCompanyID, tblCompanies.vchCompanyName,
tblDirectors.intDirectorID, tblDirectors.vchDirectorName,
FROM tblCompanies LEFT JOIN...
-
settinga predefined width on the table/td .. should make it autowrap.
-
Get
This will help you for your adding of channels.. and junk:
$dir = "./modules/";
$results = array();
if ($handle = @opendir($dir)) {
while (false !== ($file = readdir($handle))) {
-
and finally:
This should work.. I think it will.. it should work, it shouldnt be that far off it it is.
This will work as long as thay are in groups of 3's .. other groups will also work but it...
-
templates/default_mod.htm
NORMAL HTML:
<table width='200'>
<tr>
<td align='center'><font size='4'>{$title}</td>
</tr>
{section name=i loop=$links}
<tr>
-
Modual Sample .. named .. sample:
modules/sample.php
<?
function sample_show(){
// We like to make these compicated because ... compicated is neat!
global $modules;
$smarty = new Smarty; ...
-
index.php
// This users smarty template engine http://smarty.php.net
// This code is sniblets from my hock driven menu system.
require 'libs/Smarty.class.php';
$smarty = new Smarty;...
-
The old timed refresh in html:
<meta http-equiv="Refresh" content="10; URL=http://address">
PHP header:
header("Location: http://address");
-
..errr, iv never seen it put so compicated.
traditionally, this custom portal would be done with a database.
Im not a coldfussion person. It seems to complated, to controlled and closed for...
-
a lot of this depends on the type of server.
If you where to so have a dedicated Unix server, a lot of this is easy.
- how can i get scripts to automate the account setup on my WHM?
...
-
Im 100% sure this is impossaable with just a normal SWF file.
But with something like http://www.multidmedia.com/ software it is possable.
Its one of the things id buy if i had 250 dollars to...
-
I dont think good and free php can be used in the same setance.
Most of them that are good and free and also offer php last only a few months, or elite/select only. Meaning you have to fill out an...
-
because its a problem i have all the time my self.
I think its varryyy common.
-
try:
mysql_query("INSERT INTO news (date, body, user) VALUES ('$date','$body','$user')");
-
You mean something like this:
http://www.avataur.com/center.htm
<body>
<table width="100%" height="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
-
You might want to look at 'flat file' databases, thay would use something like a txt document.
You could use one for something like this, as it shouldnt be a ton of data - it just wont be the...
|
Click Here to Expand Forum to Full Width
|