Fun Board


Go Back   Fun Board » Moderated usnet disscussion » Programming

PHP Everything about programming in PHP language.


Popular Tags: PHP
, , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,

 
Threads in Forum : PHP Forum Tools Search this Forum
  Rating Thread / Thread Starter Last Post Reverse Sort Order Replies Views

Re: need to hide contents

Den 03.11.2009 kl. 19:13 skrev richard <member@newsguy.com>: > On my blog I want to be able to show a couple of paragraphs of each topic > then let the user click "more...>>" which then causes the rest to be in > accordion style. Same way google does on their igoogle news ticker. > >...
=?utf-8?Q?Daniel_N=C3=B8rby_Andersen?=
13th December 2010 10:08
by =?utf-8?Q?Daniel_N=C3=B8rby_Andersen?= Go to last post
1 607

Re: Problem with cURL en PHP 5.2.12

On Jan 7, 9:00 am, "Eric van Hoorn" <nore...@noreply.com> wrote: > "Jerry Stuckle" <jstuck...@attglobal.net> wrote in message > > news:hi357k$7c4$1@news.eternal-september.org... > > > Eric van Hoorn wrote: > >> Hello, > > >> Since our server has been updated to PHP 5.2.12 we experience an...
C.
13th December 2010 10:08
by C. Go to last post
0 298

Fixing a slow session_start() call

After much frustration at pages that were randomly slow and would lock up, I traced the time-delay to a single line of code: session_start(); I thought anyone with a similar problem might benefit from my solution. Most of the time this function would be very fast but occasionally it would...
darwinist
13th December 2010 10:08
by darwinist Go to last post
0 296

Mailing from PHP

I have a Google apps account, that I would like to use to email (extracting information from a MySQL table). The Google apps account allows me to use it as an SMTP mailer. Are there any recommendations by those who have experience in this space (including using an alternative to Google), for...
JustWondering
13th December 2010 10:08
by JustWondering Go to last post
4 284

Looking for PHP behaviour similar to a servlet

Hi, I'm looking for a way to include URL parameters inside an URL, like one could do using Java servlets. For example - let's say you have the following URL: http://www.mydomainname.ext/employee.jsp Using a parameter, one could request the details for employee "John Doe" as follows:... (Multi-page thread 1 2 3 )
Ikke
13th December 2010 10:08
by Doug Miller Go to last post
69 887

Creating BIG zip file without time-out

Hey there, I need a solution for my study project, i have an image gallery, with around 100 images (250mb in total) that i want to archive in an zip file. But i cant get rid of the %$#@|& server time-out (30sec). I tried the function "set_time_limit()" but it failed too. The best solution...
mind01
13th December 2010 10:08
by FrobinRobin Go to last post
13 298

Path not found

Dear All; I am using a theme logic in the chat rooms. I am using the X7Chat package. I try it on the local host it is working very fine, but when I uploaded it to our servers I have faced this problem : Warning: file(./themes//window.tpl) : failed to open stream: No such file or directory in...
tamer hatoum
13th December 2010 10:08
by tamer hatoum Go to last post
0 304

Need Idea for google map?

Hi, I my application lots of business name with their address store in DB. i want to show google map for them. How to show google map from address. Or add new column for latitude and longitude?
Amit Prakash Pawar
13th December 2010 10:08
by houghi Go to last post
9 308

Re: Warning: Redirection limit for url exceeded...

El 14/01/2010 17:42, mimi escribió: > I created a loginsystem with php.The coresponding php script run on > local server very well. Now I maked a connect to an extern server. But > if I let run the php script on this extern server, I get the following > warning > > Warning: Redirection limit for...
=?ISO-8859-15?Q?=22=C1lvaro_G=2E_Vicario=22?=
13th December 2010 10:08
by =?ISO-8859-15?Q?=22=C1lvaro_G=2E_Vicario=22?= Go to last post
2 295

Windows php snapshots? (daily builds)

http://windows.php.net/snapshots/ has no builds listed. Where to get these?
fuzzyshoting
13th December 2010 10:08
by =?ISO-8859-1?Q?=22=C1lvaro_G=2E_Vicario=22?= Go to last post
2 345

PHP&Firebird&Exceptions

Hi, I am working on web application based on firebird database. In this database I have exceptions. Is there possibility to take care about these exceptions from php?
tp
13th December 2010 10:08
by Peter H. Coffin Go to last post
4 311

error [error] (12)Cannot allocate memory: fork: Unable to fork newprocess

Hi, I want to ask if when I recieve this error " (12)Cannot allocate memory: fork: Unable to fork new process" in error.log in the apache logs I can be advice with an error in php so I can send to me an e-mail when it happens. thanks in advance
alberto
13th December 2010 10:08
by alberto Go to last post
5 298

INF==INF

An app of mine happens to crash in a brand new server because INF==INF evals to FALSE in PHP/5.3.1 while it was TRUE in PHP/5.3.0 and PHP/5.2.11. The strict comparison INF===INF seems to be TRUE in all versions. Do you think it's a PHP bug and should be reported as such? Does it happen in...
=?ISO-8859-1?Q?=22=C1lvaro_G=2E_Vicario=22?=
13th December 2010 10:08
by =?ISO-8859-1?Q?=22=C1lvaro_G=2E_Vicario=22?= Go to last post
6 292

location of php error log on IIS

I'm unsure where IIS keeps the error log for php, is there a common path for this? I see that in php.ini that the line has been commented out. Perhaps it should be: error_log = syslog If that is set to a path does it have to be quoted?: error_log = "E:\path_to_log"
jeff
13th December 2010 10:08
by jeff Go to last post
1 305

PHP Programmer's Goldmine is up: http://preciseinfo.org/Convert/index_Convert_Php.html

PHP Goldmine collection contains the extensive collection of articles on PHP going back several years. It includes thousands of code examples and expert discussions on all major topics. The information is organized by relevant topics, covered by the corresponding chapters. The information... (Multi-page thread 1 2 )
tanix
13th December 2010 10:08
by tanix Go to last post
40 612

adding to a key=>value array

I want to build a key=> value array from a sql selection. my current code is: $sql = "select arg1, A1 from miscfile where misctype = 'caretype' order by arg1"; $result = mysql_query( $sql, $this->connection) or die(mysql_error()) ; $types = array(); while ($row =...
bill
13th December 2010 10:08
by bill Go to last post
5 297

learning PHP

Hi there,How could i start learning PHP As Fast As Possible.do u have any good resources?
Godfather
13th December 2010 10:08
by macca Go to last post
9 289

reply-to

Gang, I'm attempting to send an email using php's mail() function with a Gmail "Announcement-only" group and a "Reply-To" header. I have all of that setup correctly, but the reply to address appends the servers FQDN to the address (ie recipient@domain.com@server.ispdomain.com). I've figured... (Multi-page thread 1 2 )
Dave
13th December 2010 10:08
by Dave Go to last post
51 628

newbie: sending email from PHP doesn't work

Hello, I try to send an email with attachment. I installed (apt-get) postfix mail server in my Ubuntu. I use PHPMailer package or mail() function. I am not sure that the code is correct, I must say. function sendEmail($to, $recipients, $subject, $bodyText, $bodyHTML, $fullNo,... (Multi-page thread 1 2 )
Jivanmukta
13th December 2010 10:08
by Peter H. Coffin Go to last post
31 648

PHP and MySQL database links

Help! I want to use two database links at the same time what causes some problems: $db_connection1 = mysql_connect($_SESSION, $_SESSION, $_SESSION); mysql_select_db($applicationdatabase,$db_connection1); $db_connection2 = mysql_connect($_SESSION, $_SESSION, $_SESSION);
Matthias Braun
13th December 2010 10:08
by matt Go to last post
5 304

OT: Why are western European clients so cheap compared to USA?

I have been selling web based software for seven years and have never understood why Western European prospects are so cheap. For example: US client will pay $100 for a software that can do 10 things European client will pay $10 for a software that needs to do 100 things They want the...
Mr. Nonsense
13th December 2010 10:08
by matt Go to last post
17 276

Re: usage of openssl_pkcs7_verify

Gufo Rosso wrote: > how do I verify the signature of the email receipt ? > i have a certificate > thanks What have you tried? What was the result? Have you looked at http://www.lmgtfy.com/?q=openssl_pkcs7_verify? --
Jerry Stuckle
13th December 2010 10:08
by Jerry Stuckle Go to last post
5 272

PHP and MYSQL

Cannot load mysql extension. Please check your PHP configuration. this error i see on phpmyadmin login page. Op sys server 2008 php 5.3.1 apache 2.2 mysql 5.1.42
Urmas
13th December 2010 10:08
by Urmas Go to last post
1 263

Too many arrays?!

I'm flummoxed as they say! How do I get to the array data as shown in the dump of $order->products below? Here's my unsuccessful attempt... foreach($order->products as $product){ if (is_array($product->data) && count($product->data ) > 0) { foreach ($product->data as $key) { if($key ==...
Chris
13th December 2010 10:08
by Chris Go to last post
1 270

Best way to encrypt password in database.

Thinking seriously about security. I want a way to store an undecryptable password, so that the sysadmins don't know what it is etc etc. And so I can pass it back and forwards without it being in clear text. Probably over paranoid, but heck..who isn't these days? Anyway the theory is... (Multi-page thread 1 2 )
The Natural Philosopher
13th December 2010 10:08
by Jerry Stuckle Go to last post
33 531

Losing the session variable

Here is a problem we just came across. We set session variables at login and then are moved to the index.php page. The session variable is still there. Then, when we click a menu item which opens any other page, the session variables are lost. Yes, we have session_start(); at the...
sheldonlg
13th December 2010 10:08
by Curtis Dyer Go to last post
7 257

mime type

Hi, I've to know the mime type of a string . I don't have the file like " text.txt " but I've only a string with the content If I use the mime_content_type() function doesn't work well. Can anyone help me? thanks in advance
alberto
13th December 2010 10:08
by Tim Roberts Go to last post
7 268

very urgent php search site

This is my firs time to use a database-mysql in a website and also my first time to write a script in php I'd lke to add in a search function to look up data ID in my site that has many items about mysql I know only commands to type in a console after I run mysql> I have no ideas how that...
**Group User**
13th December 2010 10:08
by Jerry Stuckle Go to last post
5 273

OT: Best public interface?

How would you expose a php based application for general consumption? I say "OT" because this applies to any back-end, not just php. So far I have used XML-RPC to present an api that allows data to be passed back & forth to my application, but it's clunky. I'm thinking of moving to JSON, so...
Hugh Oxford
13th December 2010 10:08
by Robert Tomsick Go to last post
1 278

Objects being modified by reference?

I just spent the last few hours tracking down a bug, that was due to a faulty assumption on my part. I was under the impression that when references to a variable are modified, a copy is created unless the & operator is used to explicity modify the original too. This does not seem to be...
Mark Smith
13th December 2010 10:08
by Michael Fesser Go to last post
3 289

File not found error

I get the following error when I click on the Back button on my browser "Web page has expired". I would like to know the cause for this error and how I may correct it.
anu
13th December 2010 10:08
by anu Go to last post
2 278

how di identify a string with contents?

can build a sparse array thus: <?php $Hday = array; $Hday="Happy Forth of July"; $Hday="Merry Christmas"; ?> later, I can say: <?php
John Kopf
13th December 2010 10:08
by Beauregard T. Shagnasty Go to last post
10 274

second array image values will not show

Sorry to bother again. The first part of my script works fine and return four random images, sorted by numeric value. The second part are supposed to do the same, but gets images from another folder, and fewer images. But the second part can't find the images, even they are there. Anyone with...
Nosferatum
13th December 2010 10:08
by Henrik Carlqvist Go to last post
6 260

PHP and Sqlite Encryption extension

Hello, I'm wondering if php can manage a sqlite database encrypted with SEE (http://www.hwaci.com/sw/sqlite/see.html) ? In the sqlite3 documentation the last parameter is about an encryption key : "An optional encryption key used when encrypting and decrypting an SQLite database. ". Is it...
grunk
13th December 2010 10:08
by grunk Go to last post
0 260

Print specific data on printer?

Hi, I want to print the specific data from page instead of Full page data. So i can't use window.print method. I take my data in $data variable. i want to print only this data.
Amit Prakash Pawar
13th December 2010 10:08
by Jerry Stuckle Go to last post
4 263

Help with sorting results

I am using the following script to display seven random images from a folder. All images have a numerical value. I would like the output to be sorted, but I am lost... anyone with any advice? Here's the script: <?php function RandomFile($folder='', $extensions='.*'){ // fix path: $folder =...
Nosferatum
13th December 2010 10:08
by Nosferatum Go to last post
8 263

Re: Posting style in alt.php. Was: Re: Proper Way to Use [while] Loops

On Mon, 04 Jan 2010 06:49:21 -0500, Jerry Stuckle <jstucklex@attglobal.net> wrote: >> >And why didn't YOU snip the irrelevant info? Pot-Kettle-Black. > >> Ummmm, I did. I left sufficient to give context. You /have/ read the >> relevant RFC on this haven't you? >> > >Yes I have, but it...
Geoff Berrow
13th December 2010 10:08
by Geoff Berrow Go to last post
1 270

Initialize class elements: Yes/No, which value?

Hello everybody, I got a tiny question for which I could not find any proper answer by simply googling or the likes. I am not quite sure what might be the best way to initialize my class elements. For now I initialize them with values of the type they actually should contain. Example: ...
benjamin.schneider.de@googlemail.com
13th December 2010 10:08
by Captain Paralytic Go to last post
2 250

securing bash script

I have a script that should only show the man page of a command that I enter. It uses the exec part and a field that you enter. I am on a Linux machine. However instead of entering just e.g. "man" to get the command "man man" running, you could also enter "man; rm * -rf" and do whatever...
houghi
13th December 2010 10:08
by houghi Go to last post
10 242

Problem with flashgallery

Hello! I try to use http://developer.asymbio.net/category/flash-gallery with xml created by php file (called pokazgalerie.php) I have got such code: <div id="gallery"> <object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000"...
Netman
13th December 2010 10:08
by Jerry Stuckle Go to last post
1 239

mod rewrite

hi i am using a cms which requires mod_rewrite to be enabled for seo urls in the wamp that i use in my local machine in the httpd.conf file i have this line and removed the comment LoadModule rewrite_module modules/mod_rewrite.so when i view the phpinfo i can see that mod_rewrite is on...
Sudhakar
13th December 2010 10:08
by Michael Fesser Go to last post
5 236

Converting file from word.doc to pdf...

Hello I have a system using expdf and other PDF tools to create PDF documents. Now they want an automated system, which can reads word documents and convert them to PDF Would that be possible? WBR
jodleren
13th December 2010 10:08
by jodleren Go to last post
11 266

Configuration of user-defined dll with PHP

Hello All, I want to use user defined dll in PHP. I am create dll in VC++. I successfully used in Visual Basic 6.0. Now i want to use that dll in PHP. I am using XAMPP (Basis Package) version 1.7.2. I performed following steps. 1: copy that example1.dll in C:\xampp\php\ext 2: Edit...
plmqaz
13th December 2010 10:08
by plmqaz Go to last post
1 260

Why does the following date code produce 201053 instead of 201001

Very strange, why does the following code produce 201053 instead of 201001? $this_monday = 1262566800; // 4th January 2010, 1am. echo date("YW", $this_monday); I am in the UK but my webhost is in Texas, cst, using PHP 5.2.1. I'm baffled?
Chris
13th December 2010 10:08
by Chris Go to last post
2 266

Pear Error

Can some one help me pls for enable pear in smarthostingsolutions server. Now pear is not supporting the server. Wht can i do run pear with amfphp?
Sheeba Lindesh
13th December 2010 10:08
by Sheeba Lindesh Go to last post
2 264

exec("zip ...) works very infrequently.

Hi, I'm running a PHP script on my ISP's server to zip some files. I can exec 'unzip', 'touch' and 'rm' to my hearts content, but when I try any of: exec("zip -j ./Secure/$zipfilename ./Secure/Temp/*"); exec("zip -j ./Secure/$zipfilename ./Secure/Temp/* 2>&1"); exec("zip -j...
Murray R. Van Luyn.
13th December 2010 10:08
by Jerry Stuckle Go to last post
21 287

possible naming convention for a project I'm working on

Hello, I was thinking of applying an object naming convention in a project I'm working. I was thinking of capitalizing all objects to distinguish them from primitives at a glance. Does anybody have any comments on this approach. Thanks
Josh
13th December 2010 10:08
by Jerry Stuckle Go to last post
2 237

PHP downloads

Hi, Could some one please send me a copy of the download code they are using, so I can make an independant check. Many thanks in advance, Aaron
Aaron Gray
13th December 2010 10:08
by Peter H. Coffin Go to last post
2 265

PHP downloads & GetRight hickup

Hi, I am having problems with downloads with the GetRight download manager. No problem with any of the browsers, but GetRight is using the page name instead of the 'content-disposition: attachment; filename=' value. Heres the code I am using :- ~~~ download.php ~~ <?php
Aaron Gray
13th December 2010 10:08
by Jerry Stuckle Go to last post
13 277

php on IIS access violation

I have a client running IIS6 and server 2003, I believe. I just got this, running any PHP script: PHP has encountered an Access Violation... This had been working fine. Any suggestions? I've googled that this is probably a seg fault and a suggestion to run php as a fast cgi. But what do I...
jeff
13th December 2010 10:08
by Jerry Stuckle Go to last post
10 247

OT: Why do so many forms require numbers be entered without hyphensor spaces?

I have never understood this since any programmer can add one line of code to remove hyphens and spaces from a number. Are the coders that inept, or is there some other issue I am overlooking? (Multi-page thread 1 2 3 ... Last Page)
Mr. Nonsense
13th December 2010 10:08
by MB Go to last post
91 1,139

Functions can't access strings defined outside unless they're argumentscan they?

I've found that I can define: $W = '<img src="'.$Path.'R_Images/Marks/WhiteBall.gif" width="14" height="14">'; ....and can reference this within any PHP code, but I *can't* reference it from within a PHP function, unless it's been passed as an argument. I can't find this documented... (Multi-page thread 1 2 )
John O. Kopf
13th December 2010 10:08
by crimaniak@googlemail.com Go to last post
31 515

Best Educational page

Hi! Best educational sites and forex site and other articles also http://www.smartonlineeducation.com and http://www.forenbizonline.com
zaini
13th December 2010 10:08
by zaini Go to last post
2 191

Counting number of similar items in an array

$test = array (1, 2, 3, 3, 3, 3, 1, 2, 2, 1); Does PHP have something that allows me to count the number of 1's, 2's and 3's in $test?
JustWondering
13th December 2010 10:08
by JustWondering Go to last post
2 153

International Journal of Electronics, Information and Systems (IJEIS)Call for Paper

International Journal of Electronics, Information and Systems (IJEIS) Call for Paper The International Journal of Electronics, Information and Systems (IJEIS) publish original papers on all subjects relevant to electronics, computer science, communication network, and information systems. The...
ijeiseditor
13th December 2010 10:08
by ijeiseditor Go to last post
1 137

correct use of charset and db command

if I have an old db maked in a system mysql4 php4 with phpmyadmin command: "my-name-db1" "collation" and MySQL connection collation "utf8_general_ci" I see that inner the folder there is a file db with this row: default-character-set=latin1 default-collation=latin1_swedish_ci
nawfer
13th December 2010 10:08
by nawfer Go to last post
1 146

problem if vers extension are different of mysql version?

db Here not work (some tables key error) (1) winXp * Server: localhost via TCP/IP * Versione MySQL: 5.1.37-community-log Web server * Apache/2.2.13 (Win32) PHP/5.2.10 * Versione MySQL client: 5.0.51a * Estensioni PHP: mysql
nawfer
13th December 2010 10:08
by nawfer Go to last post
14 151

error with mysql

hi i am using windows vista and installed wamp server, initially i installed wamp and accessed phpmyadmin and while setting a password for the root i did a mistake and could not access phpmyadmin and also renamed some php files so i uninstalled wamp server and re installed now the problem...
Sudhakar
13th December 2010 10:08
by Richard Go to last post
2 133

default parameter value

I have a function: myFunction($a,$b = 'B',$c =''){ echo $b; .... if I call it like this: myFunction('a');
jeff
13th December 2010 10:08
by sheldonlg Go to last post
6 166

Using PHP to post to a form

Howdy, I have a scenario in which I have two applications that need to share data. Application A needs to post data to a form in App B and, for lack of better phrasing, switch the user over to App B. Some of the data is sensitive, so I'd prefer the user not be able to see it by viewing the...
Blake
13th December 2010 10:08
by Jerry Stuckle Go to last post
9 168
 

Display Options
Showing threads 1 to 60 of 472
 
Forum Tools Search this Forum
Search this Forum :

Advanced Search

New posts New posts More than 15 replies or 150 views Hot thread with new posts
No new posts No new posts More than 15 replies or 150 views Hot thread with no new posts
Closed Thread Thread is closed  
 
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


All times are GMT +1. The time now is 09:04.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.2