Question about The PHP Group PHP

1 Answer

PHP Errors I having a few php errors in my code, but I still want to upload the code to my site, is there a way to make these errors not to show an error messages?

Posted by on

1 Answer

  • Level 2:

    An expert who has achieved level 2 by getting 100 points

    MVP:

    An expert that gotĀ 5 achievements.

    Governor:

    An expert whose answer gotĀ voted for 20 times.

    Hot-Shot:

    An expert who has answered 20 questions.

  • Expert
  • 53 Answers

Hello, if you are using some engines (as joomla, mambo...) on global site configuration (Show errors) you can turn it off. If you can control your database configuration on your hosting, turn of display errors tag.

Posted on Sep 09, 2008

Add Your Answer

Uploading: 0%

my-video-file.mp4

Complete. Click "Add" to insert your video. Add

×

Loading...
Loading...

Related Questions:

1 Answer

I have a pice of code i want to put in my web page how do i do it


Your web page must have a .php extension (and your provider must support PHP). Then, your code must output something, even a simple

print "Hello, world";

at this point, you modify your web page so that the HTML code, at some point, reads

<?php
Your code
?>

and at that point you'll see in the browser the output of said code; or possibly an error. Remember that if your provider chose to not let users (that includes you!) see any errors, you'll see absolutely nothing. In this case my suggestion is to start simple, or download a WAMP installation to try the code at home on your PC before uploading to your website.

Mar 28, 2010 | The PHP Group PHP

1 Answer

Please i want php script for image uploading in to wordpress upload folder


when you add a page or post from wordpress admin you get a image icon above the description textarea box to add images to the wordpress site

Other way is there is media manager in wordpress admin where you can upload images through that and make the gallery of images

Mar 08, 2010 | The PHP Group PHP

1 Answer

Integrating JavaScript within PHP....


If you're trying to do this with PHP, you might be more successful creating an initial page with the buttons that should be enabled at the start (New, Update, Delete), and then create a sub-page that displays a different form depending on the action the user selected previously. This way, the user only sees the buttons relevant to his/her current action. Here's some beginning code to help you out:

<?php

$action = $_POST['action'];

if($action == 'new')

{
//display the form for creating a new conference leader
}

else if ($action == '$update')

{
//display the form for updating a conference leader
}

et cetera.


Each sub-form would be processed by a third-level page (e.g. handle_create.php, handle_delete.php, etc.)

Oct 03, 2008 | The PHP Group PHP

1 Answer

PHP Guestbook Error


There's supposed to be a file named LouisSahagunGuestbookdb.php in the /home/content/p/l/a/planet9/html/LouisSahagun/ directory and there isn't any.

Sep 10, 2008 | The PHP Group PHP

1 Answer

PHP Blank Screen


Hi,

can you send me the source code of that webpage ?

Thanks.

Sep 03, 2008 | The PHP Group PHP

1 Answer

Error PHP


you have to start with <?php tag before writing your php code and close it with ?> in the end of your php code .

Sep 03, 2008 | The PHP Group PHP

1 Answer

PHP Error 500


Internal Server Error 500 is usually caused by either a malformed cgi script or an invalid directive in an .htaccess file located either in the same directory as the page throwing an error, or in any directory above it.

Have you recently uploaded or editted an .htaccess file that includes mod_php related directives such as php_value ..., php_flag ...?

If you did start your search there.

Aug 26, 2008 | The PHP Group PHP

2 Answers

Mysql Report Error


An example of getting feedback from MySQL about a PHP problem -

mysql_connect("my.site.com", "username", "password")
This can also be done with this code -
die(mysql_error())

Each of the above lines will return the errors, if you have problems connecting to your MySQL database.
There are many more ways, this is just a taste.

Jul 29, 2008 | Sun MySQL

2 Answers

Do i have PHP?


Hi moll,

1.Create a blank file and call it "myfile.php" – The file must end with the ".php"
2.Use only this line of code -
<?php
phpinfo() ;
?>

3.Save the file and upload the file to your website server.
4.Go to www.mywebsite.com/myfile.php
If you see the line of code you wrote, it means you can't run PHP, if you see the PHP information it means you can run PHP on your server.

Jul 29, 2008 | The PHP Group PHP

2 Answers

PHP Error


This error means that the program doesn't understand the code you wrote.

If you are lucky the error points to the file and the line number where PHP got confused. Sometimes PHP points directly at the error, but other times PHP is confused as a result of an earlier error in the script.

Welcome to the great world of PHP.

Jul 27, 2008 | The PHP Group PHP

Not finding what you are looking for?
The PHP Group PHP Logo

Related Topics:

460 people viewed this question

Ask a Question

Usually answered in minutes!

Top The PHP Group Compilers & Programming Tools Experts

Robin Hill
Robin Hill

Level 3 Expert

1251 Answers

Mike

Level 3 Expert

4331 Answers

Mishan Kasiparsad

Level 2 Expert

142 Answers

Are you a The PHP Group Compiler and Programming Tool Expert? Answer questions, earn points and help others

Answer questions

Manuals & User Guides

Loading...