trq
Staff Alumni-
Posts
30,999 -
Joined
-
Last visited
-
Days Won
26
Everything posted by trq
-
Cli as in command line interface. See http://php.net/cli
-
Sounds like your looking for a developer. We have a freelance section for such requests.
- 1 reply
-
- php
- javascript
-
(and 3 more)
Tagged with:
-
&& is the logical "and" operator. Where you going to find the data you need from the category is any ones guess though sorry.
-
Skips? It ../ goes back up the directory tree one directory from where it is called. ../../ goes back up 2 etc etc So, all this (../../image.jpg) says is go back up two directories (relative to the current url) and find the file image.jpg If you have used any kind of computer from a terminal this type of thing becomes second nature. If you haven't (and your a programmer) do so.
-
Nope, it's not at all right. MSSQL doesn't like `backticks` at all.
-
mysql_insert_id works as described. Your code however is riddled with syntax errors. Is this your actual code? Do you have error reporting enabled and display errors on?
-
This type of program needs to be run from the cli, not via apache. Essentially you are trying to run a server inside a server.
-
Session don't die when you close the browser, they expire after a period of inactivity.
-
Can to share so that we might better understand exactly what it is you are talking about?
-
What are you talking about? With the code you have shown, your service_id will show up within $_GET['service_id'] on the index.php page.
-
Sounds like instead of simply including the files and having them dump variables into the global namespace you need to take more control. Functions would likely suffice, as they would enable you to encapsulate whatever it is that needs to be done to generate this data yet they can return it to wherever it is needed.
-
Where exactly are you stuck? What code have you currently got in index.php ?
-
This line: $from = '$_POST['ApplicantName']; Should be: $from = $_POST['ApplicantName']; And this line: <td colspan="2">"'Employment Application Details:"</td> Should be: <td colspan="2">"Employment Application Details:"</td> You need better eyes and a better editor.
-
I use aws for everything now days so don't really have any hosting recommendations sorry. We do have a sticky thread on the subject in the misc board though.
-
Help Please! this was working but no longer! $PHP_SELF
trq replied to micky1955's topic in PHP Coding Help
You don't need a filename. <a href="?dirchoice=<?php echo $darr[$x]; ?>"> I'm not convinced that is the issue though. -
http://www.tuxradar.com/practicalphp
-
Help Please! this was working but no longer! $PHP_SELF
trq replied to micky1955's topic in PHP Coding Help
Can we see the code that displays the images? -
The 2nd piece of code should not work on any version of php 5 unless some nitwit has seriously borked the configuration. If that is working on Godaddy, they are more fucked up than I thought. Time to change hosting providers.
-
Do you think every time you make a post on this forum a new php page is created for it? No, your data is stored in a database and a single (actually a few - but you get the idea) php page is used to display it. So... all you do is store all your data that will change per user in a database. You then create pages that pull this data from the database to display it. This is what php is all about. Not dynamically generating more and more code.
-
Why would each user need there own pages? Kind of defeats the purpose of creating a dynamic website.
-
What is the relevant error and code now?
-
Instead of dredging up some old thread from over 12 months ago why don't you post your own topic describing your problem. How do you know it is even the same issue?
-
No kidding, you already said that.