| |
thread by: myGoogle71 |
last post Dec 9 '07 by: Jerry Stuckle
Hi,
I have to import hundreds of file to MySQL database. Is it
possible to write a script/storedprocedure in MySQL that does this
without manually doing it for each file.
Say file names are of type 'file0001.txt', 'file0002.txt' etc. Does
MySQL provide any such utility or does anyone know of a free utility?.
If not then what is best language...
|
thread by: gipsy |
last post Dec 9 '07 by: Atli
Hello,
I know that you guys are familiar with this, but I tried almost every solution I googled, but no chance getting it wroked, here is the error.
and here is the sessiondata.php lines, that have the error.
if ($sessionFileDir != "") {
|
thread by: raaman rai |
last post Dec 9 '07 by: Atli
Hi guys, i installed WAMP Server 2 yesterday but i waz surprised to see that the following code doesnt work.
Today is <? print strftime("%m/%d/%Y"); ?>
The output is just: Today is
If i use the proper php tag i.e <?php ?> it works but what i feel is that php5 files do not have the <?php ?> style. So, whats the problem???
|
thread by: zach |
last post Dec 9 '07 by: Paul Lautman
Can someone help me out, I can't figure out what I'm doing wrong to
write to a file in binary mode.
What's wrong with my code?
<?php
$fileName = "something.dat";
$string = "This is a string of text";
|
thread by: FFMG |
last post Dec 9 '07 by: FFMG
Hi,
I want to add a link around images to add the lighbox JS.
(http://www.huddletogether.com/projects/lightbox/)
I need to look for <img ... /and wrap a <a href=... around it.
But the regex is a bit out of my depth here.
1- How do I know the link of the image, (because I need it for the
anchor)
|
thread by: beary |
last post Dec 9 '07 by: beary
Hi there,
I've just searched for 40 minutes (39 longer than normal) for some php spellchecker code that works exactly like the one in this text box (underlining misspelled words in red) as I type. Can anyone point me in the direction of one? Please?
|
thread by: Kim G |
last post Dec 9 '07 by: Kim G
Hi.
I am having some trouble with a recursive function that displays a
menu. In my database I have two fields that matters: page_id and
parent_id. Displaying the menu correctly is not a problem, but I need
it to expand the subpages of a parent page only when the user is
reading the parent page of a set of subpages, or one of the subpages,...
|
| |
thread by: alexandis |
last post Dec 9 '07 by: Jerry Stuckle
I run some remote binary with php script in background. The binary
creates some big files - a lot of files, they are being written 2
days, one after another, by chunks.
I output window where I display a list of these files by another php
script. I must show only those of them that are COMPLETELY DONE. How
can I do this?
I don't have...
|
thread by: kstampo |
last post Dec 8 '07 by: kstampo
Well, I face the following problem:
I read a csv file form disk as follows:
$fini= file($fileall); where $fileall is the filename...
Afterwards, I want to delete a 'record' and therefore I'm using the
following:
$fnew=fopen($fileall,"w");
$row=0;
foreach ($fini as $line)
|
thread by: w33nie |
last post Dec 8 '07 by: pbmods
What I'm trying to do here, is upload a video to the ../video/ folder, and up to 5 images to the ../images/ folder. As well as the database information like title, content and each file's file information.
But I really have no idea how to do this. The whole move_uploaded_file part is obviously wrong, but I'm not sure where to go from here to...
|
thread by: djmeltdown |
last post Dec 7 '07 by: djmeltdown
I'm having trouble getting a foreach() loop to insert a record into a MySQL Database. Which I've never had any trouble before, it just seems quirky.
I've tried the mysql_query statement without a preceeding variable as well.
System information
Server
Apache/2.2.4 (Win32) DAV/2 mod_ssl/2.2.4 OpenSSL/0.9.8e mod_autoindex_color PHP/5.2.3 ...
|
thread by: mantrid |
last post Dec 7 '07 by: mantrid
I am using fopen() and fgetcsv() to open an excel file and extract data for
upload to mysql database. The doesnt seem to be a parameter in either of
these functions for ommitting the first row of the excel file. I am
currently using While ...... statement to read the rows and do things with
them. Can I ommit the first line without replacing...
|
thread by: clai83 |
last post Dec 7 '07 by: clai83
Hi all. I've finally submitted to asking for online help. I been trying to do it on my own, but it seems like I've hit a really hard rock.
I have a function that looks like this
function validusername($username, $pattern = "/^(?!.*{2}){4,36}$/") {
if ( (strlen($username) < 6) || (strlen($username) > 40) || (!preg_match($username,...
|
thread by: Pseudonyme |
last post Dec 7 '07 by: Pseudonyme
Dear All :
Ever had an httpd error_log bigger than the httpd access log ?
We are using Linux-Apache-Fedora-Httpd 2006 configuration.
The PHP lines code that lead too tons of errors are :
$http_ref= $HTTP_REFERER;
$prog = $_COOKIE;
|
thread by: olddocks |
last post Dec 7 '07 by: Markus
i am planning to code a script in php for bookmarking. how to pull title and description from a given URL?
Is there special functions exist within PHP?
|
| |
thread by: mtuller |
last post Dec 7 '07 by: Rik Wasmus
I am pulling a list of names from a mysql table and then display the
results with this:
while ($names_row = $names_result->fetch_assoc())
{
echo '
<tr>
<td>'.$names_count.'</td>
<td>'.$names_last_name.'</td>
<td>'.$names_first_name.'</td>
|
thread by: j.wendelmuth |
last post Dec 7 '07 by: jeanmarie78
Hi,
i have a problem with PHP sessions. The problem only occurs on one
machine (PHP v5.2.4 incl. mod_security). On another one (PHP v5.2.0 no
mod security) my application works fine.
Here's the precondition:
I have 2 PHP applications, A and B. Both on a seperate server/machine.
A perfoms via SoapClient a request on B, where a Soap...
|
thread by: samit |
last post Dec 7 '07 by: Markus
I have tried too much to get a code to integrate drag and drop tree structure in my php program with database support. Please help me
|
thread by: TechnoAtif |
last post Dec 7 '07 by: TechnoAtif
<?php
include "dbconnect.php";
include "commonFunc.php"; ?>
<!---------------------------------->
<table width="80%" border="1" cellpadding="2" cellspacing="0">
<tr >
<td colspan="2"><p>
|
thread by: Vladimir Ghetau |
last post Dec 7 '07 by: Toby A Inkster
Hi guys,
I've been searching for SCM classes that handle source code for
different apps using PHP.
For SubVersion, I've found the PEAR package called VersionControl_SVN
which works pretty well.
Now, I'm trying to find something similar for CVS, has anyone tried to
implement such package in PHP, or I should start coding? After some
|
thread by: vellyna |
last post Dec 7 '07 by: karthickkuchanur
how to appear path file name?
for example, i have select "books" from list, then i browse the file..
after browse the file, i want to appear the path file name that will save the file in a folder after browsed.
then, how i want to save the file in a folder but not database?
help me pls......
|
thread by: Hamayun Khan |
last post Dec 7 '07 by: code green
Hi
I am using Bable fish for translating my site from english to greek. Every thing goes ok. but when I press submit button on any page to post data to server the form goes empty. I don't know what to do. I need some help.
Thanks.
|
thread by: backups2007 |
last post Dec 7 '07 by: code green
I want to be able to create a popup window that opens everytime a user logs in. And that window displays all the status of the forms that the user has filled up. I have 3 types of form status. Cancelled, pending, and finished. I want to be able to sort them by date created and by the total number of cancelled and pending forms. How should I do it?
|
| |
thread by: PHPSplashBoard |
last post Dec 7 '07 by: Rik Wasmus
PHP resource site update news letter 02-12-2007
- Job section is completely rewritten and now the site shows PHP
jobs
from various job portals. PHP jobs http://www.phpsplashboard.com/php_jobs.php
- New PHP5 test posted for Intermediate level users I-PHP5-Test1
http://www.phpsplashboard.com/free-php-tests.php
- News and events, PHPclasses...
|
thread by: Barathi |
last post Dec 7 '07 by: Barathi
Hey, did you know that saying "thank you" regularly is a good way
to add tons of romance to your relationship? It's true! Showing your
appreciation to your significant other is an important part of
making
them feel special, and there are few better ways to show your lover
how much they mean to you than a simple "thank you."
...
|