473,768 Members | 7,424 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

PHP Forum

PHP web programming language - Ask questions about php scripting, databases, mysql, templates, PEAR, php functions, PHP-GTK, setup and installation, object oriented programming, classes, files, security, sessions, arrays and more.
0
1,209
thread by: ofuuzo1 | last post Dec 1 '07 by: ofuuzo1
Hi, I am new to php. I have text files each containing some metadata. I would like to use preg_replace to remove some of the fields in each text file. Some contents of a field can go over several lines. How can I do it using preg_replace? Thanks in advance Ofuuzo <?xml version="1.0" encoding="utf-8" standalone="no" ?>
4
16,104
thread by: Sarvesh997 | last post Nov 30 '07 by: jojet
Hi, I have one problem regarding search & search results page in IE & Firefox. A code in both pages written in Php & database in MySQL Problem : When i selected one or more checkbox & dropdown items on search page & click on GO button then search result page open. & when i click on browser's BACK button then in IE "Web Page Expired"...
1
1,678
thread by: windub | last post Nov 30 '07 by: Acrobatic
Hi... I would like to capture an email address from a form and send a copy of the mail to that user. Can anyone give the correct code? Below is the script I am using. Thanks for your help. <?php
2
1,020
thread by: ajay03bairagi | last post Nov 30 '07 by: stepterr
i joined s/w company last month .i have big problem how can read php code,logics,scripts and other things ...........please help me . i want to make search engine with mysql .
5
6,689
thread by: movieking81 | last post Nov 30 '07 by: movieking81
Another PHP newbie here, I trolled the boards here trying some of the different solutions but I keep getting the errors over an over. maybe my problem is specific. I keep getting the following when I load my test.php file into the browser. PHP Notice: Undefined index: variable in Path to page on line 24 The line in question is this ...
6
4,865
thread by: howa | last post Nov 30 '07 by: Rik Wasmus
Suppose the file is stored in "upload_tmp_dir ", so why I need to increase the memory limit? If I want to upload 100 MB, how large should I set? Thanks.
0
1,089
thread by: lamib | last post Nov 30 '07 by: lamib
Hi. I'm looking for some decent API's for blog search engines (or whatever the correct technical term for them are). Technorati seems to be out of question, because from what I could understand, their API is very lacking in, for example, filtering the results it gives. Any suggestions?
0
2,472
thread by: rando1000 | last post Nov 30 '07 by: rando1000
I have some ASP code I'm trying to make work in PHP. The code is intended to receive a cXML feed and send a response. A tool sends this feed via tcp/ip port 80 transfer to my webserver. The tool fails when it is tried, but the client who owns the tool is unable to provide me with any log information as to why it fails. When I go to the page...
0
1,198
thread by: jasone | last post Nov 30 '07 by: jasone
Hey guys, im creating a website that will be mostly powered by php. I will start by giving you some backgroound: I want the website to be totally dependant, so the user can update it all themselves.. upload new images,select which to show etc.! the first hurdle ive hit is that i want the 'admin' to be able to select what banner is shown...
7
2,582
thread by: bummerland | last post Nov 30 '07 by: Jerry Stuckle
Hi, I have a problem with the function fmod. Why is fmod(5.7, 0.1) = 0.1 ?? Why is it not 0? tia bummerland
4
6,452
thread by: Kim | last post Nov 30 '07 by: Rik Wasmus
I keep getting "function not defined" when trying to get a result count on my queries ("numRows()") and dont see a bug report on PHP.net on this matter. And yes, my queries DO have results. Any idea why I get that message ? I followed example 2332 on PHP.net, but no luck. (http://www.php.net/ manual/en/function.sqlite-num-rows.php) Im...
3
3,076
thread by: shybe | last post Nov 30 '07 by: Jerry Stuckle
Ok, Im trying to create a "send this article to a friend" script for my blog, Right now its sending all the articles, but I want it to only send the article in which the form is attached to.
6
2,186
thread by: orfiyus | last post Nov 30 '07 by: orfiyus
Wutup Im trying to write a php script that has a link. When the user clicks the link the link turns into a text field which the user can modify. When the user clicks elsewhere the text that the user typed is turned back into a link. Ive got the php script which Im supposed to change and I got a piece of javascript code that does the whole...
6
1,679
thread by: Charles | last post Nov 30 '07 by: Charles
Hello, I'm trying to extract the home page URL out of a any URL from the same web site For instance if I'm on http://www.regular-expressions.info/javascriptexample.html I want to extract http://www.regular-expressions.info So, I have my regex ready, it's working fine: http://+ But when I add it to PHP's preg_match function this way: ...
3
1,880
thread by: taps128 | last post Nov 30 '07 by: Toby A Inkster
I've been reading the namespace specification for the 5.3 relaese, and I can't stop thinking that they have complicated the thing unecessary. Here is what I mean. So far if you call a function or a class in (which is not global ) using this: ::A::foo(); it will first try to run the function foo() from the namespace A , and
6
1,296
thread by: Ciaran | last post Nov 30 '07 by: Ciaran
Hi i'm just experimenting here with php and rss and I'm wondering if it's possible to point an rss reader to a php script? I'd like to dynamically pull data out of an SQL table as the viewer checks the feed. Is this possible please? Cheers, Ciarán
3
2,213
thread by: shybe | last post Nov 30 '07 by: bill
I have a send mail script on my site that. The emails are recieved by gmail, and yahoo, but not to mail clients like Outlook, Mail, etc...) Is this a problem with the script, or is it something I must change in php ini file? Thanks in advance for any help.
3
8,633
thread by: Niels Lange | last post Nov 30 '07 by: Niels Lange
Hi guys, at present I´m editing some old scripts from a colleague from mine. In one function I fund something I didn´t understand. The function looks like: function foobar(&$val, $key = ' ') { ... }
1
1,235
thread by: jeevela | last post Nov 30 '07 by: mwasif
hi, im doing my final year project. Project title is Research Project Tracking System. In tis project, i have to keep track the budgets and expenses for the research project from the beginning until the end. so i have to do Gantt chart and milestone. but i don't have idea how to do it.... can help me to overcome this problem...... thank you
1
1,301
thread by: SeanInSeattle | last post Nov 30 '07 by: badar.waqas
So, I'm compiling XML strings within a function, when passed the type of XML file to create. My question is, how do i query the status of that function so that I can show a "XML File Loading, Please Wait." notice on my web site while the XML file is being created. Any help is appreciated!
4
1,783
thread by: sales | last post Nov 30 '07 by: NC
I have used Include pages for a menu bar within a webpage - See below. <!--webbot bot="Include" U-Include="menu-categories.htm" TAG="BODY" -- It works fine when the page is htm format, but when I use the page in php format, all the menus that are an Included link do not show. Any ideas??? Thanks
2
5,274
thread by: Simon Shaw | last post Nov 30 '07 by: NC
I am that rare point in a developers career where I am starting a new web based project and I have a 4-8 week slot to train myself in the most appropriate technology for this task. As a non-web based C#/C++ programmer with over 14 years of experience this means that although I have a sound understanding of the software development, design and...
0
1,052
thread by: grandpagohan | last post Nov 29 '07 by: grandpagohan
Hi Iv been searching everwhere for how to read windows file(not only jpg but pdf etc) summary(properties/summary tab) data(Title,Author,Subject etc) any help will be appreciated.Thanks
1
2,007
thread by: sbettadpur | last post Nov 29 '07 by: stepterr
Hi everybody, Iam able to getting the submition of buttons status in Mozilla but it is not working in the IE browser Iam strugling with more than 1 submit button in a single form on The IE browser i need the post value status of each button here i have code please give a farward solution. Actuall i have 2 farward buttons and 2 backward...
11
1,806
thread by: Jason Carlton | last post Nov 29 '07 by: BKDotCom
I'm sure this is an easy one, but I can't seem to find it! I have the date and time as: # Nov 28, 2007, 11:11:14pm $timestamp = 20071128231114; In Perl, I would split this up as: my ($year, $month, $day, $hr, $min, $sec) = $timestamp =~ /(\d{4})(\d \d)(\d\d)(\d\d)(\d\d)(\d\d)/;

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.