TalkPHP
 
 
Account Login
Latest Articles
» The basic usage of PHPTAL, a XML/XHTML template library for PHP
» Vulnerable methods and the areas they are commonly trusted in.
» Simple way to protect a form from bot
» The Basics On: How Session Stealing Works
» How to keep your forms from double posting data
IRC Channel
IRC Speech Bubble Join the friendly bunch on IRC...
(#TalkPHP on Freenode)

...Also available via a web interface.

See this thread for information on the TalkPHP Free Hugs Initiative™. Subject to availability.
Associates
Associates
CSS Tutorials
Showing results 1 to 25 of 36
Search took 0.02 seconds.
Search: Posts Made By: jcorradino
Forum: Advanced PHP Programming 08-27-2009, 08:42 PM
Replies: 11
Views: 5,921
Posted By jcorradino
If you are looking to do what I think you want to...

If you are looking to do what I think you want to do, you cant. Once the javascript is running, the php is already completed its job, and cannot be accessed again unless you use an AJAX call or...
Forum: General 07-26-2009, 03:16 AM
Replies: 1
Views: 1,012
Posted By jcorradino
never used it, but why not learn a little bit of...

never used it, but why not learn a little bit of programming. Inputting form data is one of the easiest jobs one can do with php ;)

From a programming point of view, the select box is referenced...
Forum: Absolute Beginners 07-26-2009, 03:07 AM
Replies: 1
Views: 1,455
Posted By jcorradino
ok, it seems that you are getting something like...

ok, it seems that you are getting something like yourwebsitehere.com/index.php?category=fu&product=bar, but you would rather have yourwebsitehere.com/fu/bar/.

The easy way to do this would be...
Forum: General 07-10-2009, 02:56 AM
Replies: 19
Views: 2,020
Posted By jcorradino
php is indeed a great language, but as has been...

php is indeed a great language, but as has been said already... there are better ones. The one MAJOR flaw of PHP is the inability to compile and cache without hacks. I do, however, have to say that...
Forum: General 07-10-2009, 02:52 AM
Replies: 5
Views: 756
Posted By jcorradino
what was said above is what is most likely...

what was said above is what is most likely causing it. I have seen this happen before, and if you are properly cleaning inputs, then I would guess that it is the fault of a web host vulnerability.
Forum: General 06-12-2009, 02:12 PM
Replies: 3
Views: 1,182
Posted By jcorradino
you could most likely print_r($rs) to see what...

you could most likely print_r($rs) to see what exactly is being set. So like this:

<?php

function ShowOneRSS($url) {
global $rss;
if ($rs = $rss->get($url)) {
print_r($rs);
...
Forum: General 06-12-2009, 04:25 AM
Replies: 3
Views: 1,182
Posted By jcorradino
this is untested, but it should work (or at least...

this is untested, but it should work (or at least get you closer to where you need to be). I set it up to use an output buffer to decide whether or not to display the list tags, and then to display...
Forum: Absolute Beginners 06-12-2009, 04:05 AM
Replies: 2
Views: 691
Posted By jcorradino
I know for sure that the easiest ways are to...

I know for sure that the easiest ways are to either rewrite the file or concatenate the information into the file. I would assume that what you are looking for is possible, I would just need to...
Forum: Advanced PHP Programming 06-07-2009, 04:08 PM
Replies: 11
Views: 5,921
Posted By jcorradino
<script type="text/javascript" charset="utf-8"> ...

<script type="text/javascript" charset="utf-8">
var response=null;
//This is to be the data you are passing through the AJAX call, replace "your passed data"
var param="your passed data"
//This...
Forum: XHTML, HTML, CSS 05-03-2009, 06:16 PM
Replies: 8
Views: 1,017
Posted By jcorradino
Actually, that is not the case in this instance. ...

Actually, that is not the case in this instance. The images are applied as a background on the body (as a 2609x599 px image), and in the "ne-center" div inside of the navigation (as a 980x548 px...
Forum: XHTML, HTML, CSS 05-03-2009, 04:54 PM
Replies: 8
Views: 1,017
Posted By jcorradino
oh sorry! I thought you were talking about the...

oh sorry! I thought you were talking about the lightbox effect the page has set up... I didnt even see the background...

That is simple, all that is is multiple divs making up the background. The...
Forum: XHTML, HTML, CSS 05-03-2009, 05:00 AM
Replies: 8
Views: 1,017
Posted By jcorradino
cool, css would be a pretty quick solution to it...

cool, css would be a pretty quick solution to it as well :)

how does it work with IE6? IE6 always seems to have an issue with positioning (well... anything you throw at it, it sometime seems)
Forum: XHTML, HTML, CSS 05-03-2009, 04:48 AM
Replies: 8
Views: 1,017
Posted By jcorradino
that would be javascript, not php var w =...

that would be javascript, not php


var w = screen.width;
var h = screen.height;
document.getElementByID('hiddendiv').style.width=w;
document.getElementByID('hiddendiv').style.height=h;


I would...
Forum: Member Introductions 04-27-2009, 04:10 AM
Replies: 10
Views: 595
Posted By jcorradino
<?PHP $welcome1 = "hello"; $welcome2 = ", "; ...

<?PHP
$welcome1 = "hello";
$welcome2 = ", ";
$welcome3 = "and ";
$welcome4 = "welcome! ";
$welcome5 = "Please ";
$welcome6 = "feel ";
$welcome7 = "free ";
$welcome8 = "to ";
...
Forum: The Lounge 04-26-2009, 04:17 AM
Replies: 5
Views: 574
Posted By jcorradino
SynergyKM is a app that will handle all of the...

SynergyKM is a app that will handle all of the synergy stuff on your mac. Install, set up using the gui, and enable (can even add a synergy icon in your taskbar)

Not that heavy, just some JSP error...
Forum: The Lounge 04-26-2009, 03:20 AM
Replies: 5
Views: 574
Posted By jcorradino
I LOVE synergy, I use it at work to go between my...

I LOVE synergy, I use it at work to go between my Mac and Windows machines. Are you using...
Forum: General 04-10-2009, 04:34 AM
Replies: 6
Views: 476
Posted By jcorradino
you could always try a rewrite rule RewriteRule...

you could always try a rewrite rule

RewriteRule http://(.*).yoururl.com http://www.yoururl.com/username=$1

just set your httpd.conf file as so (if it is your server, if not, your host can most...
Forum: Absolute Beginners 04-05-2009, 07:10 AM
Replies: 5
Views: 1,086
Posted By jcorradino
wow, that is actually pretty good. I have never...

wow, that is actually pretty good. I have never worked with php image processing other than captchas. Honestly, I didnt even know you could do color matching using php, I would have always done it...
Forum: General 04-05-2009, 06:58 AM
Replies: 11
Views: 1,184
Posted By jcorradino
PHP is a good starter language, it teaches you...

PHP is a good starter language, it teaches you about programming languages and whatnot. Java is a good professional language to wrap your head around.

If you are sticking with web programming, PHP...
Forum: Advanced PHP Programming 04-05-2009, 06:27 AM
Replies: 11
Views: 5,921
Posted By jcorradino
as said above, JavaScript ≠ Java in any way shape...

as said above, JavaScript ≠ Java in any way shape or form.

Anyway, the only way to pass any user information (JavaScript data is considered user data in this case, since all JavaScript is...
Forum: General 12-05-2008, 02:46 AM
Replies: 4
Views: 604
Posted By jcorradino
Views on transferring code ownership

What are your views on transferring the code ownership to the client after the project is finished. I can see possible problems with this. First of all, the misconception that the client actually...
Forum: General 10-30-2008, 01:37 PM
Replies: 2
Views: 5,932
Posted By jcorradino
found it - Creating a Store Locator with PHP,...

found it - Creating a Store Locator with PHP, MySQL & Google Maps - Google Maps API - Google Code (http://code.google.com/apis/maps/articles/phpsqlsearch.html#createtable)
Forum: General 10-26-2008, 05:59 AM
Replies: 2
Views: 5,932
Posted By jcorradino
so... no ideas?

so... no ideas?
Forum: General 10-23-2008, 06:39 PM
Replies: 2
Views: 5,932
Posted By jcorradino
Google Maps API to calculate distance between zips? (solved)

Anyone know how to accomplish this feat?

I am trying to calculate the distance between one zip code and another (for a store locater). You can see it working here: Ligo Products - Quality Imported...
Forum: Advanced PHP Programming 10-15-2008, 09:52 PM
Replies: 6
Views: 655
Posted By jcorradino
A little bit of code that needs critiquing

what do you guys think:


class sql {
var $host = 'host';
var $user = 'username';
var $pass = 'password';
var $db = 'database';
var $link;
var $sql;
Showing results 1 to 25 of 36

 

All times are GMT. The time now is 12:42 AM.

 
     

Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0
Inactive Reminders By Icora Web Design