Jump to content

zohab

Members
  • Posts

    223
  • Joined

  • Last visited

Profile Information

  • Gender
    Male

zohab's Achievements

Advanced Member

Advanced Member (4/5)

0

Reputation

  1. Sorry forgot to mention in last post. I am using XAMPP 1.7 on windows 7
  2. Hi, I am working on php email functionality using pear with the help of below article. http://www.cyberciti.biz/tips/howto-php-send-email-via-smtp-authentication.html It is working fine. But when I change "From" address other than my domain email address then it stop working. for example $headers["From"] = 'myname@mydomain.com'; -- working $headers["From"] = 'myname@otherdomain.com'; - not working. myname@otherdomain.com is working and I am able to send email separately. Any idea about this problem. - Thanks
  3. This will create array but structure will not be the require one. Following is the require array structure. <?php $resultSet[]=array ( ('0') =>array ( ('col10value1') => array ( ('0') => array ( ('col1') => 'col1', ('col2') => 'col2', ('col3') => 'col3', ('col4') => 'col4', ('col5') => 'col5', ('col6') => 'col6', ('col7') => 'col7', ('col8') => 'col8', ), ('1') => array ( ('col1') => 'col1', ('col2') => 'col2', ('col3') => 'col3', ('col4') => 'col4', ('col5') => 'col5', ('col6') => 'col6', ('col7') => 'col7', ('col8') => 'col8', ), ), ), ('1') => array ( ('col10value2') => array ( ('0') => array ( ('col1') => 'col1', ('col2') => 'col2', ('col3') => 'col3', ('col4') => 'col4', ('col5') => 'col5', ('col6') => 'col6', ('col7') => 'col7', ('col8') => 'col8', ), ), ), ); ?>
  4. Hi, I have attached sql script for table structure and sample data. When I run following sql query ,I get result set. select * from tablename order by col10 desc I want to create array using result set. Following is the require structure of array. <?php $resultSet[]=array ( ('0') =>array ( ('col10value1') => array ( ('0') => array ( ('col1') => 'col1', ('col2') => 'col2', ('col3') => 'col3', ('col4') => 'col4', ('col5') => 'col5', ('col6') => 'col6', ('col7') => 'col7', ('col8') => 'col8', ), ('1') => array ( ('col1') => 'col1', ('col2') => 'col2', ('col3') => 'col3', ('col4') => 'col4', ('col5') => 'col5', ('col6') => 'col6', ('col7') => 'col7', ('col8') => 'col8', ), ), ), ('1') => array ( ('col10value2') => array ( ('0') => array ( ('col1') => 'col1', ('col2') => 'col2', ('col3') => 'col3', ('col4') => 'col4', ('col5') => 'col5', ('col6') => 'col6', ('col7') => 'col7', ('col8') => 'col8', ), ), ), ); ?> [attachment deleted by admin]
  5. Hi, I want to show different url to my users when they access my site. example 1.I will call http://www.example.com/blog1 page but user will se http://www.example.com/ in browser 2.I will call http://www.example.com/blog1/user1profile page but user will se http://www.example.com/ in browser
  6. Hi all, I have an array as follow. Array ( [0] => orange [1] => banana [2] => apple [3] => raspberry ) I want to convert it to key value array. Array ( [orange] => banana [apple] => raspberry ) How can i implement it dynamically(using for loop or any other solution). Any idea?
  7. yes i have restarted apache. still i am getting same error message. "You probably tried to upload too large file. Please refer to documentation for ways to workaround this limit." can u tell me how to import 20-50 mb file in mysql DB with "mysqldump" one example
  8. hi i have change following settings max_execution_time = 100 ; Maximum execution time of each script, in seconds max_input_time = 100 ; Maximum amount of time each script may spend parsing request data memory_limit = 100M ; Maximum amount of memory a script may consume (16MB) still when i am uploading big file around 20-30mb it is giving following error message "You probably tried to upload too large file. Please refer to documentation for ways to workaround this limit.'
  9. i have full access to server can u tell me which setting i have to change/modify i which file i have to do the changes
  10. hi all i have 20 mb sql file. in this file i have all tables and data. i have exported it with phpmyadmin. now when i trying to import it with phpmyadmin it shows me following error messages " You probably tried to upload too large file. Please refer to documentation for ways to workaround this limit. "; where i have do the changes to solve this problem. any ideas? thanks in advance zohaib.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.