- Upvotes Received
- 1
- Posts with Upvotes
- 1
- Upvoting Members
- 1
- Downvotes Received
- 1
- Posts with Downvotes
- 1
- Downvoting Members
- 1
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…
53 Posted Topics
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 … | |
Re: 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] | |
Re: 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 … ![]() | |
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() … | |
Re: To me google+ is an annoying thing, i am getting many many unkown friends daily. | |
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 … | |
Re: [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, … | |
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 … | |
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. | |
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 … | |
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 … | |
Re: 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 ? | |
Re: [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 !! … | |
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 … | |
Re: Hai, just echo the $query as Mr. ardav said, if the problem is still no solved. ![]() | |
Re: [url]http://www.developershome.com/wap/wapUpload/wap_upload.asp?page=xhtmlmpEg[/url] check this link | |
Re: [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 … | |
Re: 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. | |
Re: 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. | |
Re: 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 … | |
Re: 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) … | |
Re: 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 … | |
Re: 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). | |
Re: [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 … | |
Re: 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 | |
Re: 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 … | |
Re: 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 … | |
Re: 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 … | |
Re: 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 … | |
Re: 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] | |
Re: 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 … | |
Re: 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 … | |
[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 … | |
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 … | |
Re: 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 … | |
Re: 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 … | |
Re: 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" | |
Re: 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 … | |
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. … | |
Re: I think creating cookies along with session with same values will solve your problem. | |
Re: 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! | |
Re: 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] | |
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'); … | |
Re: [code] <EMBED SRC="filename" autostart="false"></EMBED> [/code] | |
[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. | |
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 … | |
how can i create a subdomain using php? Thanks in advance | |
Re: 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. | |
Re: $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 … | |
Re: 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 … |
The End.