I'm trying to get TinyMCE to work. I've tried it using the normal method of including tiny_mce.js and then using tinymce.init(...) and it works. I then tried tiny_mce.gzip.js + php compressor and it worked but it was really slow.
Now I already package up my CSS and JS files into one of each with all my files concatenated together. In th...
is an fms server necessary while using flash media player?
how does one do http streaming using flash player?
...
Hi
Recently I've faced such problem.
I'm working on the application, in which logging is very important.
By logs in that application I mean the messages, like
User A(id=x) has created invoice(invoice # is XXX) (1)
User B(id=y) has purchased the book (2)
User A(id=x) has approved invoice XXX (3)
(1) and (3) are messages of one part...
Hi,
How do I add a link that would let user change their Gravatar on my site?
(The same way you can change your Gravatar on Wordpress)
Thanks,
Kenneth
...
i have a local apache web server... i want to send a text file in the local host to the client..
...
Hi,
I am using smarty gettext plugin to internationalize smarty templates on windows.
But when I run the command tsmarty2c.php c file is created but the strings are not in the file.C file is empty.
I am using PHP 5.2.9 and smarty gettext plug in version is v 1.1.Any help is appreciated.
...
Hi,
I'm looking for a simple-to-learn php framework for an application that is being migrated from Access to PHP. The application has lots of forms (sometimes 50+ fields per page), and lots of the fields are inter-dependent (ie, you change one field, it updates some other fields or options).
Is there any good php framework for this? I ...
When im trying to connect to an Exchange 2007 server over IMAP in PHP5 I get the following error message.
Kerberos error: No credentials cache found (try running kinit) for smtp.domain01.net
I was wondering if somebody found a way around this issue?
Related info:
http://bugs.php.net/bug.php?id=33500
...
I've got two sets of four dropdowns - startDate,startMonth,startYear,startTime (as 24.00) and the same for endDate/Time - for user to select a start date/time and an end date/time, but don't know how to get the selected values into a datetime format to use in a recordset query using javascript or preferably php(5).
I know I need to comb...
So recently I learned how to properly add a username and password to a database.
My database is usersys, and the table storing user information is called userdb. The table has two columns - username (primary), password.
The registration form works great, enters the users input into the database correctly and also checks to see whether t...
Hi,
Which is the equivalent of mysql_data_seek using pdo objects?
Can you give me an example?
Thanks!
...
I login in my system and set a cookie this way:
setcookie("hello",true,time()+3600);
Then I look in the cookie manager of firefox and see that my cookie is set.
When I restart my browser and restart I see in the cookie manager that the cookie is ther but this code:
if(isset($_COOKIE['hello'])){
echo "yes"; exit;}
I don't...
Hi All,
I'm wishing to aggregate some Blog feeds into an existing PHP-based website. There's tons of free libraries for PHP that consume RSS feeds. But I thought I'd throw out my needs to see if I can get the number to try minimized to one that's popular.
1) I'm wishing to aggregate some top items from up to 3 different RSS feeds i...
When I want to remove a Cookie I try
unset($_COOKIE['hello']);
I see in my cookie browser from firefox that the cookie still exists. How can I really remove the cookie?
...
I'm about to start creating a new website that has standard user management (customers login and handling (change customer details etc) + my own functionality. I'm looking for the most efficient way to do it. I know PHP/CSS/Jquery quite well.
I have looked into Drupal as a starting point and found it too cumbersome for my needs.
CodeIg...
Hi I'm starting out on php and I have the following script
<?php
$username = "firstleg_floa";
$password = "**";
$hostname = "***1";
$db = "firstleg_bank";
$guildUser = strtolower('grissiom');
$dbh = mysql_connect( $hostname, $username, $password) or die ("Unable To Connect");
$connectDB = mysql_select_db($db, $dbh);
$results = mysql_q...
This question Is a result of various questions I had today about cookies.
As you know it's not save to handle the login process with cookies.
But how can I set a cookie when I am logged in and to be automatically loggedon when I restart my browser?
If I redirect based on the existense of the cookie this is dangerous as someone els...
Here's the script that's builds/sends the email:
$boundary = md5(date('U'));
$to = $email;
$subject = "My Subject";
$headers = "From: [email protected]" . "\r\n".
"X-Mailer: PHP/".phpversion() ."\r\n".
"MIME-Version: 1.0" . "\r\n".
"Content-Type: multipart/alternative; boundary=--$boundary". "\r\n".
"Content-T...
I know there is not a direct way to take a screen shot of a web page with PHP. What would be the most straightforward way to accomplish this? Are there any command line tools that could do this that I might be able to execute from a PHP script (I'm thinking something that would run in a 'NIX OS (OS X and/or Linux in particular)?
Edit: ...
This is a snippet from my index.php page, where I'm displaying a menu with three HTML links.
Selecting a menu item defines the page parameter, which the PHP templating logic then loads, populating into <div id="main">.
<div class="span-24" id="menu">
<table>
<tr>
<td><a href="index.php?page=races">Races</a></td>
<td>...