Jump to content


  • Posts

  • Joined

  • Last visited

Everything posted by bobeye

  1. is this something id have to contact my site hosts about?? thanks for the reply!
  2. hi folks, iv gone into my sites php files via FTP to try and edit some sections, the problem im having is that its not a readable file. This is the message im getting:<?php @Zend;4147;/* ñ!This is not a text file!Þí */print <<<EOM<html><body><a href="http://www.zend.com/store/products/zend-safeguard-suite.php"><img border="0" src="http://www.zend.com/images/store/safeguard_optimizer_img.gif" align="right"></a><center><h1>Zend Optimizer not installed</h1></center><p>This file was encoded by the <a href="http://www.zend.com/products/zend_guard">Zend Guard</a>. In order to run it, please install the <a href="http://www.zend.com/products/zend_optimizer">Zend Optimizer</a> (available without charge), version 3.0.0 or later. </p><h2>Seeing this message instead of the website you expected?</h2>This means that this webserver is not configured correctly. In order to view this website properly, please contact the website's system administrator/webmaster with the following message:<br><br><tt>The component "Zend Optimizer" is not installed on the Web Server and therefore cannot service encoded files. Please download and install the Zend Optimizer (available without charge) on the Web Server.</tt><br><br><b>Note</b>: Zend Technologies cannot resolve issues related to this message appearing on websites not belonging to <a href="http://www.zend.com">Zend Technologies</a>. <h2>What is the Zend Optimizer?</h2><p>The Zend Optimizer is one of the most popular PHP plugins for performance-improvement, and has been available without charge, since the early days of PHP 4. It improves performance by scanning PHP's intermediate code and passing it through multiple Optimization Passes to replace inefficient code patterns with more efficient code blocks. The replaced code blocks perform exactly the same operations as the original code, only faster. </p><p>In addition to improving performance, the Zend Optimizer also enables PHP to transparently load files encoded by the Zend Guard. </p><p>The Zend Optimizer is a free product available for download from <a href="http://www.zend.com">Zend Technologies</a>. Zend Technologies also developed the PHP scripting engine, known as the <a href="http://www.zend.com/products/zend_engine">Zend Engine</a>.</p></body></html>EOM;exit();__halt_compiler();?> iv downloaded zend from the site which the message states but when i open it im getting the same file view, does this mean i cannot edit this file??any help would be very much appreciated.cheers folks!
  3. i viewed the search that my page came with in filezilla, it was the most confusing thing iv ever seen, i assume i can get a php viewer so it opens in a readable/editable file?i do have dynamic section, it lets me put php into it but do i need to enter code to style it, i put code in there and created a dynamic region, but when i entered it to a page style it didnt show, but i only had the php and no other code.
  4. cheers for the relpy folks, thescientist, ShadowMage,would you know if my site already has a database? i have livesite so im not sure if i need to set one up myself.i have set up a database with MySQL via Hostmonster, but i dont know how to link it to my site??on my site the member profile and account came as a template so coud i edit within them or will i need to set new ones up?i really appreciate the help!
  5. hi folks, need some help with this, iv got this code off a website, just the php part, iv put this code into a dynamic region of my site, as told to do, but when i then add it to a page style it doesnt show.now i know im probably missing a huge part of it but i dont even know what that is.and i still need to link eack option to a certain page of my site.any help i would be very grateful! <?phpfunction countrylist($action = 'dropdown', $selectedid = null) { $country_list = array( "Afghanistan", "Albania", "Algeria", "Andorra", "Angola", "Antigua and Barbuda", "Argentina", "Armenia", "Australia", "Austria", "Azerbaijan",...and so on.... ); if ($action == 'dropdown') { foreach ($country_list as $country) { echo "<option value=\"".$country."\""; if (!empty($selectedid)) { if ($selectedid == $country) { echo " selected=\"selected\""; } } echo ">".$country."</option>\n"; } } elseif ($action == 'list') { foreach ($country_list as $country) { echo "<li>".$country."</li>\n"; } }}?>if possible id like to be able to add a secondary option field to narrow that searh results that show up on a search page, the idea is for this to search specific event pages..
  6. im having trouble figuring out how to link an potion in my dropdown search list to a page?also i got this code from a site, so im not sure how to make it search my site?if anyone could help id be extremely grateful.. <p>Seach for: <input type="text" name="find" /> in <select name="field"> <option value="fname">First Name</option> <option value="lname">Last Name</option> <option value="info">Profile</option> </select> <input type="hidden" name="searching" value="yes" /> <input type="submit" name="search" value="Search" /></p>
  7. well id like my members to even just be able to upload an avatar/photo, then maybe be able to have a friends list so they can organise events and things like that between themselves.
  8. oh yeah, sorry, haha.to be honest i really dont know much about PHP, i am fairly new to this.im using 'livesite', so i started with a template, so it was more a matter of editing everything, iv checked their site but they dont answer many questions iv posted.im not even sure where to access my php files.
  9. this is what i have right now....<div style="margin-middle:-.8em;"><form style="float: right" action="{path}pages/site-search"><inputclass="search-query" style="border:1px solid #DCDCDC; vertical-align: middle;" name="query" value=""/><input src="{path}files/search-icon.png" type="image" style="border: 1px solid #FAFAFA; vertical-align: middle;"/></form></div>
  10. would you know of anywhere i could get an example just to give me an idea of what im doing?cheers!
  11. hi, i am trying to figure out how to take a php file iv downloaded and add it to my site, it was a zip file but its just confusing me now!does anyone know waht my first steps would be to do this, i am keen to learn all this stuff but i have to admit id be lost without the help of this forum.im just not sure how to take it from a zip file to installing it into my website files, if that is what i need to do?iv attached the file im tryin to use if this helps at all.pokerleague.zip
  12. thats really apprecited, not sure if i can but ill give it a shot, gotta learn somehow right? haha
  13. well im not sure how to take my normal search bar, which is just type a word and get 100 results, and give it the dropboxes to let a user choose a section, in this case an country then city, then press search to give more specific results.
  14. hey folks,im totally confused with trying to create a search section on my home page which allows users to narrow their search by using small drop boxes, ie, <select country>, then, <select city> and so on.its a pretty big part of my site so iv been searching for a long while now trying to figure it out.anyone know how to do this?
  15. cheers for the reply, yeah it was more so just that type of functionality that i was looking for, my site member profiles are to say the least, boring so i figured, if i coule give the members something more, ie. being able to add avatars, status, add friends, that sort of thing, i use livesite.any advice would be greatly appreciated!
  16. hey folks, i was just curious, would anyone know if its even possible for me to add some sort of facebook like profile for my members? my account profile is a bit boring and id like to give users an extra reason to join up, be able to a level of participation within the site, any ideas?thanks again to everyone here, im only here a week and iv learned alot from just browsing through!
  17. cheers for the reply ShadowMage, iv tried that and now it seems to jump me to the top of the page and now not showing the info at all?
  18. hey all, im really new to this and could really do with some help, it would be hugely appreciated!i have a toggle type setup for a list of live events but i cant seem to find an easier way or cleaner way to use it, any ideas? here is the code im using at the moment, sorry in advance for the way this is done! i need the setup to have neat slide down tables of info. Code as follows: <script type="text/javascript">// <![CDATA[var Current = "Div1";function Toggle(obj) {if(Current != obj) {document.getElementById(Current).style.display = "none";document.getElementById(obj).style.display = "block";Current = obj;}}// ]]></script><p style="text-align: center;"><em><strong><span style="background-color: #ffffff;"><a href="#" onclick="Toggle('Div1'); return false;"><span style="background-color: #ffffff;">Monday</span></a> | <a href="#" onclick="Toggle('Div2'); return false;"><span style="background-color: #ffffff;">Tuesday</span></a> | <a href="#" onclick="Toggle('Div3'); return false;"><span style="background-color: #ffffff;">Wednesday</span></a>| <a href="#" onclick="Toggle('Div4'); return false;"><span style="background-color: #ffffff;">Thursday</span></a>| <a href="#" onclick="Toggle('Div5'); return false;"><span style="background-color: #ffffff;">Friday</span></a> | <a href="#" onclick="Toggle('Div6'); return false;"><span style="background-color: #ffffff;">Saturday</span></a> | <a href="#" onclick="Toggle('Div7'); return false;"><span style="background-color: #ffffff;">Sunday</span></a></span></strong></em></p><div id="Div1" style="display: none;"><table border="0" rules="all" align="center"><tbody> For some reason when i click monday it actually does nothing, but if i click tuesday, then monday the info is there??
  • Create New...