- Strength to Increase Rep
- +12
- Strength to Decrease Rep
- -3
- Upvotes Received
- 114
- Posts with Upvotes
- 101
- Upvoting Members
- 56
- Downvotes Received
- 14
- Posts with Downvotes
- 14
- Downvoting Members
- 6
Hello! I needed a configuration file for a application I'm working on so I first used the built in ini functions in php but it wasn't easy to write the ini files. So I wrote myself a class here to parse a configuration file and write/edit configuration files. I plan … |
|
Hi i own an online game and i wish to know weather there is a way to disable my members from changing the URL in the url bar and only allow them to click links. If they change the URL in the url bar i would like it to header/re-direct … |
|
I have a website that lists pdf files for downloading, with links to each file. What I want to do now is design a search page that will look in the folder that contains these docs and search for docs that match a partial name. I have created search pages … |
|
Hi, I have an application which sends mail wen a new post is made in my blog.my blog is setup in local server using xampp.wen i send mail to a single address its working fine and wen i tried to send mail to multiple address i get an error saying … |
|
I'm new to the forum and new to web development, I have an ecommerce store on prostores and I recently purchased a PHP based 5 star review script for my website. I then gave it to my web developer to implement it and he came back to me saying that … |
|
[U][B]Whenever i run session in server than it show this problem[/B][/U] [B][U]Warning: session_start(): Cannot send session cache limiter - headers already sent [/U][/B] so pls help me this is simple login prog when user enter into nxt page it name will show i want to store its name in session … |
|
Id like to generate an automatic email at certain times of the week from my website to certain users. i.e at 12.30 on wednesday id like an email reminder sent to user [EMAIL="example@example.com"]example@example.com[/EMAIL]. Can anyone point me in the right direction :?: |
|
hi all, i m working on the email validation i ve to check email id either it is correct or not but i cannt send mail on them. ie when i validate all email id client send newsletter and they should not bounce. thanx in advance |
|
PHP is an object-oriented language, based (loosly) upon C++. It has classes, methods, member variables, and all that other good stuff. It runs on your web server, not in the client, but the HTML, JavaScript, and other stuff such as CSS blocks that it emits with its output commands are … |
|
Hi friends Is it posssible to create an email account in the cpanel without manualy logging in ? I want to create a php script which logs into the cpanel and create an email account . I hope i would get a solution form u guys Thanks |
|
Here is a PHP class written for PHP4 and PHP5 that will validate email addresses by querying the SMTP (Simple Mail Transfer Protocol) server. This is meant to complement validation of the syntax of the email address, which should be used before validating the email via SMTP, which is more … |
|
Hello everyone! I got a series of C++ tutorials and a series of Blender tutorials and 1 tutorial on how to get free Windows Vista look on your Windows XP on YouTube.. So I thought I would so some PHP tutorials too... And as always I wanted to check if … |
|
hi all, i want to send sms to mobile phones from web site . is there any solution for this ....... give me idea!!!!!!!!....... |
|
i want to pass a youtube code like [url]http://www.youtube.com/watch?v=NMAYr709-9Y&feature=dir[/url] and it return me the embed code.........!! how can i do that with php and curl........!! |
|
I need a working code for deleting an uploded file on the ftp server.I do have a script but it dosn't work.. [CODE]<?php // set up the settings $file = 'old.txt'; $ftp_server = someone.net'; $ftpuser = 'user'; $ftppass = 'passwd'; // set up basic connection $conn_id = ftp_connect($ftp_server); // login … |
|
how to read the last 10 lines on a file using php. [B]Sample Entry:[/B] Samp1 Samp2 Samp3 Samp4 Samp5 Samp6 Samp7 Samp8 Samp9 Samp10 Samp11 Samp12 Samp13 Samp14 Samp15 [B]Output:[/B] Samp11 Samp12 Samp13 Samp14 Samp15 |
|
Searching the net I couldn't find a simple way of retrieving HTTP Request Headers and HTTP Request Body in a PHP Script. PECL extensions offer this but not a standard PHP install. So heres a simple class that will do it for you. Docs in my blog: [URL]http://fijiwebdesign.com/content/view/90/77/[/URL] |
|
So, I've found this code somewhere on the net (don't remember) and I'm trying to embed it into my site, just in case some of the visitors would need to use it. It creates short URLs (from 4 services) of a particular address. What I don't understand, and I hope … |
|
hello, I want to know how can i build an API for the video conference. What will be the requirement for that? can we use php for that?? if yes please guide to me to do this? |
|
PHP - Converting IP to Country Hello, Is there any function/pre-made scripts in php which can tell me the name of country based on IP? For example: If I supply an IP 132.162.138.139 then the script would echo "India" Thanx in advance :) |
|
This script will generate a thumbnail image of any JPEG image that is sent to it... This file is independant, and mine is named resize.php you can send an image to the php file, and then return the thumbnail for viewing. It does require some work, but WELL worth the … |
|
function compile() { $a=shell_exec('gcc -o Compile Compile.c'); echo $a; $b=shell_exec('./Compile'); echo $b; } I tried to call the above compile function from the directory /var/www/. I could get the result by manual execution of gcc command but i could not create an executable file by running the same command from … |
|
Hi, I am trying to read the content of url. when manually i put url in browser link : [url]http://www.mvnforum.com/mvnforum/viewmember?member=pbmissions[/url] it opens. but using code [code=php] $homepage = file_get_contents('http://www.mvnforum.com/mvnforum/viewmember?member=pbmissions'); echo $homepage; [/code] Warning: file_get_contents([url]http://www.mvnforum.com/mvnforum/viewmember?member=pbmissions[/url]) [function.file-get-contents]: failed to open stream: HTTP request failed! HTTP/1.1 503 Service Unavailable in C:\xampp\htdocs\test.php on line … |
|
Hey All. Have a question. I have this situation: in JavaScript I have a parent window that opens a child window using window.open(). Now, through the course of the whole thing, comes a point where the child refereshes the parent window using opener.location.reload(). After the reload happens, I have realized … |
|
Hi guys. I am seriously confused with this issue. I've set up some pages to ban, unban and approve a user. On localhost, it works fine. I can ban them and their record is updated to show that. I can unban them and again, it's updated. I can also approve … |
|
I need help with a dynamic drop down menu. I need when I select a make. the corresponding model load in the second drop down menu [code=php]<?php $conn=odbc_connect("cisproject","" ,"");// database connection $make = $_POST['manuf_name']; if ($make){ ///////////////////////////////////////////////// $query = sprintf("SELECT * FROM Models where manufacture_id='$make'"); $result = @mysql_query($query); $rowModel = … |
|
I knew that I can use variable variables instead of reflection in PHP but I have never gone that way because my OOP background stated that this is not a clean way. Recently I made a test using both methods and the results made me rethink it. Using variable variables … |
|
Hello, I am using php to check if a URL is available using th if file exists function. [code] if(file_exists("http://www.domain.jsp")) { $lines = file('http://www.domain.jsp'); }else{ $lines= echo $variable } [/code] But it keeps giving me errors...is there an alternative to if file exists? Thanks |
|
Hi,i have an xml files that looks like this [code] <?xml version="1.0" encoding="utf-8"?> <photogallery ID="8" name="Residential"> <album ID="5" name="Leb" photogallery="Residential" date="29/10/2008" location="Lebanon" architecture="Roman" img="thumbnail_1245677486.jpg"> <picture ID="Leb" path="thumbnail_1245670921"/> </album> <album ID="6" name="Leb" photogallery="Residential" date="29/10/2008" location="Lebanon" architecture="Roman" img="thumbnail_1245677486.jpg"/> <picture ID="Leb" path="thumbnail_1245670921"/> <picture ID="Leb" path="thumbnail_1245670921"/> </album> <album ID="7" name="Leb" photogallery="Residential" date="29/10/2008" location="Lebanon" architecture="Roman"/> … |
|
can anyone please tell how to write a simple php code that will convert dollar, euro and yen to pounds. im using a form that will prompt customers to enter a amount they want to convert. thanks in advance |