... Coding Help• Php image upload help requiredI'm new enough to php coding and I'm trying to build a basic php driven template site from which I can take code snippets for other projects/sites. This template site will have all of the most basic dynamic functions including: * Membership * Login * Profile Update * Add, Delete, Update Product * Show items from database * etc.. I've managed most of this already but 1 small thing has got the better of me - image upload. I wish to include an image upload field in both my existing signup and profile update forms which grabs an image off the pc and stores it in the database then shows it in the profile. Anybody any ideas or code snippets - I specifically need a form with image upload included and not just an image upload script as I wouldn't know how to add that to my form? Source: IrishWebMasterForums |
pub: 17 Apr 2008 by: reverbstudios |
added: 17 Apr 2008 |
cat: Coding Help |
views: 25 time/s
• Blue Dragon Server - free cold fusionI really wasn't sure where to put this - sorry if I got it wrong. I was playing with this last night, and it looks interesting. Has anybody tried it? If I was to invest time in it, would I be able to deploy my cold fusion apps to a regular cold fusion host without problems? I'm also wondering what extra value I would be getting from Adobe if I forked over for their software (they've already fleeced me for CS3 Web premium). Are their any people on with PHP and coldfusion experience? I would like to hear your thoughts. Source: IrishWebMasterForums |
pub: 17 Apr 2008 by: Spiralli |
added: 17 Apr 2008 |
cat: Coding Help |
views: 31 time/s
• * wildcard htaccess 301 redirectI'm trying to setup a redirect so that any request to any page which ends in ?page_id gets redirected to the homepage of the site. The following rule is placed within the htaccess file but it throws up an internal server error: Code: --------- RewriteRule ^?page_id=(.*)$ /http://site.something.com [L,R=301] --------- Any ideas? Source: IrishWebMasterForums |
pub: 16 Apr 2008 by: Cormac |
added: 16 Apr 2008 |
cat: Coding Help |
views: 69 time/s
• extra information for first resultNot a programmer so bear with me..... I have a results page which pulls out relevant jobs.... However I want extra information shown for the first result produced. I have managed to get the pages to publish the extra information but for all the results produced using Code: --------- Source: IrishWebMasterForums |
pub: 16 Apr 2008 by: Busarus |
added: 16 Apr 2008 |
cat: Coding Help |
views: 26 time/s
• aligning an image and H1 tag verticallyHTML: --------- {header} --------- Basically I want to have an image and then a h1 tag side by side, and I want to have the H1 aligned to the middle of the image. Am I missing something blindly obvious ? Thanks, paul Source: IrishWebMasterForums |
pub: 15 Apr 2008 by: paul |
added: 16 Apr 2008 |
cat: Coding Help |
views: 36 time/s
• Full text search returns an empty string cant understandHello, I have an sql search with data in a table which should be returned. However the I am getting an empty set back. I enclose below the SQL I am using and the table: Code: --------- SELECT poisonId, poison, latin_name, short_desc, status FROM tblpoisons WHERE MATCH (poison,latin_name,short_desc,full_desc) AGAINST ('%poison%') --------- Here is the table: Code: --------- CREATE TABLE `tblpoisons` ( `poisonId` int(11) NOT NULL auto_increment, `catId` int(11) default NULL, `poison` varchar(150) default NULL, `latin_name` varchar(150) default NULL, `short_desc` varchar(250) default NULL, `Full_desc` mediumtext, `status` tinyint(1) default NULL, PRIMARY KEY (http://java_script:void(0)) (`poisonId`), FULLTEXT KEY (http://java_script:void(0)) `searchindex` (`poison`,`latin_name`,`short_desc`,`Full_desc`)) ENGINE=MyISAM AUTO_INCREMENT=4 DEFAULT CHARSET=latin1; --------- Many thanks Source: IrishWebMasterForums |
pub: 14 Apr 2008 by: oliflorence |
added: 14 Apr 2008 |
cat: Coding Help |
views: 30 time/s
• Coding help..Hello there, How Would I Place Layout coding in a Scroll box on a page? I see it a lot when people want to share their layouts, or quick links to their pages. Can Someone please help. If you help can you please be Specific. I was told "overflow: auto" goes somewhere, But i have no clue where and what's else is to be added to it. thanks for any replies. Source: IrishWebMasterForums |
pub: 11 Apr 2008 by: shaunx |
added: 11 Apr 2008 |
cat: Coding Help |
views: 44 time/s
• Multi-Language SiteI'm about to start work on a new project of mine and i want to build in the future functionality of multiple languages. The way i have it in my head is that i would have a select field on every page with the different menu options and using AJAX, when a user changes the language on any page the new language will follow the user throughout the site until changed again. Example: The index.php page has a default of English so it loads with the en.php file which holds all site variables in English. Once the language has been changed the the session variable that was set to en.php by default will change to the new language French by putting the fr.php into the language session variable. The problem is how do i refresh the page without reloading it completely. The reason being i cant see a way that the AJAX can reload all the page variables or am i wrong. If i enclosed the whole site in a span would it refresh upon a new language being selected? Any help appreciated as always. Source: IrishWebMasterForums |
pub: 11 Apr 2008 by: ziycon |
added: 11 Apr 2008 |
cat: Coding Help |
views: 28 time/s
• MySQLI have downloaded and installed MySQL 6 for use with PHP, I have been advised to configure MySQL with no root u/n or p/w, instead, that I should locate the file "my.ini" in the MySQL directory, open it in Notepad and scroll down to the end, new line, and type "old-passwords". However, when I try to save this then (using Vista), I get the message: Cannot create the file C://Program Files/.....my.ini file. Make sure the path and the file name are correct. Can anyone help me with this? Source: IrishWebMasterForums |
pub: 07 Apr 2008 by: Eye4It |
added: 07 Apr 2008 |
cat: Coding Help |
views: 21 time/s
• 301 redirectI have the below redirect, i'm wondering is it possible for the domain name to show up and not the redirected ip when the redirect happens? Code: --------- RewriteCond %{HTTP_HOST} ^irishgamingnetwork.ie$ [OR] RewriteCond %{HTTP_HOST} ^www.irishgamingnetwork.ie$ RewriteRule ^/?$ http://0.0.0.0 [R=301,L] --------- Source: IrishWebMasterForums |
pub: 03 Apr 2008 by: ziycon |
added: 03 Apr 2008 |
cat: Coding Help |
views: 54 time/s
• PHP Google maps KML generatorHi Lads, Have had a google for this, I was just wondering was there something more basic out there? Basically I'm thinking that if you did a google maps search for dublin pubs it would be great if our locations came up? Thanks gary Source: IrishWebMasterForums |
pub: 02 Apr 2008 by: garycocs |
added: 02 Apr 2008 |
cat: Coding Help |
views: 39 time/s
• Newbie PHP questionok..im not usually this stupid :D but what exactly do I need to download on Apaches site Download - The Apache HTTP Server Project (http://httpd.apache.org/download.cgi) To be honest I think it's a very badly structured website for newbies to PHP such as myself. I just need to know which files I must download.... and I thought PHP.net was a tad bit confusing, this site takes the biscuit!! Oh, and how do I find out if my system is windows or windows x 64? Source: IrishWebMasterForums |
pub: 02 Apr 2008 by: Eye4It |
added: 02 Apr 2008 |
cat: Coding Help |
views: 45 time/s
• CSS Mistakes-CSS Articles-CSS FaqsCSS which stands for Cascading Style Sheets is a style sheet language that describes and alters certain attributes like colors, fonts, layouts and other aspects of the elements that are viewed on a web page. It is used to style web pages written in HTML and XHTML. Before getting acquainted with a particular thing, many questions come into the mind. The same thing happens with cascading style sheets also. People can get convenient answers to their queries on css-faq.com. With CSS, you will be able to write the codes regarding the appearance of your pages in a single file. You don’t have to modify over and over again. The repetition of tasks is eliminated in using this language. You can also replace tags throughout your entire page if you want to change it anytime in one file. You can edit the looks of your site just by simply modifying your separate CSS file. You need not to go through all your existing pages to change everything. You only need to touch the style codes of your style sheet file. Much effort and time is reduced with this language. You can have your pages load faster than before. It is possible since the file is not filled with long tags. Styles are defined and kept in another CSS document that can be linked and loaded only once every time somebody visits your site. Designers will be able to set font styles, font sizes and other properties just like setting them in your word processors. You can get the most accuracy you can desire. You are also not limited to just the seven font sizes set in HTML. You can do as much as layout and defining in CSS with regards to fonts and font sizes. The CSS syntax uses English words. Thus, it is very simple and easy to understand. The English keywords are used to refer to style properties of CSS. A style sheet is a set of rules. Each rule has one or more selectors and a block of declaration. You can get a lot of benefits in using cascading style sheets. There is vast information in the websites like css-faq.com. The only thing you need to do is to help yourself. For more details please visit us at CSS-FAQ (http://www.css-faq.com/) Source: IrishWebMasterForums |
pub: 28 Mar 2008 by: paul120 |
added: 28 Mar 2008 |
cat: Coding Help |
views: 30 time/s
• Global footer like adobe.com & apple.coWe are trying to create a global footer on every page of a 100 page website We want to update the global footer once a month and it a automatically updates on each of the pages similar to adobe.com & apple.com where they have a global footer What is the best way to do this, HTML, CSS, Java script? pHp include / dynamic – but we are not sure how the search engines view this thanks in advance Source: IrishWebMasterForums |
pub: 28 Mar 2008 by: garymcginty |
added: 28 Mar 2008 |
cat: Coding Help |
views: 28 time/s
• _SERVER QueryI know how to get the base url and the query string but everything i try i can't get the mod_rewrite version which is typed in the address bar, it keeps returning the .php?id=... etc one! Can anyone tell me if its even possible? Source: IrishWebMasterForums |
pub: 27 Mar 2008 by: ziycon |
added: 27 Mar 2008 |
cat: Coding Help |
views: 46 time/s
• php redirect based on browser languageHi guys, I have the following script which should redirect a user if they are using a Polish browser to a specific page. I have asked a Polish friend to test it using his Polish version of Firefox but he said he didn't work. Here is the code: PHP: --------- --------- He says he gets brought to allotherbrowsers.com/landingpage.php instead of google.pl Can anyone spot the problem? Source: IrishWebMasterForums |
pub: 26 Mar 2008 by: Cormac |
added: 26 Mar 2008 |
cat: Coding Help |
views: 49 time/s
• Xslt Xml & XhtmlOk so I am working on a project at work that involves XSLT. I struggling through it here as I have very little knowledge on it. I would like to know of any good resources for learning this technology or any good books one can recommend. I hate books that talk on a very technical level. Rather ones that explain in simplistic terms, what it does, what I can achieve and where its best applied. I know of a CMS called Symphony that uses this technology in its templating system, but I am unsure why its so powerful as opposed to normal CSS / XHTML? My understanding so far is that if you have data in XML form you can transform it into XHTML through XSLT. I think it also seperates some of the programming logic from the display layer. Any clarification would be appreciated. Cheers, Source: IrishWebMasterForums |
pub: 26 Mar 2008 by: gav240z |
added: 26 Mar 2008 |
cat: Coding Help |
views: 36 time/s
• PHP: fopen() Function ErrorAnyone come across this error before, i've cmod'd the log.txt file but not working still!? ---Quote--- Warning: fopen(log.txt) [function.fopen]: failed to open stream: Permission denied in system.php on line 789 ---End Quote--- I checked phpinfo() and *allow_url_fopen* is on both for local and master! Source: IrishWebMasterForums |
pub: 23 Mar 2008 by: ziycon |
added: 23 Mar 2008 |
cat: Coding Help |
views: 45 time/s
• .htaccess redirectI am trying to redirect from a subdomain to a file using .htaccess. Its working but I dont want the redirect visible, i.e. I want the sub domain to remain as the url. i.e.: User types casino.waffle.ie Redirected to waffle.ie/casino.php casino.waffle.ie remains in URL Any help appreciated. Heres the code that is currently visibly redirecting: Code: --------- RewriteCond %{HTTP_HOST} ^casino.waffle.ie$ [OR] RewriteCond %{HTTP_HOST} ^www.casino.waffle.ie$ RewriteRule ^(.*)$ http://www.waffle.ie/casino.php [R=301,L] --------- Source: IrishWebMasterForums |
pub: 22 Mar 2008 by: wheres me jumpa |
added: 22 Mar 2008 |
cat: Coding Help |
views: 61 time/s
• Unable to save an edited php file using Joomla eXplorerHi Guys, I'm trying to edit a php file using Joomla explorer, I can open it, write in the correct code, hit the save button but nothing happens... Could it be something to do with my hosts server set up or something like that, everything seems fine on my end? thanks Source: IrishWebMasterForums |
pub: 21 Mar 2008 by: googlebomber76 |
added: 21 Mar 2008 |
cat: Coding Help |
views: 40 time/s
|
Categories
|
Channels
Press Release
|