Forum: PHP Jul 4th, 2007 |
| Replies: 1 Views: 1,803 I don't see where you are grabbing the submitted data. Normally this would be something like:
$wavName = $_POST['wavName'];
The submitted data may be in $_POST or in $_REQUEST. Try... |
Forum: PHP Jul 4th, 2007 |
| Replies: 2 Views: 1,062 I've used cURL to log into a clients secure site and generate downloads for the clients' customers. Does that answer your question or did I not understand? |
Forum: PHP May 14th, 2007 |
| Replies: 26 Views: 11,799 I think its great. It's to the point and succinct. It makes it look easy (which it is for the most part). If somebody has a problem, then its a good reason for them to post and everyone can benefit... |
Forum: PHP May 14th, 2007 |
| Replies: 3 Views: 1,129 I think you should consult the php site. Some useful resources:
http://www.php.net/manual/en/tutorial.php
http://www.php.net/manual/en/langref.php
http://www.php.net/manual/en/security.php... |
Forum: PHP May 14th, 2007 |
| Replies: 2 Views: 1,277 For some reason the forum module is redeclaring the <html> and <head> sections of the document. The forum is there, but the browser won't display it because of the html errors. You should probably... |
Forum: PHP Apr 14th, 2007 |
| Replies: 2 Views: 1,413 <input type="submit" value="att1">
and in your php do:
if($_POST['submit'] == "att1") {
do stuff...
} |
Forum: PHP Apr 12th, 2007 |
| Replies: 4 Views: 2,026 Are you sure the query is returning results? Are the results an array?
print_r($sqlProject); so you know the query looks lik you think it should. Try running that query in phpMyAdmin and see what... |
Forum: PHP Apr 11th, 2007 |
| Replies: 7 Views: 1,918 I think it's because the server accepts asp style code tags as php tags, in other words the server is try ing to parse <?xml... ?> as php.
So try this:
<?php echo '<?xml version="1.0"... |
Forum: PHP Apr 9th, 2007 |
| Replies: 2 Views: 2,955 You need to learn about arrays and loops.
http://www.php.net/manual/en/language.types.array.php
http://www.php.net/manual/en/ref.array.php
... |
Forum: PHP Apr 9th, 2007 |
| Replies: 1 Views: 1,238 It looks like the value of the 'stat_pts' field in the database is zero, or possibly you have the field name wrong. Change it to this and you will be able to figure it out i think:
function... |
Forum: PHP Apr 9th, 2007 |
| Replies: 2 Views: 961 You should post several lines of code before the line mentioned in the error + the line mentioned in the error. If possible post a "complete statement", ie a section of code that is more or less... |
Forum: PHP Apr 5th, 2007 |
| Replies: 3 Views: 10,685 http://us.php.net/manual/en/function.shell-exec.php |
Forum: PHP Apr 2nd, 2007 |
| Replies: 12 Views: 3,166 Make a page for viewing profiles, that won't show anything that is private or allow any edits. This page you can pull the username from the page link.
Then make a seperate page only for editing.... |
Forum: PHP Apr 2nd, 2007 |
| Replies: 12 Views: 3,166 Man I can't believe i missed that echo in the first post. I thought you were in html mode...
You don't want to call your include that way. This is kind of backwards but try it:
... |
Forum: PHP Apr 2nd, 2007 |
| Replies: 21 Views: 8,580 I ran out of time on the other post ;_;
/cakecalendar/
/app/
/config/
/controllers/
/locale/ |
Forum: PHP Apr 2nd, 2007 |
| Replies: 12 Views: 3,166 index.php?page=userinfo?user=$session->username\
should be:
index.php?page=userinfo&user=<?php echo $session->username ?> |
Forum: PHP Apr 2nd, 2007 |
| Replies: 21 Views: 8,580 Huh?? There should only be 1 core.php to edit!
Describe your folder/directory layout for me.
Edit:
Actually, which directory do you want the calendar installed in? I figured out that you are... |
Forum: PHP Apr 1st, 2007 |
| Replies: 21 Views: 8,580 That is a warning, it doesnt necessarily mean the app is broken. As long as you are not in debug mode you won't see that. So edit /cake/app/config/core.php and change:
define('DEBUG', 2); or... |
Forum: PHP Apr 1st, 2007 |
| Replies: 2 Views: 1,031 echo "Logged in as ".$sesion->username; |
Forum: PHP Apr 1st, 2007 |
| Replies: 21 Views: 8,580 I'm assuming you have uploaded the calendar app.
Ok in /cake/app/sql/ you should find the file cakecalendar.sql. Your host probably has some way to use phpmyadmin via whatever control panel you... |
Forum: PHP Apr 1st, 2007 |
| Replies: 2 Views: 3,553 Does the server you are working on have register_globals = on ? If not (and its more secure if register_globals is off) then you will need to get the $content variable like so:
$Content =... |
Forum: PHP Apr 1st, 2007 |
| Replies: 21 Views: 8,580 Edit the file /cake/app/config/core.php and change:
define('DEBUG', 2); or it might be define('DEBUG', 1);
to:
define('DEBUG', 0);
You still need a database, once you have a database ready then... |
Forum: PHP Mar 31st, 2007 |
| Replies: 1 Views: 1,051 The webroot is the top level directory where files will be served to the web. For instance the directory structure may look like this:
/home/accountName/public_html/
In this case only files in... |
Forum: PHP Mar 31st, 2007 |
| Replies: 6 Views: 1,415 What is in the /dimensional-letters/metal/ directory? |
Forum: PHP Mar 31st, 2007 |
| Replies: 6 Views: 1,415 Look for a .htaccess file in the top directory and as long as there doesn't appear to be any passwords or other info to keep private, post it here. It may give some clues as to what's happening. |
Forum: PHP Mar 31st, 2007 |
| Replies: 21 Views: 8,580 Ok. Find the file called bootstrap.php. It should be in app/config/bootstrap.php. Now edit bootstrap.php and add the following code:
$modelPaths =... |
Forum: PHP Mar 30th, 2007 |
| Replies: 21 Views: 8,580 Pay close attention to the version number here:
That's from his page.
Hmm, it will work. You have to add the user/administrator yourself, and the style is lacking. But it works... xD
... |
Forum: PHP Mar 30th, 2007 |
| Replies: 21 Views: 8,580 Which calendar were you trying to use? and which version of cake? |
Forum: PHP Mar 30th, 2007 |
| Replies: 6 Views: 1,415 Wow... That's interesting. I think (and this will sound crazy) that your page was somehow saved as the 404 page. The header response from the server is saying 404 not found:
Date: Fri, 30 Mar 2007... |
Forum: PHP Mar 30th, 2007 |
| Replies: 1 Views: 1,954 Maybe this will help: http://www.php.net/manual/en/ref.calendar.php |
Forum: PHP Mar 30th, 2007 |
| Replies: 5 Views: 20,687 That code should not give you an ip address, unless the server isnt setup with a host name. I dont understand your problem if you are calling a page on another server you already know the other... |
Forum: PHP Mar 30th, 2007 |
| Replies: 5 Views: 20,687 echo $_SERVER['HTTP_HOST']; |
Forum: PHP Mar 30th, 2007 |
| Replies: 1 Views: 2,068 |
Forum: PHP Mar 30th, 2007 |
| Replies: 12 Views: 13,763 You really think that was a personal attack? :eek: |
Forum: PHP Mar 30th, 2007 |
| Replies: 21 Views: 8,580 Where is your site hosted? The majority of issues that people have with getting Cake setup involve mod_rewrite. |
Forum: PHP Mar 26th, 2007 |
| Replies: 12 Views: 13,763 GliderPilot, GUEST_NAME is inteneded to be a constant. It is not a varaible.
The error is probably before line 59, as has already been mentioned. |
Forum: PHP Mar 26th, 2007 |
| Replies: 6 Views: 1,267 You need to learn about making a flash preloader. It won't really speed up the loading time, but will give your visitor an indication that something is happening and the progress. |
Forum: PHP Mar 26th, 2007 |
| Replies: 5 Views: 4,478 Looks like its working ok to me. Change the link in your site menu to point at:
http://www.daveclissold.com/board/board.php?action=view |
Forum: PHP Mar 22nd, 2007 |
| Replies: 8 Views: 3,797 Do it as UrbanSky said. It would look something like this:
$search = '';
if(isset($_GET['search']))
if(!isset($cmd))
{
$search = $_GET['search'];
} |
Forum: PHP Mar 22nd, 2007 |
| Replies: 2 Views: 4,741 Please explain how you are testing the socket.
It is strange to me that your php script doesnt have a loop... |