Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
60% Quality Score
Upvotes Received
1
Posts with Upvotes
1
Upvoting Members
1
Downvotes Received
1
Posts with Downvotes
1
Downvoting Members
1
~41.2K People Reached
About Me

The only thing i know abt myself is - I love cars :D

Interests
Designing and Programming
PC Specs
Intel Dual Core T3200 3BG DDR2 @ 800mhz 160GB SATA HDD Intel GMA4500MHD Ubuntu 10.04LTS Windows 7 Home…
Favorite Tags

53 Posted Topics

Member Avatar for danishbacker

can any one tell me how to change the maximum file upload size? upload_max_filesize i got `ini_set('max_upload_filesize', 8388608);` for setting it to 8M but i need to know where to change it, I mean where is the php.ini file is located in my remote folder! i also tried to edit …

Member Avatar for sftranna
0
180
Member Avatar for nathanpacker

use php pear to send email. its works fine for me. check these links [URL="http://www.tuxradar.com/practicalphp/15/5/2"]http://www.tuxradar.com/practicalphp/15/5/2[/URL] [URL="http://www.tuxradar.com/practicalphp/15/5/3"]http://www.tuxradar.com/practicalphp/15/5/3[/URL]

Member Avatar for dineshsjce
-1
2K
Member Avatar for ero100@live.com

Use a simple javascript function to do this. and you just need to invoke a method in event 'onsubmit' in form tag While calling check whether any field is null or not if 'null' then the function should return false otherwise true. also you can set focus to the null …

Member Avatar for diafol
0
242
Member Avatar for danishbacker

How can i add expires header to images? i used the following in css file and php respectively [code] <?php -----------CSS------------------------------------------------------ ob_start ("ob_gzhandler"); header ("content-type: text/css; charset: UTF-8"); header ("cache-control: must-revalidate"); $offset = 48 * 60 * 60; $expire = "expires: " . gmdate ("D, d M Y H:i:s", time() …

Member Avatar for mlm2gether
0
3K
Member Avatar for alyessamoore
Member Avatar for brianwaugh90
0
311
Member Avatar for danishbacker

Hi, I am using windows XP now i want to switch to Linux. Only bcoz i thought i cud use free software as possible as i can. Currently there are only three things which im using are illegal 1. OS (Windows XP) 2. Photoshop CS2 3. Dreamweaver 8 Im working …

Member Avatar for iigwk
0
474
Member Avatar for jakizak

[QUOTE=scaasiboi;1745593]Does anyone see an issue with the following IF statement... I sure can't yet it doesn't work! VARIABLES: $CHECK = A returned value from the database either "y" or "n", the value is returned successfully so I know that is not the issue here. There is no error message returned, …

Member Avatar for almostbob
0
178
Member Avatar for danishbacker

I have installed buddypress and oscommerce plugin in wordpress. But i need to a common login and registration, so i started making custom registration plugin. And for that I need to remove the buddypress registration page and use wordpress default signup. Also if there any other way around please let …

0
95
Member Avatar for danishbacker

Hi guys another newbie here want to know and learn about NGINX :) how can i use that in my next project ? Any help would be greatly appreciated Thanks in advance.

Member Avatar for pritaeas
0
137
Member Avatar for danishbacker

I'm planning to buy a smartphone soon my current phone is Nokia E51 and I like [LIST=1] [*]htc desire s [*]htc mozart 7 [*]iphone 4 [*]nokia c7 [/LIST] My primary need are [LIST=1] [*]basic phone functions [*]video chat using wifi or mobile internet (not 3g) [*]music [*]making apps (to get …

0
162
Member Avatar for danishbacker

I cannot hear any sound in firefox! The problem is only in firefox all other browsers are working fine. The flash objects have no sound at all. I can make google voice chat. So I think the problem is with some flash related thing in firefox. I have reinstalled adobe …

Member Avatar for mo12lan
0
239
Member Avatar for chris.aaker

This is a good method i think. What is the problem / error? Are doing this for facebook application? or the data is sending but you are not able to receive it ?

Member Avatar for peter_budo
0
203
Member Avatar for pearll

[QUOTE=pearll;1485966]Can smbdy tell me that what is wrong in the [COLOR="red"]second part[/COLOR] of the form here in syntax.... ?? here i am providing the first part 2 as sm variables are from that part...however just tell me what is syntactically wrong in second part ...plz .. thanx in advance !! …

Member Avatar for danishbacker
0
108
Member Avatar for danishbacker

Hai, Im am using nokia e51 I want to set email notification my phone, but the problem is when is set password in phone it is leaked by some spyware in my phone. This happened two times. If i had set my gmail in phone the very next day gmail …

Member Avatar for danishbacker
0
174
Member Avatar for featherwebdiva

Hai, just echo the $query as Mr. ardav said, if the problem is still no solved.

Member Avatar for diafol
0
18K
Member Avatar for ankit.pandey3

[url]http://www.developershome.com/wap/wapUpload/wap_upload.asp?page=xhtmlmpEg[/url] check this link

Member Avatar for danishbacker
0
64
Member Avatar for ak2011

[QUOTE=ak2011;1483163]I am developing a website in php mysql. In the home page i am showing only one link for demo purpose and the other links are blocked. There is a login link on top. Only after successful login the home page is reloaded showing all the blocked links. So what …

Member Avatar for danishbacker
0
64
Member Avatar for souravsikka

I think you are making things complicated. Just use AJAX to load dropdown lists. Dont forget to put a dummy value as first element and you call ajax in "on cahnge" event. Just google it you will get many code for ajax.

Member Avatar for danishbacker
0
139
Member Avatar for DaveyMoyes

Mr. DaveyMoyes you havent inserted the filename/path in to database while uploading. I this is why the file name is not showing. Try inserting those img names to corresponding columns.

Member Avatar for red_ruewei
0
145
Member Avatar for jjemphoung

The term server side and client side denotes from where the code is rendered or processed. Thats all!. Actually there is no pages like client page or server page. If you look at Mr.Rob's (almostbob) example you can see that he has included php script along with html which is …

Member Avatar for jjemphoung
0
125
Member Avatar for cmbadal

Use windows 7, I think you wont regret buying it. If u have more than 4GB ram then buy a 64bit edition. Even if u need to run any old application u can run that by using XP Mode in windows 7 (XP Mode available in win7 Pr0 and Ultimate) …

Member Avatar for danishbacker
0
99
Member Avatar for absk

1. 2 GB (2 x 1 GB) requires the replacement of the installed 256 MB DIMM 2. I think you can install as much as u like :) as u got 4 sata ports and 2 ide ports u can add about 5 different HDDs, for this you may have …

Member Avatar for sparkax
0
304
Member Avatar for apease11

me too had the same problem but I gave full path. Try giving path from a variable preceded by [icode] $_SERVER['SERVER_NAME']; [/icode] thus by making full path? Hope this will work for you. (thought your plan was to use same code in local and remote servers).

Member Avatar for apease11
0
152
Member Avatar for crohole

[QUOTE=crohole;948613]I wan to ask you master, how to detect all partners website in all world that have my link in there. Please reply me. Thank's for your attention.[/QUOTE] Go for php curl, it will solve your problems. And one more thing, please don't ask me more because I don't know …

Member Avatar for danishbacker
0
102
Member Avatar for gilbertsavier

sorry i am not sure about the code (pear package for date) but i used to change the timezone as following [code=php] <?Php if(function_exists('date_default_timezone_set')){ date_default_timezone_set("Asia/Calcutta"); } else{ putenv("TZ=Asia/Calcutta"); } $date = date('l jS \of F Y h:i:s:c A'); ?> [/code] Just give it a try

Member Avatar for danishbacker
0
95
Member Avatar for SKANK!!!!!

Actually i didnt get u completely. Anyway im just trying to help you you can get username in many ways like using url (GET method), by creating session, cokkies etc or by getting it from database. I prefer get or session to solve this. If you are little more specific …

Member Avatar for SKANK!!!!!
0
203
Member Avatar for shena

Me too a beginer in php, i checked ur code but cant understand some parts of it comletely. as i do php in php4 style and u in php5 style First i dont understand why u are using checkboxes instead of radion button if u need only one result at …

Member Avatar for shena
0
4K
Member Avatar for gagan22

Hope your code is not showing any errors. Also i think u havet tried alerting the "req.responseText" after satus 200 if not try that. check whether u r getting required output in correct format. anything inside a list menu will not be displayed if it is not correct format. have …

Member Avatar for gagan22
0
135
Member Avatar for leviathan185

U need to specify the table structure to solve this. The above code will work only if all the field types varchar or similar types, i mean those cannot be an int. if that is not ur problem try specify which each column like [code]INSERT INTO table member (c1,c2,c3) VALUES …

Member Avatar for leviathan185
0
1K
Member Avatar for kris82009

Are you getting any error or incorrect date? if it is incorrect date then setting the default timezone as below will solve ur problem [code]date_default_timezone_set('Asia/Calcutta'); [/code]

Member Avatar for danishbacker
0
128
Member Avatar for Capsi

It will be easy for us to help you if you are a little more specific. are you using db for fetching data or from array? I assume you are using db then it is very easy like [code] SELECT * FROM table_name WHERE `field_name` LIKE 'a%' [/code] you can …

Member Avatar for navenchary
0
146
Member Avatar for Aamit

Mr. Aamit I think you are taking the long route. This is actually very simple. I think your need is just to update a pic and it has to be shown there without refreshing the whole page. Like we do in orkut profile pic. If so you only have to …

Member Avatar for danishbacker
0
174
Member Avatar for danishbacker

[code] <?php $fileName = basename( $_FILES['fileName']['name']); //count current total files $dir_path = "snaps/"; $count = count(glob($dir_path . "*")); $newFileName = $count . ".jpg"; $target_path = "snaps/" . $newFileName; [COLOR="Red"]if(move_uploaded_file($_FILES['fileName']['tmp_name'], $target_path))[/COLOR] { echo "<br/>Success"; else{ echo "<br />Failed"; } ?> [/code] The above works in my unix like server (Linux server.nixism.com …

Member Avatar for danishbacker
0
377
Member Avatar for danishbacker

I need to make a family tree. But i don't know how to make make it. I asked someone and done some searching in Google. I found three ways as follows 1. Using Database (foreign key to represent relation ship) 2. Using XML to store the data. 3. Using binary …

Member Avatar for danishbacker
0
1K
Member Avatar for szita1

I experienced the same problem but it was in windows server, the same code works perfectly in another linux server. The problem was I was not having enough permission to make file upload. Also from this forum I learned that we cannot reset permission just like we do in linux …

Member Avatar for danishbacker
0
98
Member Avatar for prawin@123

I think you have problem with table elements. me too tried like once, to me it is little difficult to do it with table (th,tr,td............). But it became very easy when made with div and css [url]http://www.peipians.com/tempDomains/sscollege1/faculty.php[/url] check the above link the faculty list is dynamic. I'll give u the …

Member Avatar for danishbacker
0
77
Member Avatar for senthil_kumar

Do you mean ajax chat? If so check this link [url]http://www.php-development.ru/javascripts/ajax-chat.php[/url] You can get many like this by googling "ajax chat using php"

Member Avatar for danishbacker
0
69
Member Avatar for claritydigital

claritydigital, you have learn how to search in google before u start learing ajax. When u search ajax in google the third result itself is a good tutorial site (w3schools). Also u can get unlimited help from this forum if u ready to change ur attitude. There are many skilled …

Member Avatar for peter_budo
0
226
Member Avatar for danishbacker

I am using a a customized google map which is used to show properties for sale in a specific area. There tree level for this ie by Country, State and City and is done using list menu. It is working properly, It is showing markers when any item is selected. …

0
82
Member Avatar for mansi sharma
Member Avatar for danishbacker
0
50
Member Avatar for alfalisyada

I dont know it is correct or not but try using [code] document.getElementById("anyName") or document.getElementByName("anyName") or something like this [/code] for handling items in the DOM instead of forms[i] i think this will avoid confusion :) forgive me if this doesn't work!

Member Avatar for danishbacker
0
2K
Member Avatar for pocnib

i think you have to use [icode]date_default_timezone_set('yourtime zone');[/icode] for me it is as follows [icode]date_default_timezone_set('Asia/Calcutta');[/icode] then call [icode]date();[/icode]

Member Avatar for danishbacker
0
140
Member Avatar for danishbacker

Is it possible to update the AUTO_INCREMENT value who's attributes are primary key, not null, auto increment and also an INT type The thing is I need to synchronize the 'image_id' to access images sequentially and if one row is deleted the sequence is destroyed Help me! [code] <?php include('db_conexn.php'); …

Member Avatar for danishbacker
0
253
Member Avatar for danpad
Member Avatar for danishbacker

[code] if (window.print) { document.write('<form>Click Here To ' + '<input type=button name=print value="Print" ' + 'onClick="javascript:window.print()"> This Page!</form>'); } [/code] using this code the whole page is printed can I limit the paper size? also can I remove the print header and footer? Thanks in advance.

Member Avatar for essential
0
4K
Member Avatar for danishbacker

can anyone tell me how to upload a file iis server I use the following code now but it doesn't work in iis server. [code] $fileName = basename( $_FILES['fileName']['name']);//filename from post $currentdir=getcwd();//get current directory $target_path = $currentdir."\\snaps\\" . $fileName ; if([COLOR="Red"]move_uploaded_file($_FILES['fileName']['tmp_name'], $target_path)[/COLOR]) { echo "Success"; } [/code] can I get …

Member Avatar for danishbacker
0
141
Member Avatar for danishbacker
Member Avatar for emhmk1

Assuming that you are not using database then i think your problem will be solved by giving a sequence as filenames when uploading. then you can display them in a table ascending or descending order. or It is better using database for indexing posts. Then your need is very simple.

Member Avatar for emhmk1
0
84
Member Avatar for gandil

$qry = mysql_query("SELECT * FROM data_table WHERE page='$page'",$dbh); while($info = mysql_fetch_array( $qry )) { $total++; } if($total>7) { something... } else{ another thing; } Try this. i think `mysql_num_rows();` will counting all the rows in the table. but it always going to first statement whatever `$total` is. I echo the …

Member Avatar for jt1
0
140
Member Avatar for Venom Rush

Assuming that the need mentioned above is not in the first page also i'm almost shure that this is not a good way to do this. try passing value through URL like [code]header("location:fileName.php?status=1"); or header("location:fileName.php?status=1"); [/code] then you can use [code] if(isset($_GET['status'])) { if( $_GET['status']==1 ) //checkbox is checked. esle …

Member Avatar for danishbacker
0
69

The End.