-
Posts
114 -
Joined
-
Last visited
Never
Posts posted by MiCR0
-
-
get Notepad++
Open all files Search for "beads.html" replace with "beads.php" all open documents dump DB do the same upload all done?
-
why could u not change them all to php?
and as it works the web host has Blocked apache from reading and checking .html files for php content
-
Worked it out
-
I think i see what you mean now however the Table system u used on the page that is working is not the same as the beads one.
try changing it to .php see if it works then if so then your web host blocks php being in html format files
-
Do you mean it is dropping down 1 bar in the table because of the search area?
-
I look at that too all is working for me looks fine however sounds like a SESSION error on the admin login
-
<?php //Open images directory $dir = @ dir("images/icons/"); //List files in images directory while (($file = $dir->read()) !== false) { $imagelist[$i] = array('filename' => $file , 'lastModified ' => filemtime('images/icons/'.$file)); $i++; } print_r($imagelist); $dir->close(); ?>
-
I am trying to integrate PHPfree chat into my website http://www.phpfreechat.net/
I have look thought there forums and they have Pfc integrations for 6 CMS systems http://www.phpfreechat.net/forum/
but I can not work out how i would integrate it into my site
I am using Db_esession
<?php
error_reporting (E_ERROR | E_WARNING | E_PARSE);
require("db.php");
require("functions.php");
require_once('config.DB_Session.php');
require_once('class.DB_Session.php');
$sess_param['security_level'] = 200;
$sess_param['gc_maxlifetime'] = 600;
$sess = new DB_Session(&$sess_param);
$UserDetails['level']=0;
$user = $sess->getSessVar('username');
?>
When i try adding this session to PHPfree chat it just bugs anyone have any idea's?
-
echo "<a href='".$_SERVER['PHP_SELF']."?start=1'><img src='pallettown.jpg' border='0' /></a>";
-
Ajax or JS
-
I know of no CMS that will let a user do this.
I recommend doing a user Profile add on to the CMS you already have and maybe hack the code there and let them use WYSIWYG editor on that one page HTML only!
-
I do not see why u can not use them on the echo's or where you are setting the strings.
echo "<strong>".$whatever."</strong>";
-
No It won't index secure pages https://
-
sorry I read it wrong i think this is what you are looking for and btw this has nonethink to do with php
<script type="text/javascript"> <!-- //variables containing order information var orderSubTotal = '21.95'; var orderNum = 'yhst-18602524177000-5010'; window.document.write('<img src="https://secure.osisecureweb.com/mycustomerid/sale.php?amount='); window.document.write(orderSubTotal); window.document.write('&transaction='); window.document.write(orderNum); window.document.write('" style="visibility: hidden"/>'); --> </script>
-
At a guess on what you want
<?php $orderSubTotal = 32; $orderNum = 23; ?> <img src="https://secure.osisecureweb.com/mycustomerid/sale.php?amount=<?=$orderSubTotal ?>&transaction=<?=$orderNum ?>" style='visibility: hidden'/>
-
-
-
Maybe I should have posted this in the PHP Maths area if so sorry.
-
$_FILES['FIXME']['tmp_name']
I think?
-
I believe you check the output of your code and look for ½ with in a string using str_replace and if it is there replace it with
$letter = chr(171);
$letter = chr(172);
-
<?php if (!mysql_query($sql)) { echo '<p class="text">Error:' . mysql_error()."</p>"; } ?>
should be enough
-
shocked that last one works as its an UPDATE statement check this guide out http://www.w3schools.com/PHP/php_mysql_insert.asp
-
echo "<SCRIPT type=\"text/javascript\"> if (confirm(\"Sign in to Instant Messenger? (Be sure to disable pop-up blocker)\") ) { newwindow=window.open('php121/php121im.php','name','height=500,width=240,left=20,top=20,toolbar=no,menubar=no,directories=no,location=no,scrollbars=yes,status=no,resizable=yes,fullscreen=no'); if (window.focus) {newwindow.focus()}; } </SCRIPT>";
-
php in html suddenly gone - help please!
in PHP Coding Help
Posted
Just do not do what I did I found a scripted that did that when I change a big site to php and forgot to set the path ended and it up changing over 100 websites on my hard drive......