Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
61% Quality Score
Upvotes Received
3
Posts with Upvotes
3
Upvoting Members
3
Downvotes Received
2
Posts with Downvotes
2
Downvoting Members
2
~13.1K People Reached
About Me

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....
Favorite Tags
Member Avatar for Clanstrom

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 …

Member Avatar for canadafred
0
443
Member Avatar for Clanstrom

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

Member Avatar for timetraveller1992
0
413
Member Avatar for Clanstrom

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 …

Member Avatar for pritaeas
0
211
Member Avatar for Clanstrom

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 …

Member Avatar for diafol
0
441
Member Avatar for Anila_1

Hi.. 'm new to PHP so please guide me.. i just want to create a simple yet secure login page with PHP and MySql as db.. The following must be the program flow.. 1.when a user tries to login for the first time it should check whether the user is …

Member Avatar for Clanstrom
0
166
Member Avatar for Clanstrom

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 …

Member Avatar for diafol
0
113
Member Avatar for pritaeas

We have a new layout. Should you encounter a layout issue, or just want to add your opinion... do so here. If there's some issue, do inform uus of your OS and browser, and optionally an annotated screenshot. If you find reproducable bugs, please use [this thread](http://www.daniweb.com/community-center/daniweb-community-feedback/threads/460894/new-layout-bugs-and-glitches).

Member Avatar for diafol
0
1K
Member Avatar for Clanstrom

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, …

Member Avatar for pritaeas
0
247
Member Avatar for Clanstrom

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 …

Member Avatar for Ancient Dragon
0
240
Member Avatar for Clanstrom

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 …

Member Avatar for vijayan121
0
4K
Member Avatar for Clanstrom

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 …

Member Avatar for Atli
0
290
Member Avatar for Clanstrom

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?

Member Avatar for diafol
0
214
Member Avatar for Clanstrom

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 …

Member Avatar for LastMitch
0
315
Member Avatar for Clanstrom
Member Avatar for Clanstrom

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 …

Member Avatar for mbhanley
0
148
Member Avatar for karlcunanan

Hello PHP geniuses! I am a beginner in php and would like to seek your expert advices and knowledge. When I display the result to a table, it always loop at the bottom, I want to display the another table at the right side of the first table. When I …

Member Avatar for LastMitch
0
203
Member Avatar for Clanstrom

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

Member Avatar for simplypixie
0
240
Member Avatar for archie.herbias

Why this code doesn't redirect to profile page? i need help.. <?php include('connectvars.php'); if(isset($_POST['login'])) { $con = mysqli_connect(DB_HOST,DB_USER,DB_PASSWORD,DB_NAME); $user_username = mysqli_real_escape_string($con,trim($_POST['username'])); $user_password = mysqli_real_escape_string($con,trim($_POST['password'])); if(!empty($user_username) && !empty($user_password)) { $query = "SELECT * from Account where Username = '$user_username'"; $data = mysqli_query($con,$query); if(mysqli_num_rows($data) == 1) { $row = mysqli_fetch_array($data); $_SESSION['user_id'] = …

Member Avatar for cigoL..:)
0
233
Member Avatar for Clanstrom

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" /> …

Member Avatar for moneeshot
0
246
Member Avatar for ajay.motah

hi all, i am actually working on a project. But the mysql_real_escape_string() is not working on my php5 codes. Can anyone suggest me an alternative to avoid sql injection, plz! Thank you!

Member Avatar for iamthwee
0
109
Member Avatar for Clanstrom

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 …

Member Avatar for diafol
0
148
Member Avatar for cssweb

hello guys how are you i wrote this code but i have an proplem i can not verify if there is no file uploaded when anyone hit submit and i can not specific the allowed extinsion for example "jpg" how can i do this in "foreach", i can do this …

Member Avatar for cssweb
0
137
Member Avatar for godzab

I am just trying to submit two input fields, username and password. I am not able to do that because my code won't submit my data to the PHP database. The code is below, also please note I am trying to use ajax: getData.php <?php $db = mysql_connect('localhost', 'wont tell', …

Member Avatar for Clanstrom
0
222
Member Avatar for Clanstrom

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 …

Member Avatar for diafol
0
120
Member Avatar for Clanstrom

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 …

Member Avatar for Clanstrom
0
228
Member Avatar for Clanstrom

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 …

Member Avatar for almostbob
0
136
Member Avatar for patrickm129

Hi all, I hope you're having a good day. I'm 15 and as a way to earn some money this this year I am thinking of starting a small web development business. I have knowledge in HTML (4 and 5), CSS (2 and 3), PHP 5, SQL, and some knowledge …

Member Avatar for Clanstrom
0
511
Member Avatar for Clanstrom

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 …

Member Avatar for imagine_works
0
193
Member Avatar for Clanstrom

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, …

Member Avatar for limohire
0
238
Member Avatar for Clanstrom

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 …

Member Avatar for Clanstrom
0
593