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 .htaccess like this php_value upload_max_filesize 100M; php_value post_max_size 100M; but after that i can't open any page in my site, im getting an error message ie error 500. Thanks in advance.

Member Avatar
Member Avatar
+0 forum 3

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() + $offset) . " GMT"; header ($expire); ?> ----------PHP------------------------------------------------------ <?php if (substr_count($_SERVER['HTTP_ACCEPT_ENCODING'], 'gzip')) ob_start("ob_gzhandler"); else ob_start(); header ("content-type: text/html; charset: UTF-8"); header ("cache-control: must-revalidate"); echo $offset = 48 * 60 * 60; $expire = "expires: " . gmdate ("D, d M Y H:i:s", time() + $offset) . " GMT"; header …

Member Avatar
Member Avatar
+0 forum 3

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 as a web developer. Can any plz suggest me which linux is best for me? Following are my needs 1. Watching movie 2. Music playback 3. Web Development thats all. Im asking this bcoz i only have very little experience with Linux I tried Redhat enterprise 4, Ubuntu (5,6,7), Fedora …

Member Avatar
Member Avatar
+0 forum 27

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 me know. My ultimate aim to have a common login for oscommerce wp plugin and buddypress. Thanks in advance,

Member Avatar
+0 forum 0

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
Member Avatar
+0 forum 1

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 familiar with app market etc) [*]good battery backup [*]phone reliabilty [*]ease of use [/LIST] thats all :) Thanks in advance

Member Avatar
+0 forum 0

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 flash player (latest). Re-installed firefox (latest). re-installed codec pack (k-lite 6.9 full). Thanks in advance

Member Avatar
Member Avatar
+0 forum 6

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 notifies me that my account has been compromised. Also it sending mails from gmail account, the ip is from China. :( I am not willing to reset my phone to factory settings. please help me to fix this. Thanks in advance.

Member Avatar
Member Avatar
+0 forum 2

[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 2.6.18-53.1.14.el5 #1 SMP Wed Mar 5 11:37:38 EST 2008 x86_64) but it is not working in a windows server ( Windows NT P3SWH132 5.2 build 3790 ). why? Is there any differece in uploading files in windows server or is it the directory stucture given above ( '/ 'or '\') …

Member Avatar
Member Avatar
+0 forum 7

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 tree. But the problem is I am not familiar with any of the above. Please suggest me the easiest way to this. Also I need to make the list dynamic. Also any new method which is simpler than the above. Thanks in advance,

Member Avatar
Member Avatar
+0 forum 3

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. markers are added using ajax. But my problem is, If a country has many results it is taking long time to show the markers. I need to display some message like "loading..." or something like that to make it a bit user friendly. Also this delay is found only in …

Member Avatar
+0 forum 0

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'); $data = mysql_query("SELECT image_id FROM imagetable") or die(mysql_error()); while($info = mysql_fetch_array( $data )) { echo $id += 1; echo " - ".$info['image_id']; $sync=mysql_query("UPDATE imagetable SET image_id = $id"); echo "<BR>"; } echo " - <BR> " . $id +=1; $autoinc = mysql_query("ALTER TABLE imagetable AUTO_INCREMENT = $id"); ?> [/code]

Member Avatar
Member Avatar
+0 forum 5

[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
Member Avatar
+0 forum 5

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 a working code for this? Thanks in advance,

Member Avatar
Member Avatar
+0 forum 2

how can i create a subdomain using php? Thanks in advance

Member Avatar
Member Avatar
+0 forum 8

how can i create an email address under my domain using php?

Member Avatar
Member Avatar
+0 forum 1

[code=php]<? //inbox.php $data = mysql_query("SELECT * FROM mailbox WHERE `index` <= $index_end and `index` > $index_start") or die(mysql_error()); $info = mysql_fetch_array( $data ); if($info['read'] == 0) { echo "<span class=\"tableStyle\">"; $tabColor = "tableStyleNew"; } else { $tabColor = "tableStyleOld"; } //print table start echo "<table class=\"$tabColor\" bordercolor=\"#FFFFFF\" border=\"1\" cellpadding=\"0\" cellspacing=\"1\" align=\"center\"> <tr> <td width=\"109\">"; echo $info['UserName']; echo "</td> <td width=\"462\">"; //print subject and message preview $sub_msg = "<strong>" . $info['subject'] . "</strong> - " . $info['message']; if(!$info['attachment'] == NULL) echo "&nbsp;<img src=\"attachment.gif\" /> "; echo "<a href=\"view_message.php\"&nbsp;"; echo "onclick=\" <?&nbsp;openmail(); ?> \"&nbsp;"; echo ">" . substr($sub_msg,'',50) ."...</a>"; //print value send …

Member Avatar
Member Avatar
+0 forum 4

Hi. im a beginner in php, following is my site [url]http://www.peipians.com/[/url] i want you people to check it help me by suggesting any modifications... plzzzz :)

Member Avatar
Member Avatar
+0 forum 4

The End.