Hi, there you can call me Vee, am a Freelance web designer from UAE, i love PHP and i am here to learn more about it. I'm a pHp Fan :)
- Interests
- PHP, Gaming, Movies, Football, Pool, Religion
- PC Specs
- Galaxy Tab 10.1, Window 7, HP, Intel Corei3 Processor....
34 Posted Topics
I have always copy/paste this below code as a template for meta tags on project, but I think they are not effective as they could possible be. So, I need to know if there is anyway I can improve it. suppose I have a site called `coop.com` for a company … | |
I am tring to make a search script, but I have no idea how and would appreaciate if anyone could give me samples or websites. thanks | |
I'm having hard times, learning desing patterns. And, I've been reading quite a lot. But, I'm only interested to know, about two things: Adapter & Factory patterns. From what I undestood, (*which is close to nothing*) Factory Pattern helps create objects on the fly Adapter Pattern helps adapt your class … | |
I would like to know, why extending a built-in class in php is important. I mean let's take the PDO class for example. One can either work with using new PDO(); or class Foo extends PDO. to do the same task. I guess, maybe the only thing that makes sense … ![]() | |
Re: http://thenewboston.org/list.php?cat=11 Check the link, it has more than enough video tutorials, basically on login/register/voting that anywhere you can find. It is beginner friendly, so you will learn & create the script at the same time. | |
When I check sometimes, on the php.ini files, I see that there are many loaded extentions, and for the most part, I only open the file to enable or disable some extentions like curl, but other than that, I do now know what the hundreds of extention do, so I … ![]() | |
Re: I used to be a fan of this site, when I first joined. But, switched to Stackoverflow and never looked back. It is good to see, the new layouts. I'm not sure, if this has been recently or not. One, of the most SUPER annoying this in this site, is … ![]() | |
I am new to PHPUnit & unit-testing in general, I have got this problem, thankfully I can sense, the answer is out there, maybe with everyone has ever done their first tests. Here it goes: I have been trying to find tutorials for unit-testing with PHPUnit. And, so far all, … | |
Sorry for the confusing title, as I am new to C++ Basically, what I am trying to do is, to read a simple **test.txt** file's content, which are just two words actually: "Hello World" and desplay thier hexadecimal content in a shell, CMD or command line.(Whatever it is called), if … | |
Hi All. I am new to C++, infact I started watching tutorials just about an hour ago. But, I had some experiece of Javascript, PHP, so It is fine. Now, my question is that, I am untimately, learning C++ to be able to manipulate a .wav files, just to write … | |
Hi, I am chaging from mysql_* to PDO and I found this tutorial in [Here](http://net.tutsplus.com/tutorials/php/php-database-access-are-you-doing-it-correctly/) And, so far let's say I chose this query to update a database. $id = 5; $name = "Joe the Plumber"; try { $pdo = new PDO('mysql:host=localhost;dbname=someDatabase', $username, $password); $pdo->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION); $stmt = $pdo->prepare('UPDATE someTable … | |
I am a php newbie, and I have realised that there are many functions to learn in php, but can anyone point out which ones are the best for beginers? Can you mentions 10 most usefull functions or more? ![]() | |
I just saw a tutorial on a PHP site, and saw the super global $_SERVER['SERVER_SELF'] getting sanitized with htmlspecialchars. Us there any use for this? If you submit a post that has form action="$_SERVER['SERVER_SELF']" what difference does it make what the url is set when submitting a form, because the … ![]() | |
I just need to know, what is the difference and relashin ship between the two? | |
Hi all. I have a site with articles and members and since the url ends for both like.. site.com/articles.php?id=232 or site.com/ref.php?user=3232 I costumised this script I found online to costumize the url. I did for the profiles which is working, but I can't add for the articles: RewriteEngine On RewriteCond … | |
Re: What do you mean **it always loop at the bottom,** and what is the another table? I am new myself, but i found your question but difficult to get, than the coding ![]() | |
Hi, I have a lot URLs in my site that look like: http://localhost/DIRECTORY/FINAL/ref.php?id=category Now, I need a PHP function to search for = Sign and return all the text after that i.e. 'category' Is this possible, if so can anyone help | |
I need to pass a variable from page1 to page2 without URL, or without making the variable visible to users, to I figured, I might use the hidden field method, but I can't do this with the following script <form method="POST" action="page1.php"> Username: <input type="text" maxlength="25" name="username" value="" class="i_login" /> … | |
Re: Please show us your code, becuase that function is supposed to work, no matter what! as with all functions, there must be something you are doing wrong. ![]() | |
Hi guys. It's been a third day now, I am having problems with header. I have many included files which output echo before the header, so since I can't output them after the header, I used ob_start(); and ob_flush(); but still I am getting header problems. If you wanted to … ![]() | |
Re: if ($_FILES) { $temp_file = $_FILES['ufile']['tmp_name']; $upload_dir = "uploads"; $name = $_FILES['ufile']['name']; switch($_FILES['ufile']['type']) { case 'image/jpeg': $ext = 'jpg'; break; case 'image/gif': $ext = 'gif'; break; case 'image/png': $ext = 'png'; break; case 'image/tiff': $ext = 'tif'; break; default: $ext = ''; break; } if ($ext) { $n = "$pic_name.$ext"; … | |
Re: $username = mysql_real_escape_string($_GET['username']); $password = mysql_real_escape_string($_GET['password']); $db = mysql_connect('localhost', 'wont tell', 'never'); $db_select = mysql_select_db('test'); mysql_query("INSERT INTO info (Username,Password) VALUES ('$username', '$password')") or die ("Error something"); I would try the above. | |
Ok, Assume i am creating a site for people who own business companies and when they submit their names, phones, and other details, i want a php code to generate a URL of their Company Name only. Now, here is the trick, i don't want just any URL, i want … ![]() | |
Ok, i am so new to PHP and today, i wanted to create a very simple php code that submits username and country name into myqsl. So, I created databse and tables in phpMyAddmin, and i created two php files ( c below ) i.e. form.php & insert.php [B]This is … | |
I just bought a domain starting with an uppercase letter and inside my domain registrar control panel, it shows the same way as it it registered( first letter uppercase. ) anyway, contrary to what many people said i read in here SNIP that registering a domain with mixing upper/lower case … | |
Re: It mostly depends on the country, [ Wealthy / Poor ] as for me, i recently got in to web designing, i taught myself online, and i am already making deals to design from $500 and beyond for a complete web service ( domain, design, hosting ] you should choose … | |
What are the best SEO tricks other than the; 1- Good Meta tag and description and title structure. 2- Add your url in [ [url]http://www.google.com/addurl_confirm.html[/url] ] 3- Add hyperlinks to your site on other website. 2nd Question - I know that google searches for more link for your website on … | |
I wanted a good search engine ranking and, in one of my websites i created index.html file and (1) placed this code: [CODE]<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta name="keywords" content="Habehsa, Abesha, Ethiopia Website, Eritrea Website, Ethio Media, Eri Media, Ethio Web, Website Ethiopia Eritrea, … | |
Hi there, since recently i have been trying to master HTML, and now i am full ready to take on PHP therefore, just like HTML instead of making many .html files | i want to use the PHP dynamic page function that can show me pages from database. usually as … | |
Re: "And can meta tags also be inserted from a php file" Yes i think so. How do you think content management sites work? | |
Hi there. Thinking about creating a membership registration-enabled website, that will store people names and some info about them, after they register, but what i can't begin to make is a PHP code that whenever, a user searchs ( In a search box ) a name of another user, that … | |
Hi there all, just joined today loved this site already. My Question is that. i am trying to create 6 Menus for my Web. like Eg { home, about us, service ..... } and i want the images to change whenever the users mouse hovers the menu's. I got the … | |
Hi there all. This is my first time ever in Dani web. I just began teaching myself PhP by googling. My first question ( Not sure if i am even allowed to ask in here ) is that. * When you create a php registration form in PHP enabled page, … |
The End.