Question about The PHP Group PHP

2 Answers

PHP problem Hi, Just started fiddling around with PHP, I created 2 files, but I can't seem to get them to "talk" to each other. What am I doing wrong?

Posted by on

2 Answers

  • Level 1:

    An expert who has achieved level 1.

    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.

  • Contributor
  • 30 Answers

Hi Jhon,

Did you start the session?

This is done with the code line - <?php session_start(); ?>

Welcome to the world of PHP,
enjoy your stay.

Posted on Aug 06, 2008

  • Level 1:

    An expert who has achieved level 1.

    Hot-Shot:

    An expert who has answered 20 questions.

    Corporal:

    An expert that has over 10 points.

    Mayor:

    An expert whose answer got voted for 2 times.

  • Contributor
  • 71 Answers

Could you give me more info plz

Posted on Jul 30, 2008

Add Your Answer

Uploading: 0%

my-video-file.mp4

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

×

Loading...
Loading...

Related Questions:

1 Answer

Hi, how do i call a javascript function from a separate file from my php file? I do it like this but aint working... php file --------------------- &lt;?php echo "&lt;script...


try this

<html>

<head>

<title>Test</title>

<script src="test.js" type="text/javascript"></script>

</head>

<body>

<?php

echo '<script type="text/javascript">someFunction();</script>';

?>

</body>

</html>


Good Luck

Dec 10, 2010 | The PHP Group PHP

Tip

How can you crate setup file or .exe using QT platform



We are developing software but we are unable to run in others PC/Computer. As we know that QT is Platform Independent and Open source Software, which is use Nokia to develop Mobile Application.

Needs:
  • Qt
  • Setup creator
  • libgcc_s_dw2-1.dll
  • mingwm10.dll
  • QtGuid4.dll
  • QtCored4.dll

Procedure:
  • When you start a project then automatically qt creates 2 folders within main Directory. One is "Debug" and another is "release".
  • If we are want to run application in other PC then we need ".dll" files and combined them.
  • Open My Computer and go to the "Installation Drive" where QT is installed.
  • Find out the Main Directory of the QT. If you install in "c:" then go to the c drive and open "qt" folder and get a directory name as "2010.01"
  • When you open "2010.01", then you can see another directory as "qt" open it.
  • You click on Search option from the "Standard Button" bar and type the libgcc_s_dw2-1.dll file and search it. When you find it copy the file and paste into your Project Directory's "Debug" folder. Do same things for another three ".dll" files.
  • After that you can run your application by the .exe file. Does not need to open Qt and open your project then run.
  • Now you can simply copy the project Directory and paste into other PC and open Directory and run it.
  • Or you can create a shortcut on the desktop as others software. From where you can run it by Click.

Deploy and Packaging:

If you want to create a setup file as other software, need to install it. Then -
  • First download a file "icinst", it's free. After that install it.
  • After that open it from start programs and windows will be come where you select your Project Directory and do "Next".
  • You can create a License Agreement as others software.
  • Do as per the given Instruction.

Note: Before create a setup file you must be collect all dll files and paste in "debug" folder


Imon Saha

on May 16, 2011 | Compilers & Programming Tools

2 Answers

Whether i should host my webpagescreated using php into internet to send mail


Hi,You can host your web pages created with this site's best hosting plans, I am also using this http://www.thewebpole.com/ site only for my website site publish at just $1.99 per year .

Mar 09, 2010 | The PHP Group PHP

1 Answer

How to create a chat code or messenger code in php


Are you asking how to start coding a chat program in php or are you asking for code?
If it is code you want - you may wish to look at one of a number of Open Source projects that already do what you want.
http://opensourcescripts.com/dir/PHP/Chat/ has a list of projects that include PHPOpenChat and phpFreeChat. Some use AJEX and PHP others... use other methods.

Jan 27, 2010 | The PHP Group PHP

2 Answers

Php counter


You might want to note that this is not the most effective manner of creating a counter in PHP. On a few of my websites, I find it is much more effective to simply create a text file, eg. counter.txt and have PHP read that every time the page is loaded, instead of running a MySQL query. Then, have PHP also update the counter.txt file by adding 1 to the number already listed in the file and read to the user.

Mar 19, 2009 | The PHP Group PHP

1 Answer

Database talks to code but code won't talk to database


Make sure you are connecting to the database,then just before you call your sql to insert use an echo statement to display the sql and check it for syntax:-
$sql = 'insert into table1 values('.$no.','.$no.',"block","'.$value3.'", "'.$value4.'")';
echo "SQL ==>" STARTOFSQL<br>".$sql." ENDOFSQL<br>";

Jan 18, 2009 | The PHP Group PHP

3 Answers

PHP Tags


hi,
if you want to be experienced with php programming language i think you should learn HTML and CSS and have some basic understanding about JAVASCRIPT , then you can start learning php.
the best website to learn php language is w3schools .

Good luck,

please don't forget to rate this post

Sep 07, 2008 | The PHP Group PHP

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 Version


Create a PHP file with only the line of code below, and run it on your server, this should give you all the information you are looking for.

<?php phpinfo() ?>

Jul 29, 2008 | The PHP Group PHP

2 Answers

Flash Buttons


After creating a Flash movie you choose File > Save As from the top menu to save your movie. Save the file as "Somefilename.fla".
To embed the Flash movie you just made into an HTML page, you should go back to your Flash program and do the following steps:
Step 1
Choose File > Open. Open a Flash movie you have created.
Step 2
Choose File > Export Movie.
Step 3
Name the file "somefilename.swf". Choose the location where the file is to be stored (in your Web folder). Click OK.
Step 4
Open the HTML page where you want to insert your Flash movie. Insert this code:
<object width="550" height="400"> <param name="movie" value="somefilename.swf"> <embed src="somefilename.swf" width="550" height="400"> </embed> </object>

Feb 14, 2008 | Compilers & Programming Tools

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

Related Topics:

90 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...