Jump to content

veeraa2003

Members
  • Posts

    14
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

veeraa2003's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. Hello everybody, I'm new dude using PHP5 in linux. Here my problem is while I'm using ($_REQUEST["action"] method I got the following error/warning message... Notice: Undefined index: action in /var/www/html/intra/initial.php on line 5 My code on line 5 is: if ($_REQUEST["action"] == "delete" and trim($_REQUEST['id']) <> "") { $result = @mysql_query("DELETE FROM ".$tablename." WHERE id = '".trim($_REQUEST['id'])."'"); } I'm using PHP5 in linux environment. And is it the problem with register_globals = Off register_long_arrays = Off . But I changed this to vars to On in my php.ini. Is there any other variables to change. And the next thing whether the above message is a error message or warning message, If it is warnings how to disable this warings using my php.ini file. Let me know the particular variable to disable for not getting only warnings. Thanks in advance. Veeraa. Is there any mistake pls forgive me.
  2. Hello every body, I'm new person to linux. I already installed PHP5 and MYSql on my system. Now I installed Ruby on the same system. I dont know how to start Ruby in my system . Cos when I create a file with the extension of .rb in my localhost directory (/var/www/html/XXX.rb). And run through my browser but It show my ruby code only not the output. I followed the same steps as viewing a PHP file, to view my ruby file like Starting apache. viewing through localhost...etc. Is there any other procedure to view my output of the ruby file But when I try with shell prompt I got the output like. [root@dhcppc0 ~]#env ruby print "Hello\n"; ^D Hello [root@dhcppc0 ~]# And my ruby installation details; [root@dhcppc0 ~]# rpm -qa | grep ruby ruby-devel-1.8.5.2-1.fc6 ruby-mode-1.8.5.2-1.fc6 eruby-libs-1.0.5-6.1 eruby-1.0.5-6.1 ruby-libs-1.8.5.2-1.fc6 ruby-1.8.5.2-1.fc6 [root@dhcppc0 ~]# Thanks in advance...
  3. Actually I'm running an ads web. This fact affect both of my advertisers and my publishers. Now I need to find out a complete solution. So if there any possiblility to get my ads with out filtering please provide the solution. Its also my business honesty.
  4. Hello everybody, I am really unable to figure out how to get my ads in my site to show through my firewall. My firewall scrrens them out. I expect the same is true for a percentage of my site visitors. Reconfiguring my firewall to avoid filtering the Javascript is not the answer. Because my site visitors will not go through the trouble to disable their firewalls in order to see my ads. Is there a way to display my ads so the firewalls do not filter them out? I have seen some sites that are able to display ads which are not filtered out by firewalls. How is this done??
  5. [quote author=thorpe link=topic=123821.msg512258#msg512258 date=1169646447] Take a look in your php.ini file. Probably within /etc/php. Check it to make sure error reporting is on and that display errors is also on. [/quote] Thank You for kind reply. I checked the php.ini. I had seen as like you said. I changed to display error. Now I can get error message. I'm begineer to PHP in Linux so only I asked this type of questions . Dont mind it. Once again Thank you for your help....
  6. Hello every one ! I'm beginner using PHP in Linux environment . [b]I installed PHP5 in my federo6 system . [/b] but while executing a PHP file in mozilla web browser I can't get the proper result. If I put any error in my php coding, it didn't show any error message just the page goes blank. I used the rpm to check out installation. [root@dhcppc0 ~]# rpm -qa | grep -i php php-mysql-5.1.6-3.3.fc6 php-mbstring-5.1.6-3.3.fc6 php-mcrypt-5.1.6-1.fc6 php-cli-5.1.6-3.3.fc6 php-ldap-5.1.6-3.3.fc6 php-pear-1.4.9-4 php-pecl-xdebug-2.0.0-0.3.RC2.fc6 php-Smarty-2.6.13-1.fc6 php-pdo-5.1.6-3.3.fc6 php-5.1.6-3.3.fc6 php-bcmath-5.1.6-3.3.fc6 php-mhash-5.1.6-1.fc6 phpMyAdmin-2.9.1.1-2.fc6 php-devel-5.1.6-3.3.fc6 php-common-5.1.6-3.3.fc6 php-gd-5.1.6-3.3.fc6 php-xml-5.1.6-3.3.fc6 gphpedit-0.9.91-3.fc6 [root@dhcppc0 ~]# whats the problem with my PHP5. Whether I need to install some thing else .
  7. [quote author=kevinkorb link=topic=122952.msg509906#msg509906 date=1169404857] At the very top of your php file. [/quote] That nice ... Now no problem on my import. Thanks for your reply .......................
  8. Hello every body I'm new person using Linux person. I need PHP editor in Linux platform  like Macromedia Dreamweaver . Can anyone suggest these type of editors and their free download links .
  9. [quote author=thorpe link=topic=123104.msg509417#msg509417 date=1169347661] Have you got mysql installed on this same machine? If the command [i]mysql[/i] is not found, chances are you don't have mysql installed. [/quote] Hello , Thank you for ur kind reply, I found the problem with your help , The problem is due to some configuration mismatch . Now I reinstalled mysql and now working properly once again thank you for kind and very useful replies
  10. Hello everybody........ I used session function to start it in my PHP page . I got some error , Please give some ideas to rectify it. I provided both of sample of my code and error message. Please go through it . [code] <?php ini_set('mbstring.internal_encoding', 'UTF-8'); ini_set('mbstring.http_output', 'UTF-8'); ini_set('mbstring.detect_order', 'UTF-8'); ini_set('mbstring.substitute_character', '12307'); // When did we start? define('START_TIME', microtime(true));     $sys_path = str_replace('/system', '', dirname(__FILE__)); // Setup paths define('DS', DIRECTORY_SEPARATOR); define('ROOT', $sys_path); define('APP', ROOT . DS . 'app'); define('APP_MODELS', APP . DS . 'models'); define('APP_CONTROLLERS', APP . DS . 'controllers'); define('APP_VIEWS', APP . DS . 'views'); define('SYS', ROOT . DS . 'system'); define('SYSDRIVERS', ROOT . DS . 'system' . DS . 'drivers'); define('LIB', ROOT . DS . 'lib'); define('CONFIG', ROOT . DS . 'config'); define('SESSION_USER', 'user'); echo ROOT; session_save_path(ROOT . DS . 'tmp' . DS . 'sessions'); session_name(SESSION_USER); session_start(); ?> [/code] And the errors are here........ [color=red] /opt/lampp/htdocs/askpert/public Warning: session_start() [function.session-start]: open(/opt/lampp/htdocs/askpert/public/tmp/sessions/sess_b3654529b951ba4f34b61d78e9a19194, O_RDWR) failed: Permission denied (13) in /opt/lampp/htdocs/askpert/public/veeraa.php on line 28 Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /opt/lampp/htdocs/askpert/public/veeraa.php:25) in /opt/lampp/htdocs/askpert/public/veeraa.php on line 28 Warning: Unknown: open(/opt/lampp/htdocs/askpert/public/tmp/sessions/sess_b3654529b951ba4f34b61d78e9a19194, O_RDWR) failed: Permission denied (13) in Unknown on line 0 Warning: Unknown: Failed to write session data (files). Please verify that the current setting of session.save_path is correct (/opt/lampp/htdocs/askpert/public/tmp/sessions) in Unknown on line 0 [/color]
  11. Hello sir ,, Thank you for your instant reply. Yes sir , My database is in the same machine . Its in a text file with the extension of .sql. its a 184MB database. And how can I import through terminal window. using mysql command I got the error of " mysql command not found . for more details refer my previous question, Thanks in advance
  12. Hi Thanks for your kind replies . I can't overcome the above problem. where I should put this code ; ini_set('MAX_EXECUTION_TIME', -1); My database is in a textfile with the extension .sql
  13. Hi every body ... I'm beginner in using LAMPP, I got the error while try to import a big SQL (184 MB) in to SQLMyAdmin , Fatal error: Maximum execution time of 300 seconds exceeded I try to import the database through terminal window. while use this command I got error as mysql : command not found mysql -u "username" root -p "password" < filename.sql can any one help to overcome this .
  14. Hi every body ... Its me veeraa , I'm beginner in using LAMPP, I got the error while try to import a big SQL (184 MB) in to SQLMyAdmin , Fatal error: Maximum execution time of 300 seconds exceeded I try to change the value of [color=red]memory_limit = 184M[/color] and [color=red]max_execution_time = 0[/color]  in Php.ini file and restart the lampp. But still got the problem, Now using the option of partial import, its consuming more time . can any one help with other option.. I think i explained my problem upto my level . If any mistake on this please forgive me .
×
×
  • 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.