396 Posted Topics
Hi, I cannot make Google Plus button visible in my tests on local machine. Do I miss anything in code below? Thanks [CODE] <html> <head> <title>+1 demo: Basic page</title> <link rel="canonical" href="http://www.example.com" /> <!-- Place this render call where appropriate --> <script type="text/javascript"> window.___gcfg = {lang: 'en-GB'}; (function() { var … | |
Hi, I use Ubuntu8. I have a folder in /var/www/Project1. When i try to save a php file into /var/www/Project1/ it generates error(writing permition). This is what i do but doesn't solve my problem: [code] root@ubuntu:/home/ubuntu# sudo useradd myuser root@ubuntu:/home/ubuntu# sudo chown myuser /var/www/Project1/ OR root@ubuntu:/home/ubuntu# sudo chown root /var/www/Project1/ … | |
Hi guys, I want to assign something into label via JS but code below doesn't work for array. Do I miss something? Thanks in advance [code] <script> function calculate_cost(whichlabel){ document.getElementById('text_cost['+whichlabel+']').innerHTML = 'show me in label below'; } <input type="text" name="text_qty[]" value="0" size="3" maxlength="5" style="text-align:center;" onkeyup="calculate_cost(0)" /> <label id="text_cost[]">0.00</label> [/code] | |
Hi, I have code below and want to modify it in order to place all the images to the edges of div. The problem is, I cannot align bottom images correctly however top edge images are fine. It should be cross browser compatible though. Thanks in advance [code] <style> #imgleftttop{ … | |
Hi, I bough a CD+RW Optical drive. I cannot find information about what SATA it is. Is it SATA 2 or SATA 3? Thanks LG GH22NS50.AUAA 22x SATA DVDRW Drive | |
Hi, I have a transparent circle (20X20) in PNG format. I want to use it to make a DIV or TABLE with rounded edges. How can I do it with CSS? I tried with some examples but none of them were cross-browser compatible. Thanks | |
Hi, How can I use an hyperlink as a submit button? I need to use hover property. [CODE]<a href="#" title="Next"><img src="next.png" alt="Next" /></a>[/CODE] I've found this code but [U]I cannot use hover to change the image[/U] when mouse over: [CODE]<FORM METHOD="POST" ACTION="whatever.php"> <INPUT TYPE="image" SRC="submit.gif" WIDTH="30" HEIGHT="30" BORDER="0" ALT="SUBMIT"> </FORM>[/CODE] … | |
Hi, I have Creative Inspire 5.1 5200 speakers attached to my ASUS 1155 P8P67-M PRO REV 3.0 motherboard. Windows 7 Ultimate 64bit installed. When I use third part applications (Winamp, Mediaplayer etc.) to listed music or play movie rear speakers won't work but when I test speakers in Realtek hd … | |
Hi, I know that we can define a return URL in forms for paypal payments. I wonder if we can define two return urls, one for success and another for fail pages. I looked arround but couldn't find proper info. Does anyone know if it can be done? Thanks | |
Hi, I insert into database with Submit button in same page. After clicking submit, i want whole page to be refreshed. How can i do it? Code is below and where can i add something to refresh after insert. Thanks [code] <form name="form1" method="post" action=""> ..... <input type="submit" name="Submit" value="Add" … | |
Hi, If any combination of these 3 (Name, Surname, DoB, Nationality) user inputs matches to database records then the query shouldn't stop to avoid duplication. If there any special function in MySQL because running 12 query wouldn't be nice for it! Thanks in advance | |
Hi, I've installed XP Prof SP2 and Office 2007 Enterprise afterwards. When I run Ms Office Word, Excel or Powerpoint, look of it weird. The user interface has changed to a very basic graphical interface. You know before installing the drivers for VGA card, menus, images etc. all looking without … | |
Hi, I pull the data from database and print it on screen. How can I print all the characters correctly? Page should support all languages worldwide. English(this is fine anyway), Turkish, Chinese, Greek, French, Tai etc. I added some header lines, meta tags like UTF-8 etc. but no joy. Thanks … | |
Hi, I recently build a desktop computer. As soon as I switch it on, it switches itself off for 3 seconds and after, switches itself on!!! Nothing has been installed yet. No Windows or nothing. What could it be the case? Also, the graphics card is as hot as fire … | |
Hi, I want to authenticate user if he/she successfully logged in before or not, in every pages. Obviously on top of the pages I have to call a function or another page to run that function to carry out checks but, I really don't know what kind of code I … | |
Hi, I want to capture snapshot of a URL. User enters URL, hits Capture button and sees the captured image of that website. I have done some google-ing but not real solution it. Does anyone know any example in PHP and only on Linux? Not interested 3rd party websites though. … ![]() | |
Hi, I wish to install Fedora 14 to my laptop as optional OS along with Win7. I've partitioned the hard drive as follows: 1. Recovery partition 2. C: NTFS (Windows 7 is running currently) 3. D: NTFS (My personal files mp3, pictures, videos .... here) 4. E: NTFS (Fedora 14 … | |
Hi, I have a query which takes too long to return result set. After then I turn result set into xls format to be downloaded at same time. Problem: Obviously, browser says "Request time out". Users will have this problem and my site will fail completely. What else out there … | |
Hi guys, This will probably be very easy for some of you but I failed even I had a website examples. I want [COLOR="Red"]http://s12345.webspace.info/http/myapp/[/COLOR] to bew replaced with [COLOR="Green"]http://portal.myapp.co.uk/[/COLOR] How can I do this with htaccess? Thanks in advance | |
Hi, I have a video in youtube and I am directing users from my website to youtube to watch the video. Some people don't direct users to youtube and let users to watch the video while in their sites. Does this put extra work weight on my site, hosting, bandwidth … ![]() | |
Hi, I have a problem related to BACK button in browsers. In [U]very first page[/U] my basket shows "0 item". I go to [U]next page[/U] to add one item to basket and it shows "1 item" in [U]current page[/U]. If I hit BACK button in browser to go back to … | |
Hi, When I run query below I get duplicated records. Instead of 2, I get 4 records. I guess there is a problem with JOIN because when I remove [B]image JOIN[/B], it works fine but without [B]image JOIN[/B], the query is helpless for me. Please help, thanks in advance [B]QUERY[/B] … | |
Hi, When i hit the F5 key on the keyboard after Insert into process, it adds same record into database again. How can solve this problem? Thanks ![]() | |
Hi, I am using this function to download an image that I uploaded before by using Codeigniter. Function successfully downloads it with same name but when I try to open it, I get an error which says "Cannot be opened... file format... is not supported..." Please help. Thanks CONTROLLER: [CODE]public … | |
Hi, I want to buy a Codeigniter book to learn its framework and develop PHP applications with it. I've been using PHP about 4 years but never used any kind of framework before. Which one of these books would be good for me to get staring: [URL="http://www.amazon.co.uk/CodeIgniter-Professional-Development-Adam-Griffith/dp/1849510903/ref=sr_1_1?s=books&ie=UTF8&qid=1304357639&sr=1-1"]CodeIgniter 1.7 Professional Development[/URL] … | |
Hi, I did an example to see the time it takes to run a query and cache it but it doesn’t work and I cannot find why. Please give me a hand. No cache file gets created as well. In config/database.php: I’ve set $db[‘default’][‘cache_on’] = FALSE; because I don’t want … | |
Hi, How do people set an image as background and that image covers whole background whatever the browser and OS platform is? Thanks in advance | |
Hi, I just started learning CodeIgniter. There is a library [ICODE]$this->load->library('form_validation');[/ICODE] for form validation with rules. Does that mean we don't have to use Javascript to validate forms anymore? Because, if we have to use those validators in CI (sake of the best practise), what is the point of using … | |
Hi, Code below replaces selected number with an URL given by the user. It doesn't work the way it supposed to do. If I select second 2 to make it an URL, it makes first 2 an URL instead. How do I solve this problem? Thanks in advance [CODE]<script language="JavaScript"> … | |
Hi guys, I have two questions, I wonder if they are possible to implement. 1. [ICODE]<form action="nextform.php" method="POST">[/ICODE] Is it possible to hide nextform.php from other users as I don't want anyone seeing where the data is being POSTed. Or similar solution. 2. Is it possible to hide javascript files … | |
Hi, If you set [B]$dowhat [/B]to [COLOR="Green"]"Clean"[/COLOR], I get this error message : [ICODE]Warning: setcookie() expects parameter 1 to be string, array given in C:\wamp\www\....[/ICODE] which is line 18. However, if I remove unserialize() function from same line, I get [ICODE]Warning: Cookie names cannot contain any of the following '=,; … | |
Hi, I've created a script to understand the logic of caching. Do you think my example below makes sense? I am asking because I've never used caching before. 1. Check if HTML version of current testfile.php exist in cache folder as testfile.html a. If YES then compare content of testpage.php … | |
Hi guys, Is there anyone know any library that sets an image as header and footer? I used [B]TCPDF [/B]but it doesn't for footer image. Also, [B]html2fpdf [/B]doesn't support image as header or footer at all. Any other that may work for me? Thanks in advance | |
Hi guys, var/www/ is set automatically set as web root when I install ubuntu. I want to assign permissions to folders of a website if I want host one and the folders inside. Please help me to assign correct and safe permissions to folders below. Also if you think the … | |
Hi guys, I've experienced a problem when I tried to install Ubuntu 10.10, Fedora 14 onto my Sony Vaio laptop. Problem was, I was never able to anything on the screen. It was just full black screen. I've solved the problem and want to share with everyone. Note: This for … | |
Hi guys, I need a help for caching web pages. My website is driven by database and updated everytime (sometimes minute by minute sometime hour by hour, never know). Content and some information comes from database as well. There are also some queries run behind for logging purposes based on … | |
Hi, I visit ebay and search a particular product. If I open any other website which is not related to ebay shows little banners or adverts which are related to what I looked for in ebay. How do those sites know that I was looking for that particular products? Thanks … | |
Hi, I use an example to explain what I mean. Logo of Google is an image. Is tere any way of reading that logo and print Google on the screen? Thansk in advance [CODE]$content = processImage("google.png"); $textInsideLogo = extractText($content); echo $textInsideLogo; //This should print [[B]Google[/B]][/CODE] | |
Hi, How does a barcode reader stores barcode data? I heared that it stores as simple txt file. Let's say I've scanned 5 barcodes. Does it create 5 individual txt files with info in them or Does it create only one txt file and store information related to the all … | |
Hi guys, I developed a website and want to access it through the Internet by using my registered own domain. Website will be served by my Ubuntu machine at home. I have a router called Thompson Speedtouch. I simply want to host my own website at home. Domain: www . … | |
Hi, I need to develop an interface where scanned barcode information is inserted in MySQL database with using PHP. Is this possible? If so, how it actualy works? It will be done with Wired and Wireless scanners. Does it differ? Regards | |
Hi, 1. I can connect to vsFTPd server with a local Linux user with ftp and sftp. 2. I can connect to vsFTPd server with virtual users with ftp only. My question is, can I not use sftp for second option? I did things below but still no luck for … | |
Hi guys, I want to access my virtual domain from another computer on same network by typing [url]www.site1.com[/url] or site1.com without using IP at the beginning of URL. Currently it works this way: [U]Server computer where Apache is running:[/U] [url]www.site1.com[/url] AND site1.com works fine as I want. [U]Another desktop computer … | |
Hi, Steps below works fine if I have only one folder(site) in /var/www/http/ but when I add another (folder)site into /var/www/http/ and repeat same steps just by changing the name of the (folder)site, it retrieves the previous site even if I enter the second one. e.g. myhost1.com and myhost2.com display … | |
Hi, Like everyone, I access my apache server by typing [url]http://localhost[/url] or [url]http://127.0.0.1[/url] but what I want is that I want to access it from outside by typing a domain name like [url]http://my.domain.com[/url] I've added my current IP information for you. This is what I need. I'll be much appreciated … | |
Hi guys, I've setup vsFTPd server and it works fine. However, I need to restrict local users to their own folders. Currently, anyone who loges in vsFTPd server can navigate through all the folders. e.g. User: myuser Directory: /var/www/http/folder-for-myuser In this case, myuser should only see this folder, no other … | |
Hi guys, I bought SONY VAIO vpcs13v9e to use as a Linux laptop but I cannot install Fedora 14 or Ubuntu 10.10. I get full black screen. I don't know what to do. My machine has Win 7 64bit on it. Wubi didn't work for 32 and 64 iso files. … | |
Hi guys, I need your help with PHP+AJAX example. This is the scenario: 1. I enter my name into textbox and hit submit button in page index.php. 2. Data is POSTed to save.php to insert my name into mysql database. 3. With help of mysql_insert_id() function, save.php sends ID back … ![]() | |
Hi, I need to find a correct approach to do database process. Please have a lot at my code below, I am sure it is not good practise. I'll be happy if you can help me avoiding many connections to mysql db once there is a connection already established. Also, … | |
Hi guys, I have a website and I want to provide a chat option to those who become member so is there any script for me to serve this purpose? I've seen 121 demo but it is not what I would want. I just want something very simple like I … |
The End.