Search found 11 matches

by shakeel
Mon Nov 17, 2008 7:35 am
Forum: PHP - Code
Topic: PHP code highlighting
Replies: 2
Views: 290

Re: PHP code highlighting

thanks Jaxolotl
by shakeel
Mon Nov 17, 2008 6:42 am
Forum: PHP - Code
Topic: PHP code highlighting
Replies: 2
Views: 290

PHP code highlighting

Hello Can somebody tell me how to highlight PHP code in a string which comes form database and how to make links to all the PHP functions in that string. This method use in blogs or PHP tutorial websites like this one: http://phpsense.com/php/php-pagination-script.html where the PHP code is properly...
by shakeel
Tue Nov 11, 2008 9:33 am
Forum: PHP - Code
Topic: How to disable double registration for the same user
Replies: 1
Views: 119

How to disable double registration for the same user

Hello Experts

I am new to PHP and tries to develop a site where a user can make an account to view the contents of the site. I want that one user will have only one account and if he tries to create another one he should be warned. What is the best solution for this.
by shakeel
Mon Jun 02, 2008 9:35 am
Forum: Databases
Topic: MySQL connection problems using php
Replies: 3
Views: 385

Re: MySQL connection problems using php

use the following one.   <?php define("HOST","localhost"); define("USER_NAME","patric"); define("PWD",":depash");   if($conn = mysql_connect(HOST, USER_NAME, PWD)) {      print "Connected"; } else {      die("Cannot connect ...
by shakeel
Mon Jun 02, 2008 9:02 am
Forum: Databases
Topic: Need help
Replies: 6
Views: 1201

Re: Need help

Thanks to all
by shakeel
Sat May 31, 2008 9:20 am
Forum: Databases
Topic: Need help
Replies: 6
Views: 1201

Need help

Hello

I want to get all rows from a table where "Title" column beginning with any number. What should I use in Like operator. I am using MySql.

thanks.
by shakeel
Wed Apr 02, 2008 7:10 am
Forum: PHP - Code
Topic: How to protect directoy
Replies: 3
Views: 244

How to protect directoy

Hello

I have a folder on my website. How to restrict that folder, so the user cant download something from that folder directly.
by shakeel
Wed Jan 30, 2008 8:11 am
Forum: PHP - Code
Topic: Image metadata information
Replies: 1
Views: 159

Image metadata information

Is there a library, or some code that I can use to extract information from the metadata inside an image file (JPEG/GIF) - the information that stores Title, Subject, Comments, Author, etc?

thanks
by shakeel
Thu Jan 17, 2008 6:49 am
Forum: PHP - Code
Topic: Please help me
Replies: 4
Views: 215

Re: Please help me

Thanks VladSun
greate job!!!!!!!!!!!
it works
by shakeel
Thu Jan 17, 2008 6:07 am
Forum: PHP - Code
Topic: Please help me
Replies: 4
Views: 215

Re: Please help me

Thanks VladSun

But my question is why the same result resource does not return any row in the second loop,
or I have to query again to create new result resource?
by shakeel
Thu Jan 17, 2008 5:32 am
Forum: PHP - Code
Topic: Please help me
Replies: 4
Views: 215

Please help me

Hello to All I m new to PHP and Mysql, I have a problem plz help me. my question is how to display rows from result resource in second loop, my script is like: $_parent_id=$_GET['parent_id']; if(!isset($_parent_id) OR $_parent_id==0){ $_parent_id=0; } $sql="SELECT * FROM menu WHERE parent_id=&q...