Web Hosting Talk







View Full Version : Will pay for someone who can help me solve this issue.


certify
10-10-2001, 04:36 AM
I think it's a minor problem but I'm too new to PHP to get it corrected, and I've tried for weeks. :(

http://www.webhostingtalk.com/showthread.php?threadid=23028

Tim Greer
10-10-2001, 08:34 AM
Originally posted by certify
I think it's a minor problem but I'm too new to PHP to get it corrected, and I've tried for weeks. :(

http://www.webhostingtalk.com/showthread.php?threadid=23028

If you can clearly say what you're wanting to do and how, likely people will be able and willing to assist you and get your problem resolved, without needing to pay anyone. I'd try and help (I'm not wanting to be paid), but I'm a bit confused on what you're trying to do.

certify
10-10-2001, 09:12 AM
Here is the senario of my problems.

I'm actually utilizing vbulletin login and registration system and homelogin.php is an hack code that I use to display on the normal html or php page outside of the board. When I use SSI to parse SHTML files this script seems to work propertly when you login will display something like Welcome back certify and you are logout it will say you are not login. But this same script are unable to perform the able function when I tried to parse it from any PHP extention file. What do you think?

Below is the current homelogin.php file.

require("global.php");

if ($bbuserinfo['userid']!=0) {
$username=$bbuserinfo['username'];

echo "<font face=\"verdana\" size=\"2\">&nbsp;<b>Welcome back, <font color=\"#FF3300\">$username</font>&nbsp;!</b>&nbsp;[<a href=\"http://www.certifyexpress.com/forum/member.php?s=&action=logout\">Logout</a>]</font>";

} else {

?>

<font face="verdana" size="2">You are not login. <b><a href="http://www.certifyexpress.com/forum/pageregister.php?action=login">Login</a></b> or <b><a href="http://www.certifyexpress.com/forum/register.php">Register</a></b></font>

<?

}

?>

kunal
10-10-2001, 09:25 AM
so what you are trying to do is,

include this script in other programs?? or in the vbull program itself?? if you are trying to include it in other programs, then you will need to tag along global.php etc etc...

certify
10-10-2001, 09:38 AM
I'm very new in PHP.

The script is an independent and I'm trying to include this from my header file header.php and below is how I did it in the header.php


echo "<td width=100%><font face=verdana size=2>&nbsp;&nbsp;";
include("http://www.certifyexpress.com/forum/homelogin.php");
echo "&nbsp;&nbsp;<b>Total Registered Members : <font color=#FF3300>";
include ("http://www.certifyexpress.com/forum/registered.php");
echo "&nbsp;</b></font></font>";
echo "<br>";