39,402 Topics

Member Avatar for
Member Avatar for dbayo

i need a help.. i wanna insert an images into MySql database.did anyone have code snippet for my problem?..i hope u can show to me step by step,from the form to the final step insert an images to database..tq

Member Avatar for dbayo
0
76
Member Avatar for bhakti.thakkar

i have an array of hours[] and minutes[]. hours Array: Array ( [0] => 11 [1] => 12 [2] => 13 [3] => 14 ) minutes[] Array: Array ( [0] => 30 [1] => 30 [2] => 30 [3] => 30 ) now i want an array which will merge …

Member Avatar for bhakti.thakkar
0
100
Member Avatar for princestasnley

I actually need a self tutorial step by step on how to buid a proffessional php web site from scatch to finnish. thanks.

Member Avatar for dopple
0
118
Member Avatar for silva

Hi! I am doing some work for uni but having trouble doing it, in that I dont understand it or how to do it! and was wondering if anyone out there would be able to help. I'm having to do a big project where I build a website based on …

Member Avatar for silva
0
76
Member Avatar for bhakti.thakkar

hi all, i have a string for example: $str="The annual general meeting is scheduled on ::date:: at ::time::. you all are requested to be present on ::date:: at ::time::." i store it in the Templates_T table in my DB. Template_ID =1 [for eg.] now this format can be used further …

Member Avatar for bhakti.thakkar
0
794
Member Avatar for chmazur

I would like to know why in the majority of the examples showed in the forum, nobody uses classes in PHP. Is it a chance? Or really, is nobody using them? Do you know classes advantages? ch.-

Member Avatar for chmazur
0
95
Member Avatar for tattie

Hey guys im really new to php and i had it all worked out untill this came along it says this [code]Parse error: syntax error, unexpected T_STRING in /home/tattie/public_html/index.php on line 1[/code] i really really dont know what to do and i would be so grateful if someone could tell …

Member Avatar for tattie
0
151
Member Avatar for Darkmeerkat

I'm trying to write a little wrapper for executing MySQL statements, and I've run into a wall trying to use [inlinecode]mysqli_bind_param[/inlinecode] without knowing the number of variables I'm binding. Here's what I've got: [code=php] /** * Note: * . execSQL is variadic, just like bind_param * . prepareTypeStr is another …

Member Avatar for Darkmeerkat
0
227
Member Avatar for sujithfem

I have enclosed the simple PHP function for Text [array] Highlight without changing the own case... [CODE]function ShowPowerHighlight($Text,$Needle) { for($j=0; $j< count($Needle); $j++){ if ($Needle[$j] != "") { $TextTemp = ""; $i=0; while($i if((($i + strlen($Needle[$j])) <= strlen($Text)) && (strcasecmp($Needle[$j], substr($Text, $i, strlen($Needle[$j]))) == 0)) { $TextTemp .= '' . …

Member Avatar for sujithfem
0
156
Member Avatar for hhheng

I tried the following, but it's not working: [QUOTE]RemoveHandler .html .htm AddType application/x-httpd-php .php .htm .html[/QUOTE] Any other solutions?

Member Avatar for somedude3488
0
82
Member Avatar for lydia21

hi how to validate inputs in php.please send some same code for email and numbers... thanks, lydia

Member Avatar for lydia21
0
102
Member Avatar for akhoa168

Can you show me a open source to send message in a forum as you used for your forum? or how me how to do that Thank you very much! akhoa168

Member Avatar for akhoa168
0
65
Member Avatar for ivatanako

I needed to paginate my article section at my site so that i wont have 20 paragraphs page, now when I tried this on LOCALHOST i encountered no problem at all. But when I uploaded it on my server, the pagination doesn't work. I think the problem here is about …

Member Avatar for ivatanako
0
96
Member Avatar for shackow

i try to install software called kbpublisher on my website and i need "document root" to configar this software [url]www.basma.sy/db[/url] thanks

Member Avatar for shackow
0
167
Member Avatar for fatihpiristine

does anyone know how to limit upload speed on apache for windows? i found some solutions but they all for linux this one didnt work for me <IfModule mod_throttle.c> ThrottlePolicy Original 7 5 <Location /throttle-status> SetHandler throttle-status </Location> <Location /throttle-me> SetHandler throttle-me </Location> <Location /~*/throttle-me> SetHandler throttle-me </Location> </IfModule>

Member Avatar for fatihpiristine
0
93
Member Avatar for mercuryserve

Hi. I have extraordinarily limited knowledge of (in?) PHP. Anyway I was trying to fiddle with my website and I did something such that when I click on a menu item on my website I get this message: Parse error: parse error, unexpected ':' in /home/mercurys/public_html/preview.php on line 46 Other …

Member Avatar for hopalongcassidy
0
96
Member Avatar for lydia21
Member Avatar for hopalongcassidy
0
155
Member Avatar for rjbind

I get the following error when I run the script: `Parse error: syntax error, unexpected '{' in /home/rjbind/public_html/cert/score.php on line 61` Here is the script syntax: <p align="center"> <a href="http://serverpg.com/clients/"> <img border="0" src="http://www.rjbind.com/cert/header.jpg"></a></p> <?php /* ServerPG Certification v1.1 Copyright (c) 2006 serverPG.com This is not intended for redistribution Do not …

Member Avatar for rjbind
0
126
Member Avatar for bling_bling_vr6

Hi, I have this code. It works fine using PHP 4 and MySQL 5.0. but it doesn't work at all on my webhost (php4 mySQL 4) and I cannot for the life of me figure out why. Here's my code: /<? // Connect database. include("connectdb.php"); //if "Submit" button is clicked …

Member Avatar for somedude3488
0
153
Member Avatar for lydia21

hi i am new to php.i want to know how to validate textboxes for email address and alphabets... lydia

Member Avatar for lydia21
0
96
Member Avatar for claudiu_is

"Model oriented graphs using XML. Then represent with the help of stylesheets, in an intuitive graphic format, the BF and DF Searches of the graph. Also, offer a SVG representation of the search." Do I need to use PHP, or just XML? And if so, in what ammount? What other …

0
86
Member Avatar for emmanueloladele

Hello All, I create a website that sends mail to all prospective users. I discover that users on yahoo mail dont get my mail (and some users on free or Commercial e-mail services). However, users on company based mail get the mail. I need your help ASAP Emmanuel

Member Avatar for fatihpiristine
0
64
Member Avatar for Golffor1

Hello everyone I have some code listed below, well with this code I it does not display anything in the listbox. When I have it displaying the stuff in the listbox it does not display the correct stuff...like less than 10. I have put the line of code in bold. …

Member Avatar for fatihpiristine
0
184
Member Avatar for markchicobaby

Hi I've been looking at site [url]www.cdbaby.com[/url], apparently they switched over from Ruby on Rails to PHP. I would like to know if anyone can explain how come none of the links have a "php" extension on them, and how this can be achieved? (...or is there a way to …

Member Avatar for fatihpiristine
0
426
Member Avatar for daver40

Hi! I'm a bit of a beginner at PHP, and I'm having trouble comparing two strings in a conditional statement. Both of the variables are strings, but one of them them is assigned from a MSSQL database. In this database, it of the unicode varchar data type. It doesn't seem …

Member Avatar for daver40
0
121
Member Avatar for petzoldt01

I am currently trying to understand how to rewrite URL's, but I am missing several pieces to the puzzle. I will have a directory stucture similar to the following... / /apps /lib /config /public /public/index.php /public/images /public/css /public/js I want /public/index.php to be called first on nearly every url request. …

Member Avatar for fatihpiristine
0
616
Member Avatar for drsmith

I am attempting to use a PHP include with cgi-bin. Is this even possible? My other includes work fine. Here is the offending code: [code] <?php include ".../cgi-bin/Calcium40.pl?Op=ShowIt&CalendarName=City"; ?> [/code]

Member Avatar for drsmith
0
71
Member Avatar for emmanueloladele

Hello Guys, I am creating a pdf document in PHP using fpdf. I have a problem created a text wrap table with the fpdf classes. Can somebody please help me. (note that multicell is not achieving that function). Better still i will appreciate it if you can introduce me to …

0
58
Member Avatar for eldoc

Hi I am trying to connect a Flash client socket (XML) to a php socket server (using Flash 8 and php 5). My php socket server responds correctly when I connect to it with a php client socket but fails when I try to connect with the flash xml client …

Member Avatar for XBow
0
416
Member Avatar for apwade

Is possible to post values directly to a webpage, but without using a submit button, i.e. directly from the server and no human interaction. Cheers Andrew

Member Avatar for fatihpiristine
0
86
Member Avatar for onyxtacular

Hi Everyone, Another newby here with hat in hand. I'm working on a basic flash/php mail program. Working with the template provide from a website; I want some additional fields to the formmail. So I added some text boxes to the .FLA file which sends the variables to the PHP …

Member Avatar for fatihpiristine
0
345
Member Avatar for maninweb

Hello together... hope someone can help me:-) I want to to run a php file every ten seconds on serverside, how can I do this? CronJobs are not really working; Server = Apache, PHP 4 or 5. Greetings & Thanks

Member Avatar for jmag
0
7K
Member Avatar for apwade

Is it possible to have two main pages i.e index page one for wap and the other html(php driven) or do i have to determine the type of user and rewrite my index page appropriately. My main site is unsuitable for mobile phones and would have to significantly different. Cheers …

Member Avatar for stymiee
0
69
Member Avatar for Silverhawk

:?: Greetings, I am brand new to php and mysql so get out the asprin. smile I am making a php file to pull information from dat files to update my database. When I run http://www.sandpointrealty.com/read2.php I get this error Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result …

Member Avatar for clement108
0
332
Member Avatar for nishanthaMe

I am developing an application using xampp and in that appliaction I want to send sms.So is there any support from php for sending sms(I have a gprs modem) or is there any other way.

Member Avatar for zappy
0
117
Member Avatar for ryan_vietnow

Hey dude,does anybody know how to transcode a video file in ffmpeg but the video must be played like a backward or rewinded vid?Please share your thoughts about this.Thanks.

0
67
Member Avatar for dragon@dragon64

Hi this might sound like a simple question to most but it is something that i have been trying for quiet a while. I have a table in mysql, which contains a name of a football match, date, time , and one of the variables is a link address to …

Member Avatar for fatihpiristine
0
140
Member Avatar for michael123

I have a simple php file for example: [CODE] <? header("Content-type: application/octet-stream"); header("Content-Disposition: attachment; filename=file123.xls"); header("Pragma: no-cache"); header("Expires: 0"); print "test"; ?> [/CODE] What I want to do is export php result and save it in excel file. If I run this from web browser like IE,firefox, I have no …

Member Avatar for michael123
0
110
Member Avatar for jaydude23

[code=php] <HTML> <?php if (empty($CSP_Name) || empty($Supervisor) || empty($Rep_Number) || empty($Department) || empty($Account_No) || empty($First_Name) || empty($Last_Name) || empty($Phone) || empty($ShipTo_Address) || empty($ShipTo_City) || empty($ShipTo_State) || empty($ShipTo_ZIP) || empty($Accept)) {echo "<h2>Please make sure you have filled in all required fields. Please use your browsers Back button</h2>\n"; echo "<h2>******REQUEST WAS NOT …

Member Avatar for jaydude23
0
146
Member Avatar for sagedavis

Hello everyone. I am interested in building a Content Management System of my own, from scratch. I program in PHP and MySQL pretty well, but mostly just for E-commerce and dynamic content. I have been using blogger and wordpress as blogging programs, and notice in the admin area that you …

Member Avatar for rawat167
0
100
Member Avatar for stp123

I get the following error in my code: Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in.....line 20 This same thing occurs in lines 28, 54, 55, 108, and 109 I get another error in line 51: Warning: Cannot modify header information - headers already sent by …

Member Avatar for RoryGren
0
105
Member Avatar for fatihpiristine

i forgot how to split urls :) [code=php] $url = "http://www.myhost.com/1,1,1,10.html"; [/code] i m trying to get 1,1,1,10.html n assign each value before commas to variables any ideas??

Member Avatar for fatihpiristine
0
106
Member Avatar for naturegirrrl

Hi all, I am new here, (as you might have guessed :) After I get the PHP/apache thingy working Or kill myself whichever comes first I will be needed to set up a db back end I would like to pose a question to you learned folks. I notice many …

Member Avatar for chmazur
0
109
Member Avatar for aquilai

Hi i'm trying to upload a picture to the server using a form and it all seems to be working fine the only problem is I can't seem to find the picture when its uploaded, the script runs fine and gives me no errors and then when I come to …

Member Avatar for aquilai
0
91
Member Avatar for naturegirrrl

Have never worked with either so just at this point trying to get the environment up and running. Yesterday I downloaded: 1. SQL Server 2005 Express Edition with Advanced Services SP2 2. Microsoft SQL Server 2005 Express Edition Toolkit 3.HTML-Kit build 292 did a PHP hello world and was not …

Member Avatar for naturegirrrl
0
211
Member Avatar for nathanpacker

Alright, this one has me stuck. I know it's possible, because I've seen an example in another thread, but mine is slightly different, and I can't figure it out. Ok, I have one script that pulls all the rows from a database, and displays the data using a while loop. …

Member Avatar for nathanpacker
0
156
Member Avatar for nathanpacker

Hey, not sure if this is possible with PHP, but I thought I'd ask anyway. Is it possible to update values on an html page based on values being typed into an input box? For example. My table has three columns. Column 1 has an integer in it. Column two …

Member Avatar for ryan_vietnow
0
112
Member Avatar for grmurali

I am new user I have a system which has Apache2.2.4, PHP 5.2.3 in windows xP proffessional service pack 2. My MSSQL server is in remote place . I have access to the server by using the windows authentication only. when I use script $host='mass.com '; $user='gs\amk123'; $pass='Almn!2345';( windows password …

Member Avatar for naturegirrrl
0
278
Member Avatar for fatihpiristine

hi guys... i have two static value and between 8 and 16 other dynamic variables...which returns from sql queries everything.. like page titles, subjects etc... everything based on number in tables, Statics: Language and Index Dynamic values: Categories from 1 to 6 SubCategories from 1 to 10 system works like …

Member Avatar for fatihpiristine
0
97
Member Avatar for ashketchum

Hi everyone. I am new to PHP and MySQL. I am trying to create an RSS feed that gets content from more than one database table. The database tables are "categories". And I want to retrieve the latest content from those categories for the RSS feed. I want to retrieve …

Member Avatar for chmazur
0
71

The End.