Jump to content

perfexa

Members
  • Posts

    12
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

perfexa's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. I've got no idea either its weird, i just copy and paste into dreamweaver save as php and upload then HTTP500 What do you think is the best way forward?
  2. Hi QuickOldCar Sorry i ment to say my server was never down, the server is still working fine, i've tried both codes you modified and everytime i upload and try it i get a HTTP500 error and when i replace it with the unmodified (normal) code it works fine. Any ideas
  3. servers not now, everything was working fine before i copieed all the code
  4. I've just tried it and now i'm getting a HTTP500 error
  5. Cheers, but this is where i'm falling down i think after insterting the php code how to i put this code in conjunction with the form code on yours for it to work <?php } else { ?> <form action="index.php?do=start" method="post" > <fieldset style="width: 120; height: 60; font-size: 18px;"> <legend><span class="Facekandi"><font color="#F0F0F0">Enter your Apple Facetime ID</font><font color="#0066FF">*</font></span></legend> <input type="text" name="facetimeid" class="userinput" maxlength="35" size="37" /> </fieldset> <input type="image" src="button.png" class="usersubmit" /> [code]
  6. NOTE, these are my errors Notice: Undefined index: do in /var/www/vhosts/facekandi.com/httpdocs/beta/index.php on line 10 Notice: Undefined index: do in /var/www/vhosts/facekandi.com/httpdocs/beta/index.php on line 14 Notice: Undefined index: do in /var/www/vhosts/facekandi.com/httpdocs/beta/index.php on line 36 Notice: Undefined index: do in /var/www/vhosts/facekandi.com/httpdocs/beta/index.php on line 59
  7. Hi all, please bare with me i am a newbie to this forum, i will try my best to provide all clear accurate information where possible, please find a below breakdown, i've had a little help from a user already but as am still getting problems and confused i will take his advise am post it in the right place ! 1) I have the below code and wish to ban specifc words, numbers and emails of my choice. 2) If the users enter a baned word etc either nothing will happen or it will forward them to another page. Please find attached index.php which is full working script of where i wish to add my banned words code too, also please find attached indextest.php containing the working script and code of bannng specfic words that i can't get to work. When i run indextest.php on my linux server the whole page displays perfectly but when you enter a baned or unbaned word and click submit nothing happens at all, so am very confused to where am going wrong. Any kind, helpfull guides to what i'm doing wrong would be highly appriciate as i do want to learn from my mistakes. All the best Steve [attachment deleted by admin]
  8. Im hosting my script on a Linux VPS server I do have many years experience in servers and code I've tried alsorts including your code and all it does is take me to the normal screen without banning the word!
  9. Sorry, I did try it, either am not placing it right or it's not working, I'll be honest am a rookie and just need pointing in the right direction
  10. Hi all, i'm very sorry that i've posted in the wrong catogary, when it comes to this i have honestly no idea and i even admit to say am thick :-\ Please can someone help me acheive by showing me what to put and where, it will be highly appriciated
  11. Sorry, I am a newbie to this forum so am not acustom yet, am a rookie when it comes to coding and can peice things together just but as simple as it may sound to you and others i have no idea what to do on how to resolve this or to where to put the code Sorry
  12. Hi, Please can someone help me, i am trying to add code so when a user enters a word, number or even an email address in the facetimeid textbox field thats been listed as banned by me it wont allow them to proceed Please find the below code of my page please can someone help me <?php require ('settings.php'); require('functions.php'); session_start(); if ($_GET['do']=='start') { if ($_POST['facetimeid']=='') { header("Location:".SITE_BASE); } else { include('init.php'); } } elseif ($_GET['do']=='random') { // Make sure we have a session, oth​erwise redirect to homepage if ($_SESSION['CurrentUser']=='') { header("Location:".SITE_BASE); } } ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1​.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="tr-T​R"> <head> <title>Facekandi for iPhone</title> <base href="<?php print SITE_BASE; ?>/" /> <meta name="keywords" content="facekandi, livecam,&n​bsp;webcam, facelette, facetime chat, iphone ​4g, facetime, itouch 4g, face chatroom, ​video chat, world video chat, "> <meta name="description" content="Facekandi is ​an iPhone and iPad application designed ​for randomly pairing you with people all​ over the world. Try it today to&nb​sp;chat, engage and have fun in all ​;kinds of ways. "> <link rel="stylesheet" type="text/css" href="style.c​ss" /> <meta http-equiv="Content-Type" content="text/html; ​charset=utf-8" /> <meta name="viewport" content="width=device-width" /​> <link href="http://facekandi.com/iphone/favicon.ico" rel=​"icon" type="image/x-icon" /> </head> <body> <img src="facekandi.png" alt="" width="265" hei​ght="39" /> <?php if ($_GET['do']=='start') { $ruser = getRandomUser($_POST['facetimeid']); $ruser=$ruser['UserFacetimeID']; ?> <div class="content"> Great! You can now start a Facetim​e session with <a href="external://facetime​://<?php echo $ruser; ?>"><?php echo $ruser; ?></a>! <br/> <form action="index.php?do=random" method="post" /&g​t;<input type="image" src="next.png" class="usersubm​it" /><p> </p> <p><font color="#C0C0C0">Go&n​bsp;social facekandi crazy..</font></p><!--&n​bsp;AddThis Button BEGIN --> <div class="addthis_toolbox addthis_default_style ad​dthis_32x32_style"> <a class="addthis_button_preferred_1"></a> <a class="addthis_button_preferred_2"></a> <a class="addthis_button_preferred_3"></a> <a class="addthis_button_preferred_4"></a> <a class="addthis_button_compact"></a> </div> <script type="text/javascript">var addthis_config ​;= {"data_track_clickback":true};</script> <script type="text/javascript" src="http://s7.addthis.com​/js/250/addthis_widget.js#username=facelette"></script> <!-- AddThis Button END --> <p> </p> </form> </div> <?php } elseif ($_GET['do']=='random') { $ruser = getRandomUser($_SESSION['CurrentUser']); $ruser=$ruser['UserFacetimeID']; ?> <div class="content"> Here's a random Facekandi user for ​;you: <a href="external://facetime://<?php echo $ruser; ?>"><?php echo $ruser; ?></a> <br/> <form action="index.php?do=random" method="post" /&g​t;<input type="image" src="next.png" class="usersubm​it" /><p> </p> <p><font color="#C0C0C0" si​ze="3">Share Facekandi with everyone..</font>&​lt;/p> <!-- AddThis Button BEGIN --> <div class="addthis_toolbox addthis_default_style ad​dthis_32x32_style"> <a class="addthis_button_preferred_1"></a> <a class="addthis_button_preferred_2"></a> <a class="addthis_button_preferred_3"></a> <a class="addthis_button_preferred_4"></a> <a class="addthis_button_compact"></a> </div> <script type="text/javascript">var addthis_config ​;= {"data_track_clickback":true};</script> <script type="text/javascript" src="http://s7.addthis.com​/js/250/addthis_widget.js#pubid=ra-4d8a80540dedf0f0"></script>​; <!-- AddThis Button END --> <p> </p> <p> </p> <p align="center"></p> <p align="center"> <!--Insert your Adsense code​ --> <!--Adsense code end--></font></a></p&g​t; </form> </div> <?php } else { ?> <form action="index.php?do=start" method="post" > <fieldset style="width: 120; height: 60; f​ont-size: 18px;"> <legend><span class="Facekandi"><font color="​#F0F0F0">Enter your Apple Facetime ID</font&​gt;<font color="#0066FF">*</font></span></le​gend> <input type="text" name="facetimeid" class="userinpu​t" maxlength="35" size="37" /> </fieldset> <input type="image" src="button.png" class="usersubm​it" /> <br /> <br /> <p align="left" class="smallprint"><font color​="#0066FF">*</font>Your Facetime ID is ei​ther your <b> iPhone mobile number</​b> or <b>email address</b> you ​;use for Facetime.<br /> <br/> </p> <p align="left" class="smallprint"><font color​="#FF3E3E" size="1">Once you exit the Face​kandi application your session will terminate​ from our server</font><br /> <br /> Remember: be safe and most import​antly have fun!</p> <p align="left"></p> </form> <?php } ?> </div> <!-- insert your Google Analytics here&nbs​p;--> <!-- End of Google Analytics code --&​gt; </body> </html> MOD EDIT: . . . tags added.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.