|
More site info...
PHP Development | Forum profile
|
|
Forum profile page for PHP Development on http://www.devshed.com.
This report page is the aggregated overview from a single forum: PHP Development, located on the Message Board at http://www.devshed.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 Development" on the Message Board at http://www.devshed.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 Development:
|
|
Week
|
Month
|
3 Months
|
|
Threads:
|
89
|
588
|
1,681
|
|
Post:
|
289
|
2,209
|
6,237
|
|
|
PHP Development Posting activity graph:
|
Top authors during last week:
user's latest post:
[PHP-General] INSERT once and...
Published (2009-11-06 17:43:00)
Use curly braces to delimit your if/else statements, and indent your code properly, I'm sure you'll find it. -Dan
user's latest post:
[PHP5] Trace function
Published (2009-11-06 15:43:00)
Viewing function calls yes.. see debug_backtrace(). You could also use xdebug or related extension to create log files on each script execution. Personally, I would use xdebug. Query logging would have to be built-in to your app or enabled on your database server. Logging form submissions would also need to built in to your app, or you could check the Apache log for a *possibly* less detailed overview.
user's latest post:
Variable taking value of Constant
Published (2009-11-06 09:11:00)
d'oh figured it out PHP Code: define ( 'MY_CONST_1' , 1 ); define ( 'MY_CONST_2' , 2 ); define ( 'MY_CONST_3' , 4 ); define ( 'MY_CONST_4' , 8 ); define ( 'MY_CONST_5' , 16 ); define ( 'MY_CONST_6' , 32 ); define ( 'MY_CONST_7' , 64 ); define ( 'MY_CONST_8' , 128 ); define ( 'MY_CONST_9' , 256 ); define ( 'MY_CONST_10' , 512 );...
user's latest post:
[PHP-General] Inserting a class...
Published (2009-11-06 10:12:00)
Could also be that you don't have $dayNumber defined before your if-clause, so it will always be < $date_today. Move that line into your loop or something where you have $dayNumber defined.
user's latest post:
Converting timestamp to dd/mm/yy...
Published (2009-11-05 23:43:00)
Quote: Originally Posted by behnampmdg3 Well this worked: PHP Code: $new_exp = date ( 'j S M Y ' , $timestamp ); Yeah. Sure. Why not. Given a couple bits of code without any context there's bound to be some amount of glue code that'll make them work together. PHP Code: $new_exp = date (...
user's latest post:
Page 2 - It just wont work! -...
Published (2009-10-30 15:56:00)
ok now im not getting any errors but its not inserting the info! Quote: What do you mean by Quote: huh i didnt know that worked with php... can it ftp? i was talking about notepad++ im getting aptana now
user's latest post:
Page 2 - Help Preg_match pattern...
Published (2009-11-06 13:22:00)
i think i got it i change to ([^<]+) to ([^`]*?) thank you anyway but is it a right way?
user's latest post:
Page 2 - Post image from BLOB -...
Published (2009-10-30 19:04:00)
okay, i found it. Just needed to add replace in the header. It all works now. Thanks guys for the help. Ill probably be asking more questions in the future
user's latest post:
Email tracking
Published (2009-11-06 11:36:00)
You can do the first two things, but not reliably. The third you can do pretty reliably. Quote: I want to be able to track in our database which emails bounced back In order to do this you will need to use a special E-Mail address for sending out the messages. Something like noreply@yourdomain.com. Next you need to program a script that periodically checks this E-Mail account and parses the E-Mails in it, looking for bounced E-Mails. There is...
user's latest post:
It just wont work!
Published (2009-10-30 15:26:00)
$newname = md5($_FILES['flyer']) . ".jpg"; That should be $newname = md5($_FILES['flyer']['name']).".jpg"; About free editor, you can try notepad++.
|
|
|
|
Latest active threads on PHP Development::
Started 4 days, 3 hours ago (2009-11-05 09:41:00)
by itstar
here is my code...
Code:
<?php session_start();
validate_user();
@extract($_POST);
$id=$_SESSION['sess_userid'];
$query = mysql_query('SELECT id,name,prnt_id,ref_id FROM tbl_user');
while ( $row = mysql_fetch_assoc($query) )
{
$menu_array[$row['id']] = array('name' => $row['name'],'parent' => $row['prnt_id']);
}
//recursive function that prints ...
Started 3 days, 6 hours ago (2009-11-06 06:46:00)
by Northie
the scope of your project is too large for just one forums post.
The key to getting what you want is to create an authentication process (login form, database of users) and learn about how to pass information in the session.
Then, as you write each new module for your site, you can base the content on conditionals that use information in the session
Started 2 days, 19 hours ago (2009-11-06 17:43:00)
by ManiacDan
Use curly braces to delimit your if/else statements, and indent your code properly, I'm sure you'll find it.
-Dan
Started 2 days, 19 hours ago (2009-11-06 17:35:00)
by msteudel
Try this instead:
PHP Code:
// RUN CHECKS TO CONFIRM IF THE UPLOADED FILE IS ACCEPTABLE FORMAT
elseif(!empty( $strresume_type ) AND strresume_type != "application/pdf" AND $strresume_type != "application/msword" AND $strresume_type != "application/vnd.openxmlformats" ){
// FILE IS IN NON-...
Started 2 days, 21 hours ago (2009-11-06 15:43:00)
by simshaun
Viewing function calls yes.. see debug_backtrace(). You could also use xdebug or related extension to create log files on each script execution. Personally, I would use xdebug.
Query logging would have to be built-in to your app or enabled on your database server.
Logging form submissions would also need to built in to your app, or you could check the Apache log for a *...
Started 3 days, 3 hours ago (2009-11-06 09:45:00)
by IkoTikashi
Do you call session_set_cookie_params() on every page you use session_start() ?
Started 4 days, 2 hours ago (2009-11-05 10:38:00)
by simshaun
Hmmm. I dont think you explained your problem very clearly. (or I'd try to help).
Started 3 days ago (2009-11-06 12:20:00)
by ManiacDan
Quote: Any idea what changed if I havent modified anything? Somebody changed something.
THe specific error you're getting is that your query is failing on line 17, and you're not checking to see if there's an error. Before that mysql_num_rows call, echo mysql_error()
Also, there's no reason for that line of global declarations at the top of this script. If ...
|
|
Hot threads for last week on PHP Development::
Started 4 days, 2 hours ago (2009-11-05 10:38:00)
by simshaun
Hmmm. I dont think you explained your problem very clearly. (or I'd try to help).
Started 4 days, 9 hours ago (2009-11-05 03:49:00)
by Winters
Welcome to DevShed, onetolearnphp.
Please read the sticky posts at the top of the forum.
PHP Code:
Original
- PHP Code
$myArray = array('apple','orange',1,2,'red','yellow');
$myArr ay[2] = 7;...
Started 4 days, 7 hours ago (2009-11-05 05:15:00)
by requinix
How about trying call_user_func_array ?
Started 4 days, 2 hours ago (2009-11-05 10:32:00)
by simshaun
What error are you getting.
Started 2 days, 19 hours ago (2009-11-06 17:43:00)
by ManiacDan
Use curly braces to delimit your if/else statements, and indent your code properly, I'm sure you'll find it.
-Dan
Started 3 days, 3 hours ago (2009-11-06 09:37:00)
by IkoTikashi
It's more like
PHP Code:
if( $dayNumber >= $date_today ) {
$td_class = "future" ;
} elseif( $dayNumber < $date_today ) {
$td_class = "past" ;
} else {
$td_class = "empty" ;
}
Started 3 days, 20 hours ago (2009-11-05 16:46:00)
by simshaun
Ive never seen it do that. It should be either microtime works or it doesnt. (microtime depends on being able to call gettimeofday() on the OS.)
However, see the 2nd to last comment here . Also found this .
Try passing in the TRUE argument to microtime on both calls so that it generates a float, and see if the issue persists.
Started 3 days, 15 hours ago (2009-11-05 21:52:00)
by requinix
Started 3 days, 10 hours ago (2009-11-06 02:13:00)
by IkoTikashi
You mean a free hosting service where you can upload your script and see if it works? Or a webserver like Apache, lighttpd etc. that you install locally? Chances are near zero that there are free hosting services out there.
Started 1 week, 2 days ago (2009-10-31 08:17:00)
by Dehumanizer
When you are about to build the form, the input fields will carry the $i, for example:
Code:
<input type='hidden' name='id[$i]' value='$row[$i]' />
<input type='text' size='40' name='botanical[$i]' value='$row[$i]' />
At the end of the form you have to define the number of rows to be updated:
Code:
<input type='hidden' name=...
|
|