answersLogoWhite

0

PHP Programming

Questions about the PHP programming language; How and when to use it, implementing techniques, debugging and handling errors, and general questions about PHP itself. For questions about software made with PHP, that do not deal with the manipulating, reading, or learning about the actual code, see the Computer Software category.

845 Questions

When i want install joomla1.5 in c panel i receive the message as the file already exists want remove that files manually but i deleted that still it shows the error message what can i do?

Probably a bug in browser. Delete all Cookie and Session Data using Clear History and then restart your browser and server. It would be better to restart the whole PC after cleaning browser data

How do you add bookmark button in php website?

You could use the AddThis.com service.

In fact, I just wrote an article about it a few days ago, with the instructions.

The link is below, under Sources and related links.

What is Wolf CMS?

Wolf CMS is a PHP-language content management system that began development in July 2009. Its final release date has not been discussed, due to its early state in development. The developers aim for Wolf CMS to have a lightweight and fast core, but have features available to further extend and fully customize the needs and desires a content management system should fulfill. More up-to-date and narrowed information can be found at their website, found in the related links.

Why should I turn to Magento eCommerce?

Reasons to choose magento :

  • Highly Modular Architecture.
  • SEO Friendly
  • Highly Scalable
  • Well Structured Admin Control Panel
  • Magento is Secure

Research on advantages and disadvantages of php hypertext preprocessor?

Advantages: Easy to maintain and Less time wasted if you needed to change one script Disadvantages: Time-Consuming when you're converting and con't work in DW properley.

Why facebook using PHP?

What every big company uses PHP for- To avoid lawsuits & also the fact that is it open source. Think of Android which got Google a lawsuit filed against them just for using java which somehow Oracle bought with their power. The open-source languages & technologies like C, C++, PHP, PERL among others appear so out of touch but when you use it with other freely available languages & databases like mysql, xml, javascript, ajax, json they become a power-house which even the top technologies like JAVA & .NET cannot measure upto

Which companies offer web hosting for PHP and MYSQL?

PHP and MySQL are two of the important technologies in today's technical world. There are many companies that offer web hosting for PHP and MySQL. Some of these companies are WordPress, Zymic, b2evolution, 000webhost, freehostia, prchecker, siteground etc. Some of these companies offer free web hosting services.

How do you get data from a MySQL database with PHP according to a method id?

For example if we have database named "users", and we need user information from table "user_info", which has next parameters: 'userId', 'userName','Name','Age'. $sel = mysql_query("SELECT * FROM users.user_info WHERE userId='$methodId'"); $ar = mysql_fetch_array($sel); echo "

User Id is:".$ar['userId'].", UserName: ".$ar['userName'].", Name: ".$ar['Name'].", Age: ".$ar['Age']."

";

11 What is a comment line How is a comment line noted within a file?

A comment line is a line or part of a line in a program that is intended as a remark or comment and is ignored when the program runs. It is noted within the file by using a semi-colon or an REM to mark a line as a comment.

Can you select MySQL as a backend database for bsc it project?

That depends on your project. If your project has simple database, tables and queries then mysql would be the ideal choice. If there is complexity involved then use of mysqli or PDO is better.

What are the legal issues on selling a PHP application?

There are no legal issues associated with selling a PHP application, aside from those associated with selling any software.

How do you connect db2 and mysql?

Take a shot at adoDB - find it here: adodb.sourceforge.net

How do you install PHP as a CGI?

The PHP website has a comprehensive online manual that can explain most aspects of PHP, including its installation. See the related links for a constantly-updated PHP installation guide.

Which is better for website background PHP or aspnet Which is more promising?

  1. PHP is open-source & can run on linux servers so it is definitely cheaper. Most of the big websites like Yahoo, Youtube, Facebook & Wikipedia use php scripting & mysql database.
  2. Perhaps the main benefit of ASP.NET is Visual Studio which does most of the work automatically for you. The ASP.NET controls are separate from the c#/vb code so that is worth noting.
  3. For beginners when it comes to database mysql is definitely way better but complex queries are better performed using built in methods for MS-SQL. For mysql complex queries have very complex coding which will put off beginners
  4. PHP better integrates javascript & AJAX while you have to write a bit of code in ASP.NET

At the end of the day PHP is faster when it comes to processing data but ASP.NET supports RAD(Rapid Application Development). Ultimately it is up to the user which he one wants to use

What is a PHP parser?

PHP is a programming language, and parser specifically is part that reads human-readable representation of code to generate parse tree and later opcode representation of code that can be interpreted by php interpreter.

What is the difference between magento and PHP and MySQL?

MySql is a database application of programming for developers, PHP is the web server scripting language for developers, application of programming.

Whereas Magento is a eCommerce software platform for customers , which is built upon PHP and Mysql by developers.

What is the database not found error in PHP with MySQL?

It would mean the database you are trying to select in your PHP script couldn't be found, you will need to check to see if you are using the correct details.

What data will be inpted in a restaurant database?

There are several pieces of data that are inputted into a restaurant's database. These include reservations, the food orders, as well as the inventory of supplies.

How do you retrieve external webpages using PHP?

Use the URL to open the resource as a stream (like you would open any local file by name)

$file = fopen("http://www.google.com/", "r");

fpassthru($file); // or fgets etc...

fclose($file);

see .

What are tokens in drupal?

The tokens available depends on what modules you have enabled on your Drupal site. To view a list of the currently available tokens on your site, you can navigate to the Help > Token (admin/help/token) page.

If the above path is not available on your system be sure that the core help.module is enabled.

Can safari open php files?

PHP is processed on the server side, not the browser side. This means that any browser (including Safari), never actually opens a PHP file (unless it's loaded locally rather than served from the web, in which case it would be read as a plain text file). Instead, it receives the output from the server that contains the PHP file.

For example, if you have a PHP file that reads like this:

<?php echo "<html>\n<body>\nI am the lizard queen!\n</body>\n</html>"; ?>

Safari would actually see it as plain HTML, like this:

<html>

<body>

I am the lizard queen!

</body>

</html>

It would never actually see the PHP code itself.