Jump to content

inversesoft123

Members
  • Posts

    334
  • Joined

  • Last visited

Contact Methods

  • Website URL
    http://www.inversesoft.com/
  • Yahoo
    inversesoft

Profile Information

  • Gender
    Male
  • Location
    Pune India

inversesoft123's Achievements

Member

Member (2/5)

0

Reputation

1

Community Answers

  1. This usually happens when you do AJAX Calls I am sure when you click on button there is an ajax call to the wizard.php page. The quick solution will be save name attribute to the session from index.php page $_SESSION['name'] = $_GET['name']; when you read name from session on wizard.php page unset the variable from session unset($_SESSION['name']);
  2. Modify your .htaccess and tell it to ignore certain folders RewriteEngine On RewriteRule ^(sf|otherfolder|morefolders)($|/) - [L] RewriteRule ^product/([0-9]+)/(.*).html$ detail.php?id=$1 [L] for multiple folders use PIPE "|" symbol.
  3. As per my understanding you want to concurrently run many files at a same time. This can be achieved by using pThreads. Learn More.. https://www.php.net/manual/en/book.pthreads.php In order to use pthreads you need to compile PHP with ZTS (Zend Thread Safe)
  4. Hello trim it and check it is blank or no. if(trim($_POST["haddy") != "") {
  5. Fixed I just enabled mod_rewrite for SSL by editing vhost.conf or (ssl.conf may be in your case) <Directory /home/wwwdir/public_html/> AllowOverride All </Directory> Finally Resolved
  6. Hello All, I have mod_rewrited working properly but when I enabled SSL it stopped working. Please help me its really frusterating now RewriteEngine On RewriteCond %{HTTPS} !=on RewriteRule (.*) https://%{SERVER_NAME}/$1 [R,L] RewriteRule ^shorter/(.*)$ shorter.php?longurl=$1 [L] RewriteRule ^([0-9a-zA-Z]{1,6})$ redirect.php?url=$1 [L] RewriteRule (.*)playlist.xml$ playlist.php [L] # Playlist RewriteRule ^(.*)/$ /index.php?page=$1 [L] RewriteRule ^(.*)/(.*)/$ /index.php?page=$1&id=$2 [L] RewriteRule ^(.*)/(.*)/(.*)/$ /index.php?page=$1&id=$2&no=$3 [L] RewriteRule ^(.*)/(.*)/(.*)/(.*)/$ /index.php?page=$1&id=$2&no=$3&trkid=$4 [L] RewriteRule ^(.*)/(.*)/(.*)/$ /index.php?page=my_profile&code=$2&state=$3 [L] In this site redirects properly to https but it do not work with permalinks http://www.domain.com/music/ << was working fine https://www.domain.com/music/ << Now stopped I Tried RewriteRule (.*)playlist.xml$ https://%{SERVER_NAME}/playlist.php [L] # Playlist #AND Optionally RewriteRule (.*)playlist.xml$ https://www.domain.com/playlist.php [L] # Playlist But no success Please help
  7. The 'like' query can have the possibility of returning more matches, especially if the argument it is given has the proper wildcards in it. '%PHP%', for instance, will match 'PHPFREAKS' and 'PHP', but as a literal it will not match anything that doesn't have the percent signs in those specific spots. In else part you may have records in DB with exact match.
  8. Read instructions carefully. Also check file permissions for specific folders as per joomla instructions. This may help you http://docs.joomla.org/Verifying_permissions
  9. Solved there were multiple sessions registered on my firefox browser so PHP was unable to start 3rd session as a limitations
  10. I tried many ways but unable to pass sessions to virtual subdomains on my site.. I edited ihi.ini file and included session.cookie_domain = .mydomain.com I like to add that session is active on my main domain for www.mydomain.com only.. So how do I pass sessions for WWW to other subdomains ? Thanks n Advance
  11. what value is assigned to variable $dyn_www ????
  12. Working with the email servers can be handled in multiple ways. It can't be done with single page of code. You need to use php or apache handlers in a such ways that they can work as a mail server. However there is a more easy approach to do this by reading mails using POP server and sending mails with SMTP with few lines of code. you you need to be sure which method you have to follow and start developing it in a systematic way. this google search string will help you more regarding this "using php to read pop emails". I found tons of results using this.
  13. okay i got it now, use php or htaccess or ini file to set default include path.. on single page by using php you can do somthing lke this. http://www.geeksengine.com/article/php-include-path.html
  14. OOPHP is an approach of "include and reuse". Objects simplify web development by eliminating the need of cut, paste and adopt existing code. So as far as principle of programing languages is considered OOPHP will provide us some advanced features of php like reusability inheritance etc etc. Speaking Specifically, One of the new classes included in OOPHP like SimpleXMLElement class. With this class you can incorporate RSS feeds into a web page using very few lines of code. Additionally without a minimal understanding of the masics of OOPHP, you can use full use of the capabilities of PHP5. For instance, If you want to create SOAP client, there is a no other way to do it than by using the SOAPClient class. There is a no need that once you start programming using OO approach you need to always code in this way. OOPHP approach can be used when you want because we can use FULL functional PHP5 by this approach.
×
×
  • 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.