|
More site info...
|
|
Forum profile page for php on http://bytes.com.
This report page is the aggregated overview from a single forum: php, located on the Message Board at http://bytes.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://bytes.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:
|
53
|
203
|
656
|
|
Post:
|
153
|
699
|
2,211
|
|
|
php Posting activity graph:
|
Top authors during last week:
user's latest post:
HTML email shows as text plain
Published (2009-11-20 15:49:00)
Quote: Originally Posted by Atli We don't spend our entire day on here. This is volunteer work we do as well as our day jobs, families, etc.. We can't always (and usually don't) reply within minutes. But yea, actually. I was sleeping xD Yeah, sure, but sometimes I get a little unsure cause once I posted a post here that got opened, no one answered the questions anymore. Anyway, thanks for the suport, I'm gonna have to go...
user's latest post:
very strange Session behaviour
Published (2009-11-26 17:32:00)
recently I encounter a very strange behaviour of the session variable. if the cookies are disabled, the session id is totally misplaced (see code). instead being attached to the URL it is placed before the > of the anchor tag. has anyone an idea, how to prevent that? maybe I should note, that the HTML is coming from a XSL transformation… and another note, if the anchor element contains a text node, the variable insertion is...
user's latest post:
Folder permission for include...
Published (2009-11-25 12:24:00)
I would suggest that you set the permissions as low as you can get away with. Give the user running Apache ownership of the file, give it read-only access to it, and deny everybody else all privileges on it. That should make it pretty safe. Also, just to prevent any possible problems, it is advicable to put files containing sensitive info outside the web-root, and include them using absolute paths. Meaning, if your website files are stored in...
user's latest post:
Sliding menu of images
Published (2009-11-23 09:55:00)
thread closed as I got it all working fully automatically
user's latest post:
Ask substring
Published (2009-11-26 11:33:00)
These are not substrings, they are syllables. To define them as substrings you need to define rules. In this case you could create rules that a string is seperated before or after a vowel, or any additional letter you think. Put these in an array or a string, then use any of the string or regex functions that split or tokenize a string
user's latest post:
Checkboxes
Published (2009-11-23 16:54:00)
Your questions are general and vague, thus the answer you'll receive will also be vague or even a reply question: 1. I can't enlighten you on how many pages. this depends on your application and its architecture 2. What example do you need help with inside the code? You can give me an overall goal of the application and I can help you structure the tables. The PHP code, you have to learn to do DB insertions from a tutorial and ask...
user's latest post:
Ask substring
Published (2009-11-26 09:33:00)
Quote: Originally Posted by ragonz Is there any function in php to break down string into its substring for example String : body it will return : "bo" and "dy" or return the number of substring of a string for example String : Miracle it will return : 3 substring ("Mi" , "ra", and "cle") thx in advance Ragonz PHP is not smart enough to know where the...
user's latest post:
unicode characters
Published (2009-11-21 08:07:00)
hi Dormilich You mean save the page as UTF vineet Quote: Originally Posted by Dormilich display the characters as Unicode not as ISO-8859-1.
user's latest post:
Can't figure out...
Published (2009-11-18 11:37:00)
Thanks for the reply. I tried what you suggested and nothing happens when I select something in the listbox. If I change the code to pass in "this.value" for both params it works just fine so I'm not missing anything anywhere else that I know of. Here's what the javascript looks like: Expand | Select | Wrap | Line Numbers function setPackage(str, blah) { xmlhttp=GetXmlHttpObject();...
user's latest post:
create simple article (in urdu...
Published (2009-11-21 12:06:00)
to promote urdu language i want to create simple article like shayari etc (in urdu language )submitter where a user can submit article in urdu it get saved in data base in urdu and then get displayed in urdu accordinng to administrators permission how this all can b done by using php/mysql give me ur valuable suggestions it will b grt help 4 me thanks in advance
|
|
|
|
Latest active threads on php::
Started 17 hours, 2 minutes ago (2009-11-28 01:54:00)
by kenatessence
Hello,
I am working on making a flash site dynamic by using XML. I have already made the flash site read the XML perfectly, but i now have to make a back end where the owner can go in and post new news or edit his articles.
I put a tinymce on the page and want to basically store HTML inside an XML tag.
so basically i would have something like
<article><font size="10px">this is news</...
Started 1 day, 11 hours ago (2009-11-27 07:54:00)
by code green
You need to wrap quotes around string values Expand | Select | Wrap | Line Numbers $query = "INSERT INTO crops (crop_id,crop_type,crop_name,cultivation_yrs, local_name)
VALUES($crop_id,'$crop_type','$crop_name',$culti vation_yrs,'$local_name')";
It doesn't seen to do any harm wrapping quotes around numerical values also
Started 7 months, 2 weeks ago (2009-04-17 04:18:00)
by Dormilich
try var_dump() on $query and $query->obj , maybe it gives some hints.
Started 1 day, 7 hours ago (2009-11-27 11:55:00)
by Markus
If you're working with user-supplied data, be it through a form, file upload, etc., there's always a chance that data could be malicious. However, you, being the security-conscious developer can overcome these malicious attacks by assuming one thing: all user-supplied data is malicious! Never trust people who use your site.
The only 2 ways I can think of a user being able to delete files from ...
Started 1 day, 8 hours ago (2009-11-27 10:55:00)
by simon2x1
the code below is a code given to me to solve the problem of my mail going in to spam but i have a problem with line 16 how can i fix it and what should i do i will appreciate if u will edit the problem on the code below Expand | Select | Wrap | Line Numbers
<?php
include("Mail.php");
/* mail setup recipients, subject etc */
$recipients = "feedback@...
Started 1 day, 11 hours ago (2009-11-27 07:55:00)
by code green
Expand | Select | Wrap | Line Numbers $sql_f="SELECT reg_id, count(bid_price) as cnt, min(bid_price) as low
FROM `bidding_details`
where bid_id='$bid_id' and sortbid = '1'
group by reg_id
HAVING COUNT(reg_id) > 9 limit 50";
I might be wrong here but LIMIT doesn't really work with GROUP BY.
It is used to filter the number of results returned,...
Started 2 days, 9 hours ago (2009-11-26 09:33:00)
by Markus
Quote:
Originally Posted by ragonz Is there any function in php to break down string into its substring
for example
String : body
it will return : "bo" and "dy"
or return the number of substring of a string
for example
String : Mira cle
it will return : 3 substring ("Mi" , "ra", and "cle")
thx in advance
Ragonz PHP is not smart enough to know ...
Started 2 days, 12 hours ago (2009-11-26 06:33:00)
by Alien
Found the problem. Its $_SESSION instead of $_session. Didnt know small caps would have caused problems. Thanks for looking at it anyway. :)
|
|
Hot threads for last week on php::
Started 1 week, 2 days ago (2009-11-19 15:26:00)
by matheussousuke
This how it appears on the email:
Responder para: <matheuswebdesigner@hotmail.com>
tipo de conteúdo: text/html; charset=iso- 8859-1
<html><body>
Por favor siga estas instruções para verificar seu registro:
<BR>
1. Clique no link abaixo:
<BR>
2. Digite o usuário e o código de confirmação que está localizado abaixo desta
linha.
<BR>
<BR>
...
Started 1 day, 11 hours ago (2009-11-27 07:54:00)
by code green
You need to wrap quotes around string values Expand | Select | Wrap | Line Numbers $query = "INSERT INTO crops (crop_id,crop_type,crop_name,cultivation_yrs, local_name)
VALUES($crop_id,'$crop_type','$crop_name',$culti vation_yrs,'$local_name')";
It doesn't seen to do any harm wrapping quotes around numerical values also
Started 3 days, 6 hours ago (2009-11-25 12:24:00)
by dheerajjoshim
Hey Dormilich, That link only works if the cross compiled platform is same as linux(Desktop)... Endianess of the OS may come into picture...
Regards
Dheeraj Joshi
Started 5 days, 16 hours ago (2009-11-23 02:55:00)
by Atli
Hey Simon.
A simple way to do something like that is to just to generate a unique string, send it to the user via email, and ask them to copy/paste the string into a input box.
Simply put: Expand | Select | Wrap | Line Numbers <?php
session_start();
$_SESSION['confirmation_key'] = md5(microtime(true) . mt_rand(1000));
$to = 'user@example.com';...
Started 1 week, 2 days ago (2009-11-19 00:04:00)
by dlite922
You can either have action script access the database or have PHP get it from the database and give it to your flash application.
Dan
Started 4 days, 12 hours ago (2009-11-24 06:40:00)
by mukeshrasm
actually i want to use this script for .net (C#) and as i think this code is for php may be i am wrong so I want to make to run for .net
Started 1 week ago (2009-11-21 08:07:00)
by Dormilich
display the characters as Unicode not as ISO-8859-1.
Started 5 days, 16 hours ago (2009-11-23 02:54:00)
by xueping
Hi, I'm a starter for php and I've few questions and hoping to be able to find some solutions here. Can anyone explain to be step by step and point out my mistake if there's any! thanks (:
I'm doing a list of checkbox for selecting data. This is what I want it to look like. It's for jobseeker to check their qualification.
I've also inserted the data into my database, but im not sure ...
Started 1 week, 1 day ago (2009-11-20 12:50:00)
by code green
You are going to need a live feed for gold and silver prices.
This is certainly available at various prices.
Dare I suggest Google -- live feed gold price --
Started 1 week, 2 days ago (2009-11-19 00:05:00)
by arty
you can put the swf file in the root WP folder then call the swf from the header.php(if that's where you want the swf)
|
|