|
More site info...
|
|
Forum profile page for PHP on http://www.codingforums.com.
This report page is the aggregated overview from a single forum: PHP, located on the Message Board at http://www.codingforums.com.
This forum profile page summarizes the general forum statistics such as: Users Activity, Forum Activity, and Top Authors, which are reported in either a table or graph below for a given reporting time period.
Additional forum profile information for "PHP" on the Message Board at http://www.codingforums.com is also shown in the following ways:
1) Latest Active Threads
2) Hot Threads for Last Week
Warning: These statistics are generated using 'best efforts' and can experience delays and reporting errors at times. Please note that such statistics do not constitute a forum's popularity and/or exact posting volumes at any given reporting period.
|
|
|
|
|
Posting activity on PHP:
|
|
Week
|
Month
|
3 Months
|
|
Threads:
|
257
|
861
|
2,120
|
|
Post:
|
827
|
2,683
|
7,116
|
|
|
PHP Posting activity graph:
|
Top authors during last week:
user's latest post:
PLEASE HELP! Stop people from...
Published (2009-11-24 18:10:00)
No you don't. Not for what I am doing. I made an install file, and I need to protect people from typing in the index manually, b/c the main index is programmed to detect if one or more of your install files are in the folder or not, and if they are, then take you to the install page. I need to stop people from doing that. Anyway, I solved it, do it this way: page1.php: PHP Code: <?php session_start (); $key = ...
user's latest post:
Help please
Published (2009-11-26 13:57:00)
Add proper error checks to your query, to reveal the errors in it, like Code: mysql_query(... your query here...) or die(mysql_error()) ;
user's latest post:
How to post to a url WITHOUT...
Published (2009-11-24 05:33:00)
Since you don't want to use JS, the easiest way I can think of is doing the code regularly, having the form action point to the page with the form. So if the page the forms on is form.php and it needs to go to validate.php change the action to form.php, validate, then redirect. Here's what I mean: PHP Code: <?php if ( $_POST ) { ...
user's latest post:
Fantastic problem
Published (2009-11-26 17:11:00)
It would be good if you could provide a code example. In some cases, you need to use the html entity instead of the character. In the case of ">", it would be "&gt;".
user's latest post:
Relative paths dont work on...
Published (2009-11-24 19:57:00)
i've personally never encountered said problem but have you tried setting the base url? put this in the <head></head> of your pages Code: <base href="http://www.yoursite.com/" /> you *should* be able to use relative links in your scripts then: PHP Code: < img src = "images/img.jpg" /> ...
user's latest post:
printer_open() function
Published (2009-11-26 08:00:00)
PHP doesn't have any officially supported extensions that I'm aware of. Using google , I found several IPP applications. No idea if they work or what requirements they need, but you can check them out to see if any of those will help you.
user's latest post:
return link checking
Published (2009-11-26 23:20:00)
Quote: I am not saying that this is the case, but if you think your db design is poor I was just meaning that if you thought it was bad, to change it. If it is simple as you are saying, then don't worry about it. Usually database design is the nearly always overlooked or rushed by beginners (not saying you are a beginner, either). Hope your code works.
user's latest post:
Cannot find/stop an unexpected...
Published (2009-11-25 22:53:00)
If you are developing on a Mac you may be looking in the wrong spot. PHP will misreport the line number if the file isn't saved with unix end-of-lines.
user's latest post:
PHP question
Published (2009-11-26 20:53:00)
it is possible to download files with spaces in the filename, it's simply replaced with %20 by the browser so if your code is Code: <a href="file/this is my song.mp3">download</a> it should work
user's latest post:
escaping characters in mail subject
Published (2009-11-26 20:27:00)
Quote: Originally Posted by sybil6 i have the following problem: in my wordpress blog there's an image when you click you can send a email : Code: <a href="mailto:email@email.com?subject=je souhaite connaître les résultats de lobservatoire des Français et linnovation en Assurance" onclick="count_click_F()" id="count_click_ID"><img...
|
|
|
|
Latest active threads on PHP::
Started 1 day, 18 hours ago (2009-11-26 16:46:00)
by mlseim
Tell us what is and isn't working.
That might be easier.
You gotta remember that we have no way of testing it ourselves.
Started 1 day, 10 hours ago (2009-11-27 00:41:00)
by Wardman
This is where the signature generator gathers the data from:
http://combatarms. nexon.net/ClansRan...erProfile.a spx
Started 1 day, 15 hours ago (2009-11-26 20:27:00)
by oesxyl
Quote:
Originally Posted by sybil6
i have the following problem:
in my wordpress blog there's an image when you click you can send a email :
Code:
<a href="mailto:email@email.com?subject=je souhaite connaître les résultats de lobservatoire des Français et linnovation en Assurance" onclick="count_click_F()" id="count_...
Started 1 day, 16 hours ago (2009-11-26 19:27:00)
by djm0219
It is certainly possible to download files with spaces in their names. Without seeing the code being used though we can't tell you what may need to be changed to have it work for you.
Started 1 day, 21 hours ago (2009-11-26 14:15:00)
by Rebbu
Firstly, I would set $myLink before the while loop. Re-setting the variable every loop is unwise since it is static (i.e., the same no matter which row is being retrieved).
I've never used mysql_fetch_assoc before, but using file_get_content seems weird. I will look into that function shortly.
Finally, this isn't really to do with your code, but maybe you could increase the ...
Started 1 day, 12 hours ago (2009-11-26 23:14:00)
by Rebbu
Simply alter the headers as follows:
PHP Code:
<?php /* Let's prepare the message for the e-mail */ $message = " Hello) Your contact form has been submitted by: Name: " . $yourname . " Subject: " . $subject . " Email: " . $email . " Conact Number: " . $number . " Region: " . $region . " Query: " . $query . " ...
Started 2 days ago (2009-11-26 11:07:00)
by Rebbu
I don't really understand your problem, but you could just use another radio button which has a value of either Whirl, or Pool, and a drop down box with the months?
For the JS, you should add an argument, val. Instead of using the value .075, use the argument variable val instead.
With the radio box, when it changes to (i.e., onchange), have it call the JS function, and submit the value...
Started 1 day, 17 hours ago (2009-11-26 17:50:00)
by Angelin
Try to do the following adjustments: try replacing the double quotes with single quotes and vice-versa,
split the $row_details array from the rest of the text.
Example (take close look that i'm using only single quotes for echo and only double quotes for html properties):
PHP Code:
echo '
<table border="1" bordercolor="#FFCC00">
<style="background-color...
Started 2 days, 6 hours ago (2009-11-26 05:18:00)
by GoodBanners.com
assuming you are putting this in .htaccess in the root directory of your site? try this
Code:
RewriteEngine On
RewriteCond %{REQUEST_URI} ^/act-([^.]+).html
RewriteRule ^(.*) /this.php?act=%1 [L]
Started 1 day, 14 hours ago (2009-11-26 20:43:00)
by GoodBanners.com
Just use strip_tags on the $input value - that will strip the <> from the string, then the count is only on the chars without the HTML
|
|
Hot threads for last week on PHP::
Started 1 week, 1 day ago (2009-11-19 15:16:00)
by ShadowIce
Started 1 week, 1 day ago (2009-11-19 19:05:00)
by Zangeel
PHP Code:
echo 'Your IP is: ' . strrev ( $ip );
But that is odd, shouldn't be happening in the first place
Started 5 days, 13 hours ago (2009-11-22 21:58:00)
by ShadowIce
Started 4 days, 18 hours ago (2009-11-23 17:18:00)
by abduraooft
Quote:
$result = mysql_list_dbs ($this -> connection)
Missed a ; at the end of above line.
Started 2 days, 16 hours ago (2009-11-25 19:00:00)
by angst
well, you could explode the $_POST/$_GET array and insert into into a single field like;
PHP Code:
function ExplodeArray ( $Array ){ if( is_array ( $Array )){ $ArrayToString = "" ; foreach( $Array AS $Value ){ $ArrayToString .= $Value . "|" ; } return ...
Started 1 week ago (2009-11-21 06:35:00)
by Fou-Lu
If it needs it, it should include it.
Require_once isn't used just for functions or classes or anything like that. Its used simply to include a file that has not been previously included (which consequently is very good for functions and classes). This prevents the interpreter from puking when it tries to include the same file twice that defines some functions. These will terminate with an ...
Started 2 days, 23 hours ago (2009-11-25 11:32:00)
by [Paul Ferrie ]
Where is $destionation being set?
try this
PHP Code:
if (!empty( $_FILES [ 'ufile' ][ 'name' ][ 0 ]))
{
$picunique = time ();
$type = 'jpg' ;
$max = '300' ;
$source = "" . $destination . "" . $picunique . "." . $type . "" ;
$destination = "/home/*******/public_html/...
Started 3 days, 13 hours ago (2009-11-24 22:12:00)
by Fumigator
There are plenty of tutorials that show you the mechanics of inserting rows into a MySQL database based on form data. Try Google:
http://www.google.com/#hl=en&q=php+m...eadb96a133f 532
The more important question is how you are going to design your database to store the data. That's something we can help with, but we'd need to know about the data you will be storing.
Started 6 days ago (2009-11-22 11:31:00)
by met
hmmm is_page isn't a standard php function, are you using word press?
if you wrote is_page post the code.
and obviously you will need
PHP Code:
. contactpageclass { background - image : contact . jpg ; } // for each page
Started 6 days, 20 hours ago (2009-11-21 15:19:00)
by shadowmaniac
There is no such thing as the best simply because people have different expectations of things. How about telling people what you expect off an IDE?
I personally am happy with Textpad (shareware), Eclipse (freeware), netbeans (freeware) simply because they have code coloring, some error catching, and in the latter two, source control. I'm sure they can do lot more than that but like I said ...
|
|