Looking for Apache Binaries?

599 byte By penagate at 2007-12-5 11:58:34
Apache seem to have removed the link to their binaries from the regular download page.Here's how you can find the right binaries for your platform.Step 1.Find a mirror: http://apache.org/mirrors/Step 2.Navigate to the binaries directory by appending httpd/binaries/ to the URL.For example:htt...

File Uploader

578 byte By I_Love_My_Vans at 2007-12-5 11:58:27
Hello AllI am making a file uploader, I have noticed my script will not upload the file when over a certain size, I have tried to use ini_set to set some settings to increase the maximum file size upload allowed, but I have read that because the ini_set will be within the same iteration of the u...

Downloading Files

408 byte By I_Love_My_Vans at 2007-12-5 11:56:58
Hello!Heres what I want, I have files on my server, for example 1.exe, 2.zip.Through a PHP script I want to allow the user to download then but under a new name, for example 1.exe will be called Setup.exe and 2.zip would be Music.zip.I want this to go through a PHP script to incrmement a downloa...

How to install CMS

403 byte By rasana at 2007-12-5 11:55:30
Hi All,I don't know whether this is right section of vbforums to post this question or not. But anyone knows about cms installation?I've gone through joomla installation guide pages..but all are explaining how to install joomla on ftp.but if I want to install joomla(CMS) on my home pc...

[RESOLVED] Apache + php+MySQL

163 byte By fims at 2007-12-5 11:50:44
i want to prepare a machine having Apache server, php and MySQL database. anyone guide me abt process which one should be installed first and which one later on...

[RESOLVED] Session with Array()

444 byte By systech44 at 2007-12-5 11:50:20
Hi,Is it possible to carry an Array() with Session from one page to another ? Please show me how ? Otherwise, is there any alternative of this situation ?As we do in vb, in module section we declared the array and use it from different forms. In PHP we use Session instead of module. How to imple...

View Randomize Option with Next and Back buttons

2197 byte By systech44 at 2007-12-5 11:47:55
Hi,I have a problem. In the following code I would like to randomize 5 questions out of 10 and display it one by one by clicking 'Next' button. In addition, I like to see the previous question by clicking 'Back' button.Problem is: questions are not coming properly when I tog...

How to get an email with multiple records form MySQL displayed using php?

11390 byte By billa at 2007-12-5 11:45:34
Hi, Could you pls tell me how to get an email with multiple records form MySQL displayed using php? Suppose, I have 10 fields in a table. and have 25 records. I want to make an email in HTML format which makes query to db and then send s me an email displaying these all 25 records one below the...

Making form code work without register_globals

481 byte By Neo-dark at 2007-12-5 11:45:20
hey allI have a form on my website,which 3 variables ontop a script1.) Domainname2.) User3.)PasswordI am trying to pass these variables to the script with a small form.I know it works when I have Globals,when I turn it off it says it didn't get the domainname; Of course this is true because...

[Resolved]Reading out specifics in an INI file

384 byte By Neo-dark at 2007-12-5 11:45:19
I was wondering if there is a way to edit specific parts in a .ini file easily?What I am trying to do is make a list of usernames which are located in a file like:[username]fileattrib=RWpasswd=passwdDir1=/usr/files/I figured I could use include but as far as I know you cannot include only specif...

Cookies - Can read on one page but not another.

2379 byte By StrangerInBeijing at 2007-12-5 11:44:40
I set cookies on one page like thissetcookie("rem", $rem, time()+(3600*24*365)); setcookie("uid", $uid, time()+(3600*24*365)); On that same page I can read cookies without problemsBut In another page I call this function in an included file, and it act like if allthe cookies are empty or not exi...

how can i send email automatically for every weeks

121 byte By billa at 2007-12-5 11:44:37
sir,<br/> i need to send the email automatically to my client continusly every a week .<br/>yours regards, <br/>billa

Chinese Characters in mySQL Table

218 byte By StrangerInBeijing at 2007-12-5 11:41:54
Hi,<br/>I posted this in the Database Development forum,without much luck.<br/>Chinese Characters in mySQL Table ( http://www.vbforums.com/showthread.php?t=497947)<br/>Hoping someonehere might be able to help.

login script info dont match

3411 byte By troubleshoot at 2007-12-5 11:41:24
everytime i try to login, i recieve "'The name and password entered do not match those on file."can anybody help fix this please<?phpif (isset($_POST['submitted'])) {require_once ('./mysql_connect.php'); function escape_data ($data){global $dbc; if(ini_get('magic...

Call to undefined function mysql_connect() error

264 byte By devdas_kamath at 2007-12-5 11:38:17
Dear sir,<br/>i have installed mysql, apache and php5 in my computer. Mysql and apche standalone working fine. but when i write the code in php to connect to mysql it gives above error. what is the solution.<br/>thankin u<br/>regards<br/>Devdas M. kamath

PHP for our web site

403 byte By devdas_kamath at 2007-12-5 11:36:00
dear sirwe have decided to have dynamic website from our existing static website. We have planed to use php for scripting and apache as web server and mysql as backend. Upon study we found out that combination is good. We would like to know about the license about these three software. whether i...

[RESOLVED] Set Title (After Its Been Set)

1480 byte By Neato at 2007-12-5 11:34:34
Quick simple question, which may seem easy to those that write scripting languages, I'm not very familiar with php. I need to know how to set the title of a page after it's already been set.Example. Page sets to 'This is your page'. It checks to make sure that the user is log...

variables in heredoc

673 byte By StrangerInBeijing at 2007-12-5 11:34:07
I just started using this heredoc syntax after reading about it. Pretty handy and easy to use.One thing I dont understand though.The following will fail:$ret_val = <<<EOT $_SESSION['usr_sal'];EOT;With a Parse error: syntax error, unexpected T_ENCAPSED_AND_WHITESPACE, e...

i can display swf file in php

123 byte By somdeep_123 at 2007-12-5 11:33:34
can any one help me to display swf file in php <br/>please give your example with code,its urgent<br/>tanks in advance

gmp_mod()

271 byte By systech44 at 2007-12-5 11:33:20
Hi,<br/>Please help to solve the following problem using gmp_mod(). I bring the function from PHP Manual, but it is not working. Please help.<br/><?php<br/>$mod = gmp_mod("8", "3");<br/>echo gmp_strval($mod) . "\n";<br/>?><br/>Thanks in advance.

PHP and Crystal Reports

342 byte By PC Master at 2007-12-5 11:32:27
Hi.. How are you all?i want to know how to use crystal reports with php...i want to send parameters to the report for example i have a text box in crystal reports named (text1) and i want to send some value to it so i can print it...also i want to know how can i preview or print reports...thanks...

Simple query

390 byte By blackeyed at 2007-12-5 11:31:14
Hi guys i m new bie to php. Can you please let me know how to work around this prob.<?$mystart="<chart caption='Daily Summary' subcaption='For Date' xAxisName='Name' yAxisName='Count' >;echo $mystart;?>but it doesnt prints anything. However whe...

how to POST from function and "read" return value

557 byte By StrangerInBeijing at 2007-12-5 11:27:59
Hi,I know how to make a form that POST, no problem.We are using this company for sending sms messages from our site. For this I have to POST several variables to a php page on their server (I use php too). This page will return a code, depending on success or errror, and if the latter what err...

Reverse Image

227 byte By systech44 at 2007-12-5 11:22:26
Hi,<br/>Is it possible to reverse picture using PHP ? Please help me solve it out. I have a picture and I like to reverse the picture on the basis of some condition runtime from the PHP script.<br/>Thanks a lot in advance.

New In PHP Programming .. Please Advice And Help me Quiqly:)

820 byte By LinuxOx at 2007-12-5 11:17:20
Hello My Brothers :),How Do you Do..I'am New learning IN PHP .. I Readed simple book In PHP Before 2 Monthes And i learned alot of things in PHP .. But I Left It before My Busyness .. Now I Decide To Return And Relearn It again and programm .. but when i tried to write some siple again i sa...

error uploading image to database!

2931 byte By Motorui at 2007-12-5 11:08:03
hellofound this script but keep giving me an error in line 23!!!Fatal error: Call to undefined function: imagecreatefromjpeg() in c:\program files\easyphp1-8\www\taboadamacronews_port\include_img.php on line 23please help<?// UPLOAD DA IMAGEMif(move_uploaded_file($upimagetemp,$thumbdir.$upim...

php and IIS

58 byte By vbbit at 2007-12-5 11:05:55
can I have php run using the IIS server instead of apache?

Rating System

201 byte By dclamp at 2007-12-5 11:04:12
I want to create a Rating System based on a 5 point scale.<br/>Basically, members will vote from 1 - 5, and i am not sure how to store the rating, or calculate it so that it comes out to 5 points.

Directory structure for multi-lingual php,css,js,ajax site.

1223 byte By StrangerInBeijing at 2007-12-5 11:01:41
I'll be rebuilding my new company's html/flash website, using php, mysql, css, javascript&ajax and reusing a lot of the flash (for now). Also the site will be multi-lingual (english & chinese)So right now I am planning a directory structure. Normally this become messed up (I come fro...

variables

464 byte By Beasts at 2007-12-5 11:00:51
i am pretty new to PHP and am having a little problem.my code is like this.function thing(){ include("global_variables.php"); echo($variable1);}function thing2(){ include("global_variables.php"); echo($variable2);}this is not how i want it to be. the question is, is it po...

PHP Parse error: syntax error, unexpected T_STRING

209 byte By tendemo at 2007-12-5 10:59:16
Hi, I am getting the above mentioned error when I change the HTML text from within a PHP define statement. Im a newbie in this feild , may I know what may be causing this error and how it may be avoided.Thanks

[RESOLVED] Display Image Using PHP Code

584 byte By systech44 at 2007-12-5 10:58:47
Hi,I have a problem regarding display image by using PHP. I am writing the following code. But it is giving me the following error:Parse error: syntax error, unexpected T_STRING, expecting ',' or ';' in /home/go/public_html/learnyoga/test.php on line 3Please help me to cope u...

Apache, php on Win2k3 Server

650 byte By StrangerInBeijing at 2007-12-5 10:49:02
I just installed Apache, Php5, MySQL on our new server running Win2K3 Server (no choice....got another system coming from partner that require windows)All works fine, and if i put a "index.php" with phpinfo in the document_root folder it show the php info page.However,if I rename index.php to sa...

Using htmlMimeMail5 for sending emails

2419 byte By StrangerInBeijing at 2007-12-5 10:47:59
I am trying to get to send email from my development machine, which is pretty much the same setup than the new server (Windows, Apache, PHP5, MySQL...using WampServer).My own email (which I use for development), and the company email (for which I still need the smtp details..i'm new here),...

Php+My SQl Download+Sourabh

172 byte By sd1978 at 2007-12-5 10:46:44
Hi,<br/>I have a php project which needs to be done with MySql Database.<br/>can any body help me with a site from where i can download MySql free of cost.<br/>Regards

Setting textbox values

526 byte By Ashylay at 2007-12-5 10:44:54
Okay Im guessing this is PHP ... basically if you go on www.cbfsms.com there are 2 textboxes a number box and a message box. I was wondering how do i find the names of these boxes and edit them in the url for example http://www.cbfsms.com?number=4407123456789&message=hellooooso when u enter that...

[RESOLVED] Generating thumbnails with GD - IIS issue

274 byte By mendhak at 2007-12-5 10:40:57
I have a pre-written PHP script which makes use of GD. I'm attempting to run this in IIS, but I've figured that I'm missing the GD libraries required. <br/>I'm assuming I'll need to edit php.ini to enable gd, but which lines am I looking for?

how reset the id of mysql?

82 byte By jason21 at 2007-12-5 10:40:20
hi,<br/>there is any way to reset the id of mysql?<br/>thanks for your help<br/>:)

Do I understand URL Rewriting right?

698 byte By StrangerInBeijing at 2007-12-5 10:37:23
I dont need to know now how it's done, I just need to ensure it's possible. Dont know much about url rewriting, but from what I understand, one can do the following.I can create my directory structure of the website any way that suits my specific needs.However, I might end up with url...

including files.....how to make it work on all levels

929 byte By StrangerInBeijing at 2007-12-5 10:34:31
I am setting up a new website, that will run on a Win2K3 Server (some other system on the server need windows), so I will be using WAMP.Not a php pro (yet), but from what I gathered one can set a specific folder to be your "includes" folder, so in any php page you can just say "include("myfile.p...

[RESOLVED]problem outputing result of inner join query using php

3367 byte By tony007 at 2007-12-5 10:34:30
Hi all .I have 2 tables as shown below. I run this query in phpmyadmin and i get sets of data.But for some reason my phpscript doesn't output any data.idyoutube in both tables are the same. i have 2 playlists and one video in each but my php script returns nothing!! I be happy if some help...

Do I need to use AJax?

801 byte By rasana at 2007-12-5 10:31:59
Hi All,I'm creating registration page where a page is having12 fields.the process is when user fill ups all fields and clicks the submit button,it should connect to db and check whether user name is already exists or not and display appropriat msg.but problem is after checking the user name...

[RESOLVED]How to display data in two columns?

1032 byte By rasana at 2007-12-5 10:31:54
Hi all,I'm creating a page where I have to take data from mysql dband display it on page.Data should display in two columns.But using while{} I can display data in one column only.here, i'm giving code<table align="center"><tr> <td colspan="2" align="center"><font...

[RESOLVED] Php File Upload

1262 byte By Pino at 2007-12-5 10:30:12
Ok I must have done this about 20 times in the past but for some reason I cant get my latest file upload to work? Errors : Possible file upload attack!Here is some more debugging info:Array( [uploadedfile] => Array ( [name] => aces.jpeg [type] => image/j...

.htaccess redirects

554 byte By dj4uk at 2007-12-5 10:29:58
I've added the following into my .htaccessOptions +FollowSymLinks RewriteEngine on RewriteCond %{HTTP_HOST} ^oldurl.com [NC] RewriteRule ^(.*)$ http://www.newurl.com/$1 [L,R=301]Where I want to redirect all pages from the old domain to the new domain e.g. www.oldurl.com/example.htm should r...

Multi-lingual site - best approach (SEO vs Maintainability)

589 byte By StrangerInBeijing at 2007-12-5 10:29:26
I'm about to start with a new multi-lingual site.The last time I did this with php, I used a single site (not one version per language) and dynamically build the content (from included files with arrays) when the page load.This was pretty easy to maintain (Just add values to array), but I r...

[RESOLVED]How to stop code execution in PHP?

166 byte By rasana at 2007-12-5 10:29:08
Hi all,<br/>like in ASP we use <br/> response.End() <br/>to stop code execution in between..<br/>is there any function in php to stop code execution in between?

[RESOLVED]how to track what online user is doing?

148 byte By rasana at 2007-12-5 10:29:07
Hi all,<br/>how to track currently logged in users information?<br/>(e.g. Whether user is editing profile, viewing page, deleting profile etc.)

redirection trouble

148 byte By Beasts at 2007-12-5 10:26:28
hi.<br/>how do i make it so that if the URL is " http://mysite.com/index.php" then automatically redirect to " http://mysite.com/index.php?page=index"

where to get HTTP.php and how to install it

235 byte By tony007 at 2007-12-5 10:25:03
Hi all i work with php script that requires this line:<br/>require_once 'HTTP.php';<br/>Unfortunately the program didn't provide that php file. could any one tell me where to get it and how to install it?Thanks