Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  Show Posts
Pages: [1] 2 3
1  Web Design & Developement / Programming / Re: Parse error: syntax error, unexpected '{' on: February 18, 2008, 06:07:08 PM
No, I have not heard of formatting, sorry.

Considering I know very little about PHP and the fact that this is an ecommerce script.  I counted 4 left and 4 right brackets.  PhpED claims there is no bracket problem at all.

With all said above, I am still at square one with the problem still existing in the script.
2  Web Design & Developement / Programming / Re: Parse error: syntax error, unexpected '{' on: February 17, 2008, 11:18:10 PM
Ok, I changed that.  Now I'm getting this:

Parse error: syntax error, unexpected '}'
3  Web Design & Developement / Programming / Parse error: syntax error, unexpected '{' on: February 17, 2008, 10:29:17 PM
I can't seem to figure out how to fix this.

Here is the php file.

<?phpif ( (!strstr($_SERVER['PHP_SELF'],'login.php'))and(!strstr($_SERVER['PHP_SELF'],'create_account.php'))and!tep_session_is_registered('customer_id'))          {?><!-- loginbox //--><tr><td><center><TABLE WIDTH=175 BORDER=0 CELLPADDING=0 CELLSPACING=0>   <TR>      <TD COLSPAN=3><center>         <IMG SRC="images/boxes/table_signin.gif"></TD>   </TR>   <TR>   <td><?php    if (!tep_session_is_registered('customer_id')) {?>          <?php    $info_box_contents = array();    $info_box_contents[] = array('text'  => BOX_HEADING_LOGIN_BOX);       // new infoBoxHeading($info_box_contents, false, false);$loginboxcontent = tep_draw_form('login', tep_href_link(FILENAME_LOGIN, 'action=process', 'SSL'))                                                                  . BOX_LOGINBOX_EMAIL                                                                  . tep_draw_input_field('email_address', '', 'size="10" maxlength="100" style="width: ' . (BOX_WIDTH-30) . 'px"')                                                                 .'<br><br>'                                                                 . BOX_LOGINBOX_PASSWORD                                                                 . tep_draw_password_field('password', '', 'size="10" maxlength="40" style="width: ' . (BOX_WIDTH-30) . 'px"')                                                                 .'<a href="'                                                                 . tep_href_link(FILENAME_PASSWORD_FORGOTTEN, '', 'SSL')                                                                 . '">'                                                                 . BOX_LOGINBOX_FORGOT_PASSWORD                                                                 . '</a>'                                                                 . tep_image_submit('button_login.gif', IMAGE_BUTTON_LOGIN)                                                                 . '</form><br><br>'                                                                 .  BOX_LOGINBOX_TEXT_NEW                                                                 . '<a href="'                                                                 . tep_href_link(FILENAME_CREATE_ACCOUNT, '', 'SSL')                                                                 . '">'                                                                 . BOX_LOGINBOX_NEW                                                                 . '</a>'                                                                 ; $info_box_contents = array();    $info_box_contents[] = array('align' => 'center',                                 'text'  => $loginboxcontent);    new infoBox($info_box_contents);?>          </TD>   </TR>   <TR>      <TD COLSPAN=3>         </TD>   </TR></TABLE></td></tr><?php  } else {  // If you want to display anything when the user IS logged in, put it  // in here...  Possibly a "You are logged in as :" box or something.  }?><!-- loginbox_eof //--><?php// WebMakers.com Added: My Account Info Box} else {  if (tep_session_is_registered('customer_id')) {?><!-- my_account_info //-->          <tr><td><center><TABLE WIDTH=175 BORDER=0 CELLPADDING=0 CELLSPACING=0>   <TR>      <TD COLSPAN=3><center>         <IMG SRC="images/boxes/table_myaccount.gif"></TD>   </TR>   <TR>   <td><?php  $info_box_contents = array();  $info_box_contents[] = array('align' => 'left',                               'text'  => BOX_HEADING_LOGIN_BOX_MY_ACCOUNT); // new infoBoxHeading($info_box_contents, false, false);  $info_box_contents = array();  $info_box_contents[] = array('align' => 'left',                               'text'  =>                                          '<a href="' . tep_href_link(FILENAME_ACCOUNT, '', 'SSL') . '">' . LOGIN_BOX_MY_ACCOUNT . '</a><br>' .                                          '<a href="' . tep_href_link(FILENAME_ACCOUNT_EDIT, '', 'SSL') . '">' . LOGIN_BOX_ACCOUNT_EDIT . '</a><br>' .                                          '<a href="' . tep_href_link(FILENAME_ACCOUNT_HISTORY, '', 'SSL') . '">' . LOGIN_BOX_ACCOUNT_HISTORY . '</a><br>' .                                          '<a href="' . tep_href_link(FILENAME_ADDRESS_BOOK, '', 'SSL') . '">' . LOGIN_BOX_ADDRESS_BOOK . '</a><br>' .                                          '<a href="' . tep_href_link(FILENAME_ACCOUNT_NOTIFICATIONS, '', 'NONSSL') . '">' . LOGIN_BOX_PRODUCT_NOTIFICATIONS . '</a><br>' .                                          '<a href="' . tep_href_link(FILENAME_LOGOFF, '', 'NONSSL') . '">' . LOGIN_BOX_LOGOFF . '</a>');  new infoBox($info_box_contents);?>           </TD>   </TR>   <TR>      <TD COLSPAN=3>         </TD>   </TR></TABLE></td></tr><!-- my_account_info_eof //--><?php  }}?>


Can anyone please help.

Thank you,

Josh R.
4  Web Design & Developement / Web Design / HTML / Re: Sub Domains on: February 14, 2008, 02:24:41 PM
Ok, I fixed it.  I had the sub domian its own ip address.  After I switched it back to the original one it worked fine.

Thanks for your help.


Josh R.
5  Web Design & Developement / Web Design / HTML / Re: Sub Domains on: February 14, 2008, 02:08:17 PM
These are the sub domain setup options I have.  Maybe I did something wrong here.
The only other option is under the DNS settings for changing the IP Address.


FTP user:  Use the FTP user account of the main domain  YES
 
Create a separate FTP user account for this subdomain  "NO"

FTP Login (Domain Name) *  N/A
Old password None N/A
Password  N/A
Confirm Password  N/A
Hard disk quota N/A

Apache ASP support :  YES
SSI support :  YES
PHP support : YES
CGI support : YES
Perl support : YES
Python support : YES
FastCGI support : YES


6  Web Design & Developement / Web Design / HTML / Re: Sub Domains on: February 14, 2008, 01:52:32 PM
Yeah, I just now tried that.  I might be getting somewhere.  However...now I am getting this message:

Server Default page

Future site of 72.172.134.149

To update your index page modify the file /httpdocs/index.html

I added a sample index page but it doesn't show up.  I keep getting the "Future Site" page.

Thats better then getting the main domain page I guess.
7  Web Design & Developement / Web Design / HTML / Re: Sub Domains on: February 14, 2008, 01:31:31 PM
Yeah, that part is correct. But I still get redirected to the main domain.  I even tried uploading a sample template on the sub domain and cant get to it either.  I figured it was a permissions problem but that didn't fix it either.
Pretty much, I cant get to anything thats on the sub domain.
8  Web Design & Developement / Web Design / HTML / Re: Sub Domains on: February 14, 2008, 01:20:13 PM
Its paid hosting. I have the top level domain http://www.inetdownloads.com 
What I would like to do is create several sub domains, such as "store1.inetdownlods.com".......
9  Web Design & Developement / Web Design / HTML / Sub Domains on: February 14, 2008, 12:26:30 PM
Can anyone help me please.
I have created a sub domain on my server and uploaded OSC software to it.  The problem is, when ever I try and get to the sub domain in my browser I keep getting my main domain page. In the subdomain, all of the root files are there including the httpdocs folder.  Please help......


Thank you,

Josh R.
10  Web Design & Developement / Programming / Re: Help with link codes on: January 05, 2008, 03:10:08 AM
Ok great !

Thanks for the help Andy !

Josh
11  Web Design & Developement / Programming / Help with link codes on: January 04, 2008, 01:56:31 PM
Hello all.
I have a question about affiliate link codes.
is it possible to alter a text link code and make it a direct link that includes the PID and the AID?

Heres what I tried. I took this code:

<a href="http://www.jdoqocy.com/click-27882-59004" target="_top" onmouseover="window.status='http://fractionprice.com/index.cfm';return true;" onmouseout="window.status=' ';return true;">75% Off Handbags - <b>Buy 2 Get 1 Set of Earrings FREE!</b></a>
<img src="http://www.lduhtrp.net/image-2788211-5900459" width="1" height="1" border="0"/>


And turned it into just this:

http://www.jdoqocy.com/click-27882-59004

My question is, will I still get the referral credit if I'm not using the entire code?
I've emailed the affilaite website several times in the last 3 weeks and cant get an answer from them.

Thank you !!

Josh R.
12  Market Place / Site Promotion / Looking better !! on: November 12, 2007, 10:39:32 PM
With the help of a lot of T35 members my site is looking a lot better !!
In the next week or so I should have a top level domain through Microsoft !
Anyways, I'm open for suggestions (ridicule to, seeing that it might be unavoidable)
I would like to also thank everyone for their help.

http://topsoftwaredownloads.t35.com

Josh R.
13  General / Website Reviews / Re: New Website ! on: November 09, 2007, 09:14:10 PM
From what I'm hearing its not good to have your affiliate link show in the address bar.
14  Web Design & Developement / Programming / Re: PHP Redirects on: November 09, 2007, 07:46:19 PM
Ok, it still doesn't work but here is what I have done so far.

This is the php file:

<?
$linkid = $_GET['linkid'];
if ($linkid == "") {$link = "http://www.topsoftwaredownloads.t35.com";}
if ($linkid == 1") {$link = "http://sitet35.antispywre.hop.clickbank.net?aid=615&tid=-1&mode=download&pp=3";}
header("Location: $link");
exit();
?>


And this is what I have in the html body:

<a href="http:/www.topsoftwaredownloads.t35.com/redirect.php?linkid=1">


When I click on it I get the 404 file not found page.
15  Web Design & Developement / Programming / Re: PHP Redirects on: November 09, 2007, 03:49:48 PM
Sorry, the code I pasted in there is an un altered example of how to redirect, I just havent changed it yet.
Pages: [1] 2 3
Powered by SMF | SMF © 2006-2008, Simple Machines LLC