39,316 Topics

Member Avatar for
Member Avatar for jyotiu

have recently migrated my ubb forum website([url]http://2aforum.com/[/url]) to a new web hosting server, i have placed the files on new server and i think directory structure is right and also set up the database through phpmyadmin, and changed config file accordingly but still i am getting this error [COLOR="Red"]UBB Message …

Member Avatar for jyotiu
0
149
Member Avatar for jyotiu

Fatal error: require_once() [function.require]: Failed opening required '/forum/forums/libs/functions_forums.inc.php' (include_path='.:/usr/local/php5/lib/php') in /home/content/j/o/h/johncardillo/html/forum/forums/scripts/cfrm.inc.php on line 50 how can i solve this error?

Member Avatar for jyotiu
0
136
Member Avatar for justinmyoung

Hi I would like to have an image on the index.php page, such that you would see in a gallery, become a larger image on single.php page. Is there a way to do this? Here's the code for the index.php [CODE]<?php get_header(); ?> <?php $counter = 0; $counter2 = 0; …

0
64
Member Avatar for Merlin33069

I like to script php, and lately i was looking for a way to create a 100% dynamic page in php, with the least possible overhead and create a rich user experiance. I say this is a "New" PHP structure because I have come up with the idea myself, that …

Member Avatar for Merlin33069
0
442
Member Avatar for kssi89

This was mentioned in a previous thread but I am thinking this problem may warrant a new one. The code I am working with here: [CODE=PHP] <?php //connect to the database $connect = mysql_connect("localhost", "root", "password") or die ("Hey loser, check your server connection."); mysql_select_db("ecommerce"); ?> <html> <head> <title>Here is …

Member Avatar for almostbob
0
117
Member Avatar for serdas

i don't know how or even if it is possible have this code work peginated. right now all the data comes in one page but it would be nice to have it in multiple pages let say 40 per page would you be able to help? i know it is …

Member Avatar for serdas
0
156
Member Avatar for tanmoy_india

i am designing a site...under xampp with php...now,i have a table called link where i want to link some special links by fething it from database...but my problem is when i open it ....it happens something like below... suppose I give a url "www.intel.com" in the database by hyperlinking a …

Member Avatar for almostbob
0
82
Member Avatar for rouse

I want to perform an operation on all files in a given directory. I want the user to choose the directory with some GUI interface. Using HTML I could use the INPUT as I found in this example below at TIZAG. As anyone found a method just to choose a …

Member Avatar for diafol
0
91
Member Avatar for michael123

I try to generate on-fly pdf files by php code, the pdf file will display the web page exactly the same as on browser, did some research but have no clue how to do that. The function: PDF_show_xy ( resource $p , string $text , float $x , float $y …

Member Avatar for diafol
0
116
Member Avatar for kssi89

Hello there, I've been working on a shopping cart by following certain examples and tweaking the code here and there as needed, but this particular cart requires something similar to discount codes. This company provides free upgrades or 50% off certain items depending on weither or not the customer is …

Member Avatar for ShawnCplus
0
86
Member Avatar for itisnot_me

ok i am at a loss but this shouldn't be too hard. for all of you smarties ok i am tiered of building forms just to have to go though and grab every name and slowly and pain fully build the php part. what i would like to do is …

Member Avatar for itisnot_me
0
73
Member Avatar for brechtjah

Hi So... I've been reading up a little bit about cookies and security. Only to find that you should encrypt the data in them and that they can be hacked by using javascript code. Is this really the only way to hack/steal cookies? In my quest to create a safe …

Member Avatar for blocblue
0
122
Member Avatar for dipakxyz

Hi, i am generating html to pdf using [code] require('html2fpdf.php'); $pdf=new HTML2FPDF(); $dummy='<html><head> <style> .text11 { font-family: Arial, Helvetica, sans-serif; font-size: 11px; color: #434450; text-decoration: none; font-weight: bold; } .text111 { font-family: Arial, Helvetica, sans-serif; font-size: 12px; color: #AE4506; text-decoration: none; font-weight: bold; } .text122 { font-family: Arial, Helvetica, sans-serif; …

Member Avatar for chrishea
0
505
Member Avatar for csharplearner

Hi, I want user to record his voice and save it in website. I could not figure out how the connection can be established between microphone on user pc and website. I have googled enough but could not find any useful leads. Anyone who has some knowledge over it please …

Member Avatar for csharplearner
0
107
Member Avatar for madristaa

Hello Friends, I have a very simple table which contains 5 rows having 4 columns. The columns are label, Dropdown menu, Texbox, Textarea respectively Suppose the student enters 2 rows than it shuld go in the datbase like id | student_id | local/central | duties | skills -------------------------------------- 1 | …

Member Avatar for HITMANOF44th
0
81
Member Avatar for ADVAD

Hi My following php code keeps giving me Undefined Offset errors: The code is: [code] <table border="1"> <tr> <th>Tile </th> <th> Email</th> <th> Publication No. </th> <th> Submitted By: First Name </th> <th> Submitted By: Last Name </th> <th> File Name </th> </tr> <tr> <?php if(!($lines=file('publication.txt'))) {echo 'Error:Unable to open …

Member Avatar for ADVAD
0
139
Member Avatar for ticallian

I'm trying to create an array to display the last 5 products a customer has viewed. The array is a 2 dimensional array like below... $RView= array( array( ID => "1001", RefCode => "Ref_01", Name => "Name_01" ), ... array( ID => "1005", RefCode => "Ref_05", Name => "Name_05" ) …

Member Avatar for ticallian
0
190
Member Avatar for jakesee

In a data/view architecture or template engine, should HTML forms be part of view or data? I tried several methods to separate HTML form design and form names (variables) but seem like a chicken and egg problem. is it common that the view designer must know all the form names …

0
67
Member Avatar for justted

Hello, I have a website which uses a session and then also creates a number of cookies. My knowledge of both sessions and cookies isnt great so I was wondering if anyone may know the reason for my problem .... Sometimes when I log into the site it allows access …

0
68
Member Avatar for csharplearner

Hello all, I work on MySQL and i have knowledge about it. I have no idea of what Apache is? I googled and came to know just like MySQL it is also a Web Server and nothing more about it. When people ask me if i have experience with Apache?! …

Member Avatar for csharplearner
0
272
Member Avatar for starsinthesky

hi, i have a hard time testing my PHP mail() function in the localhost. can you teach me? it's my first time to use this mail() function. this is my PHP code in the file: contact.php [code] <?php $email_to = $_REQUEST['email_to']; $subject = "Re: FAQ Suggestion"; $email = "d26thletter@yahoo.com"; $message …

Member Avatar for nhocikaka
0
2K
Member Avatar for aran87

Hello im new to the world of php, ive been designing a webpage in ma spare time and ive got to a stage where im stuck its basically ticking checkboxes and inserting them into the next page somehow using the $post method not sure how to do it. But the …

Member Avatar for coboldeveloper
0
157
Member Avatar for masocha
Member Avatar for sch_bern
0
127
Member Avatar for marjan_m

Hi, Please guide me about embedding google map api in the site page. I need to show map for different locations which are stored in DB. I got the API key but dont know how to implement it. Thanks for your time.

Member Avatar for marjan_m
0
131
Member Avatar for shahzad429

Hey every one. i am new in php. i know how to select, edit, add, delete data from database and show it in html table. before i was doing this using 4 php pages each for every one. but today i got an assignment that i have to display data …

Member Avatar for shahzad429
0
116
Member Avatar for mostafanageeb

I am now making a content management system for my site and I made a form that adds a new task to the database but I want this form to enable multiple users to this task I user select tag and allowed multiple choice but when I click submit I …

Member Avatar for cwarn23
0
60
Member Avatar for Josh Connerty

Hello, I have been working on some scripts for a forthcoming site and I have run across an issue. The issue being that when uploading large files (60Mb + ) will only be validated after they have finished being uploaded to a temporary directory. As you could probably imagine this …

Member Avatar for cwarn23
0
5K
Member Avatar for abazoskib

[CODE]<?php //set where you want to store files //in this example we keep file in folder upload //$HTTP_POST_FILES['ufile']['name']; = upload file name //for example upload file name cartoon.gif . $path will be upload/cartoon.gif $path= "/home/content/a/b/a/abazoskib/html/snapit/photos/".$_FILES['ufile']['name']; if($ufile !=none) { if(copy($_FILES['ufile']['tmp_name'], $path)) { echo "Successful<BR/>"; //$HTTP_POST_FILES['ufile']['name'] = file name //$HTTP_POST_FILES['ufile']['size'] = file …

Member Avatar for nav33n
0
250
Member Avatar for cloudedvision

I call this an imaginary error, because the code that causes is never run, and it does not report an error, but the functionality breaks. I'm developing a PHP framework. I have a debugger that writes lines to the a file throughout the execution of the framework. I noticed today …

Member Avatar for cwarn23
0
112
Member Avatar for dreamluverz

How can you pass values from nonpc games like xbox, psp, etc to webservers? I heard you can do it via xml? And how about posting values like POST? Is it also possible?

Member Avatar for Will Gresham
0
95

The End.