Forum: PHP 10 Hours Ago |
| Replies: 3 Views: 80 also, just FYI, http://www.php.net/manual/en/function.array-intersect-assoc.php
array_intersect_assoc() |
Forum: PHP 12 Hours Ago |
| Replies: 2 Views: 86 I didn't test it, but this should work just fine
<?php
//connect
mysql_connect("","","") or die(mysql_error());
mysql_select_db("") or die(mysql_error()); |
Forum: PHP 14 Hours Ago |
| Replies: 3 Views: 80 I wrote a similar function (i think it's kind of what yer looking for) for work. Yer welcome to modify it. Just change the return part to build a new array of common elements. There might be a... |
Forum: PHP 14 Hours Ago |
| Replies: 6 Views: 135 -move to a host that supports cron or task manager
-try system command and see if that will work for you
or
-use a different server to process what you need to run that does support... |
Forum: PHP 15 Hours Ago |
| Replies: 1 Views: 65 cURL is used for getting and submitting web pages/forms from within code (php)
xmlrpc is for making calls to a server for remote functions (so you have 1 copy of code, not many), much like SOAP... |
Forum: PHP 17 Hours Ago |
| Replies: 1 Views: 82 AFAIK there's a few ways to do this.
pay for a service for true SMS.
use emails where available like 9895551212@tmomail.net
... |
Forum: PHP 17 Hours Ago |
| Replies: 7 Views: 133 lol! i was thinking the same. |
Forum: PHP 18 Hours Ago |
| Replies: 7 Views: 133 I've never been 1 to read everything!
besides he COULD be wineing apache ;) |
Forum: PHP 19 Hours Ago |
| Replies: 7 Views: 133 What OS are you running? Windows? Linux? Sounds to me like PHP isnt installed. |
Forum: PHP 1 Day Ago |
| Replies: 2 Views: 96 I use http://php.net/manual/en/function.mcrypt-encrypt.php and decrypt to encrypt URL variables |
Forum: PHP 1 Day Ago |
| Replies: 6 Views: 135 http://en.wikipedia.org/wiki/Cron |
Forum: PHP 1 Day Ago |
| Replies: 5 Views: 188 You could use cURL and submit the csv to the web server via a form. curl is C++ and php |
Forum: PHP 1 Day Ago |
| Replies: 6 Views: 135 a couple ways to do this would be to
1) Good way: Call a system command with php http://php.net/manual/en/function.system.php
2) Better way: Save a file to the server in your php script. Have... |
Forum: PHP 1 Day Ago |
| Replies: 4 Views: 130 Here you go. I'll let you do the decode part
<?php
for($i=1;$i<100;$i++)
{
echo $i. " ".convertNumtoLetter($i)."\n";
}
function convertNumtoLetter($in)
{ |
Forum: PHP 6 Days Ago |
| Replies: 4 Views: 208 $sqlarray should be an array of zip codes. the result of your previous query. For testing and playing pursposes, you could manually make an array like:
$sqlarray = array... |
Forum: PHP 6 Days Ago |
| Replies: 4 Views: 208 this should work
$sql = "SELECT * FROM zipcodedb WHERE ";
$count = count($sqlarray);
$x =1;
foreach ($sqlarray as $zipcode)
{ |
Forum: PHP Aug 18th, 2009 |
| Replies: 2 Views: 273 http://www.zubrag.com/scripts/website-thumbnail-generator.php |
Forum: PHP Aug 2nd, 2009 |
| Replies: 1 Views: 495 this line should call the form like so
<td colspan="2" align="center" valign="middle"><span class="style11"><a href="#" onclick="document.forms[0].submit();">Enter Maze</a> </span></td> |
Forum: PHP Jul 29th, 2009 |
| Replies: 14 Views: 481 is your web server that you are running the script on have an SMTP server for mail? I addressed this in my first response in this thread |
Forum: PHP Jul 29th, 2009 |
| Replies: 14 Views: 481 you can, however I dont think that it's doing what you want. Maybe it is.
$_GET is the response from a previous HTML request. http://www.w3schools.com/PHP/php_get.asp
to get the value from a... |
Forum: PHP Jul 28th, 2009 |
| Replies: 0 Views: 413 Anyone know of a way using php (no shell_execs), to convert a pdf to an image type of png, jpg,gif, or tif?
In my existing app we are shelling out using ghostscript, pdftk, etc, and would like to... |
Forum: PHP Jul 28th, 2009 |
| Replies: 14 Views: 481 you could use a GET method like you are doing. But I wouldnt suggest using email as one of your variables as hackers will eventually find your site and use it as spam.
You could use ID and send... |
Forum: PHP Jul 28th, 2009 |
| Replies: 14 Views: 481 I'm not really sure I'm understanding your question, but I'll give it a shot :)
you have information coming from your database.
that's the email address.
the row returned from the... |
Forum: PHP Jul 28th, 2009 |
| Replies: 14 Views: 481 <html>
<head>
</head>
<body>
<?php
if(isset($_POST['ID'])){
$con = mysql_connect("localhost","t","123456");
if (!$con)
{
die('Could not connect: ' . mysql_error()); |
Forum: PHP Jul 16th, 2009 |
| Replies: 1 Views: 288 $friendsname = $_GET['friend'];
echo "Hi ".$friendsname";
http://us3.php.net/manual/en/reserved.variables.get.php
I would then add it as a hidden variable in your form.
echo '<input... |
Forum: MySQL Jul 14th, 2009 |
| Replies: 1 Views: 289 nevermind. figured it out
select * from surcharge_table_fd where (market_type_bit_value & '0000000000000010')::int <> 0 |
Forum: MySQL Jul 14th, 2009 |
| Replies: 1 Views: 289 Pardon this post here as I didn't see any Postgres forum.
I have a table with a 16 length bit value.
Can someone please help me how I do the where clause on my select?
example data for... |
Forum: PHP Jul 13th, 2009 |
| Replies: 7 Views: 400 in your footer class add these
margin-left:auto;
margin-right:auto; |
Forum: PHP Jul 13th, 2009 |
| Replies: 2 Views: 222 phpbb
geeklog
are 2 of mine.
www.hotscripts.com is a decent site. |
Forum: PHP Jul 13th, 2009 |
| Replies: 7 Views: 400 actually the text is centered in the tag, just the tag isnt centered.
either center that div or move the footer div within the page ID |
Forum: PHP Jul 13th, 2009 |
| Replies: 7 Views: 400 shoot. you are right. I missed that. Hrmmm. I use "web developer" plugin for firefox. that footer doesnt have a style attached to it for some reason. it's not seeing the css for that ID. But... |
Forum: PHP Jul 13th, 2009 |
| Replies: 7 Views: 400 the proper way would be to use CSS text-align: center;
http://www.google.com/search?q=css+text-align%3A+center%3B&ie=utf-8&oe=utf-8&aq=t&rls=com.ubuntu:en-US:unofficial&client=firefox-a |
Forum: PHP Jul 13th, 2009 |
| Replies: 6 Views: 436 Well, then it sounds like you want mod_rewrite
http://httpd.apache.org/docs/1.3/mod/mod_rewrite.html
http://www.sitepoint.com/article/guide-url-rewriting/ |
Forum: PHP Jul 13th, 2009 |
| Replies: 6 Views: 436 should have left it bro. always good to see multiple solutions :) |
Forum: PHP Jul 13th, 2009 |
| Replies: 1 Views: 186 This will run the pict command and any results from pict will be in the $result variable.
$cmd = "pict (insert args here)";
$result = shell_exec ($cmd); |
Forum: PHP Jul 13th, 2009 |
| Replies: 6 Views: 436 this should work for you. You can build upon this.
It will call itself and allow the variables to be retrieved
<?php
if (isset ($_REQUEST['cat_name']))
{
//do something here
} |
Forum: PHP Jul 10th, 2009 |
| Replies: 5 Views: 345 everything you need ;)
http://us3.php.net/manual/en/function.preg-match.php
... |
Forum: PHP Jul 10th, 2009 |
| Replies: 5 Views: 345 you could have a necessary library needed to run the scripts. Put the core code in it. And in the library regex for your copyright line. Then obfuscate the library. Most people with the skill to... |
Forum: PHP Jul 10th, 2009 |
| Replies: 5 Views: 281 There's a lot of good ones. Some good ones might not fit your needs. Someone broke them down a bit and this should help you.
http://www.phpframeworks.com/ |
Forum: PHP Jul 9th, 2009 |
| Replies: 5 Views: 385 I use netbeans. works on any OS. it's free and does everything you'd want. |