Jump to content


  • Posts

  • Joined

  • Last visited

Everything posted by robert_gsfame

  1. I don't have any idea where should i post this topic. Just want to ask which programming language have to be used to create teleconference website (Webcam). Thanks in advance.
  2. I got my website let say www.abc.com and for mobile version m.abc.com so i use php script to detect if the browser was running from mobile or pc device then redirect it to each of them. my question is that if this will affect the SEO? I mean i don't want the mobile one to be crawled. thx in advance
  3. How can i save image just assume that i have "test.jpg" and wish to store the image to directory "directory A" using Curl..how can i do that? thx in adv
  4. I have this function to get other website title tag. But since the fopen is disabled in my shared server, this function cannot work. How can i still do it? thx in adv function getTitle($Url){ $file=@fopen($Url,"r"); if($file) { fclose($file); $str=file_get_contents($Url); if($str) { if(strlen($str)>0){ preg_match("/\<title\>(.*)\<\/title\>/",$str,$title); return $title[1]; } }else{ return true; } }else{ return false; } }
  5. I use poshy tip (Tooltip plugin) n i have let say 10 data by loop so it looks like this: $("document").ready(function(){ $("a[id^=myid]").poshytip({ className: 'tip-darkgray', bgImageFrameSize: 11, alignTo: 'target', alignX: 'inner-left', offsetX: 0, offsetY: 5, content: function(updateCallback) { return this.id; } }); }); my problem is with the content part, above.. everything run well, i can get the id. But when i try to call the value based on that return id using AJAX, it always goes blank although i can still get the value when executing alert(); thx in advance
  6. I have just reinstalled my xampp, n when starting the apache and mysql, i got mysql service not started (-1) error but apache can run well. First question: I still got my web in my localhost running well, so what is the effect of that error message then? second question: How can i solve this problem thx in advance
  7. thx @dark freaks , i finally got an idea how that guy inject the script once again thx a lot!
  8. I have a form to upload a file and file allowed must be in document format only. I have tried to filter using $filetype=$_FILES['file']['type']; if(($filetype!=="application/msword")&&($filetype!=="application/doc")&&($filetype!=="application/pdf")){ //not allowed} also i have included .htaccess in the upload folder Options -Indexes Options -ExecCGI AddHandler cgi-script .php .php3 .php4 .phtml .pl .py .jsp .asp .htm .shtml .sh .cgi <Files ^(*.doc|*.pdf|*.rtf)> order deny,allow deny from all </Files> but still someone can inject PHP File into my upload folder. Which part is wrong and how to close that hole? Thx in advance
  9. then just for info. I can run that page smoothly in my localhost..
  10. no loop problem cause everything goes well in other browsers except for mozilla. i didn't use document.write() but i have some javascript inside the page.
  11. I got problem with one of my php page. Mozilla browser keeps on loading although it shows the page, i am not really sure which part is wrong. But i don't find any problem with other browsers lol. Can anyone help me please thx in advance
  12. you both are really helpful!!!! THX A LOT!!! LOVE THIS FORUM!
  13. you forget to add closing bracket before this // end if user provided image
  14. still confused anyway i use dreamweaver to do the coding...and i've tried to change certain script in my php.ini and still not working. Can help me further with this pls
  15. don't forget to close your connection after being executed then
  16. this problem really drives me crazy..hope that anyone could help. I left my page only with <?php session_start(); ?> with no script at all..and i still got error Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at E:\Program Files\XAMPP 1.5.4\xampp\htdocs\folder\page1.php:1) in E:\Program Files\XAMPP 1.5.4\xampp\htdocs\folder\page1.php on line 2 No white space at all. I tried to upload this file into the server (not local) and no error appeared. but when i run it in my local server, error appeared. I restart my xampp so many times but still didn't fix this. what's the problem then? thx in advance
  17. let say i have this ================= mycolumn ================= carrot, apple & orange and i try this $query=mysql_query("SELECT * FROM table WHERE mycolumn='carrot, apple & orange'"); $numrow=mysql_num_rows($query); echo $numrow; why do i always get 0 instead of 1 ?? I guess something caused by the comma there. How to fix it anyway?
  18. I created a div which contains another div inside and i add background for both divs the problem is when i double click on the second div, image in the first div turn to blue (SELECTED)...can i remove that blue selection?? i have tried outline:none; display:block but nothing happen how can i remove that..cause it's so annoying. thx in advance
  19. let me explain this actually i do mod_rewrite to let user have a subdomain so let say the user name himself as a chocolatebar then it goes like http://chocolatebar.mydomain.com/person/chocolatebar/chocolate-bar but as i am new to SEO, i worry if this could cause a penalty..although i don't intend to trick the spider
  20. no problem, but i think if you consider adding more padding and line height in css would be nice!
  21. i have this after rewriting URL http://chocolatebar.myurl.com/ and i added this way http://chocolatebar.myurl.com/chocolate-bar will it cause a penalty by GOOGLE?? i am new to SEO anyway thanks in adv
  22. let say a link will open a new window http://www.mypage.php?gender=male&id=christiano+ronaldo and i rewrite url in .htaccess to http://www.mypage.php/male/christiano-ronaldo but the still the first one will be used as an URL when opening a new pop up window. what i exactly try to do is to get both way crawled by the spider my question is: - Which one will be indexed by google crawler?? the first one or both or the second one?? - Is it legal to do this? thx in advanced
  23. i am so new to java, but i really wish to learn how to start creating a mobile app. I've just started learning JAVA and use NETBEANS as the IDE. What i want to ask is 1.what is the different between java app and java web (JSP) 2 What should be learn in order to create mobile app thx in advance
  24. i don't know if someone can come up with better solution. but it seems like you have to save anyone who is online in your database, re-check and connect each online people.
  • 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.